From 0fad0924e945bbf7ae24b3b23cbb722311374f5b Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Thu, 4 Mar 2021 16:26:50 -0800 Subject: [PATCH 01/13] Revert "Revert "Add tests for new Copy/Update-LongTermRetentionBackup (#19040)" (#19205)" This reverts commit 85e2a5b786f03bf67ff93346b4b763dcb37660fc. --- .../mgmtmetadata/sql_resource-manager.txt | 10 +- .../src/Generated/DatabasesOperations.cs | 24 +- .../ILongTermRetentionBackupsOperations.cs | 380 ++++- .../ILongTermRetentionPoliciesOperations.cs | 175 ++ .../src/Generated/ISqlManagementClient.cs | 20 +- .../LongTermRetentionBackupsOperations.cs | 1400 ++++++++++++++-- ...ermRetentionBackupsOperationsExtensions.cs | 768 +++++++-- .../LongTermRetentionPoliciesOperations.cs | 888 +++++++++++ ...rmRetentionPoliciesOperationsExtensions.cs | 263 +++ .../Models/BackupStorageRedundancy.cs | 23 + .../CopyLongTermRetentionBackupParameters.cs | 106 ++ .../Models/CurrentBackupStorageRedundancy.cs | 23 + .../src/Generated/Models/Database.cs | 29 +- .../src/Generated/Models/DatabaseState.cs | 23 + .../src/Generated/Models/DatabaseUpdate.cs | 29 +- .../Models/LongTermRetentionBackup.cs | 24 +- .../LongTermRetentionBackupOperationResult.cs | 112 ++ .../Models/LongTermRetentionPolicy.cs | 90 ++ .../RequestedBackupStorageRedundancy.cs | 23 + .../Models/TargetBackupStorageRedundancy.cs | 23 + ...UpdateLongTermRetentionBackupParameters.cs | 60 + .../Generated/SdkInfo_SqlManagementClient.cs | 17 +- .../src/Generated/SqlManagementClient.cs | 58 +- .../src/Microsoft.Azure.Management.Sql.csproj | 4 +- .../tests/DatabaseCrudScenarioTests.cs | 4 +- .../tests/DatabaseLongTermRetentionTests.cs | 106 ++ .../tests/DatabaseRestoreScenarioTests.cs | 11 +- .../TestCopyDatabase.json | 1416 ++++++++++------- .../TestGetAndListDatabase.json | 1014 ++++++------ .../TestCopyLongTermRetentionBackup.json | 452 ++++++ .../TestUpdateLongTermRetentionBackup.json | 392 +++++ .../Utilities/SqlManagementTestUtilities.cs | 4 +- 32 files changed, 6344 insertions(+), 1627 deletions(-) create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ILongTermRetentionPoliciesOperations.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionPoliciesOperations.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionPoliciesOperationsExtensions.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/BackupStorageRedundancy.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/CopyLongTermRetentionBackupParameters.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/CurrentBackupStorageRedundancy.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionBackupOperationResult.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionPolicy.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/RequestedBackupStorageRedundancy.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/TargetBackupStorageRedundancy.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/UpdateLongTermRetentionBackupParameters.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseLongTermRetentionTests.cs create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestCopyLongTermRetentionBackup.json create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestUpdateLongTermRetentionBackup.json diff --git a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt index 7db8cbbd1128..cd1afefb3768 100644 --- a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt @@ -3,12 +3,12 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=. -2021-01-26 04:14:56 UTC +cmd.exe /c autorest.cmd https://github.com/xaliciayang/azure-rest-api-specs/blob/20201101swagger/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\src\azure\azure-sdk-for-net\src\Sdks +2021-02-26 22:54:25 UTC Azure-rest-api-specs repository information -GitHub fork: Azure -Branch: master -Commit: 4d91da06bf655dc1d61a420e7510778eab1609d8 +GitHub fork: xaliciayang +Branch: 20201101swagger +Commit: 472b1de1c7cd7ac841afc0f90d8d3da5f1490e77 AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/DatabasesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/DatabasesOperations.cs index 4c10ea314e72..c127e57aeb8a 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/DatabasesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/DatabasesOperations.cs @@ -544,7 +544,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -746,7 +746,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1034,7 +1034,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1313,7 +1313,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1549,7 +1549,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1975,7 +1975,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2201,7 +2201,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2394,7 +2394,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2605,7 +2605,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2809,7 +2809,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3014,7 +3014,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3202,7 +3202,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-08-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ILongTermRetentionBackupsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ILongTermRetentionBackupsOperations.cs index 8a567523d58e..87eada5fc9bc 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ILongTermRetentionBackupsOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ILongTermRetentionBackupsOperations.cs @@ -24,13 +24,42 @@ namespace Microsoft.Azure.Management.Sql public partial interface ILongTermRetentionBackupsOperations { /// - /// Gets a long term retention backup. + /// Copy an existing 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 parameters needed for long term retention copy request + /// + /// + /// 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> CopyWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates an existing long term retention backup. + /// /// /// The location of the database. /// @@ -43,6 +72,9 @@ public partial interface ILongTermRetentionBackupsOperations /// /// The backup name. /// + /// + /// The requested backup resource state + /// /// /// The headers that will be added to request. /// @@ -58,15 +90,41 @@ public partial interface ILongTermRetentionBackupsOperations /// /// 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)); + Task> UpdateWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Deletes a long term retention backup. + /// 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> GetWithHttpMessagesAsync(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 /// @@ -91,15 +149,10 @@ public partial interface ILongTermRetentionBackupsOperations /// /// 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)); + Task DeleteWithHttpMessagesAsync(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 /// @@ -132,15 +185,10 @@ public partial interface ILongTermRetentionBackupsOperations /// /// 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)); + Task>> ListByDatabaseWithHttpMessagesAsync(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 /// @@ -167,15 +215,10 @@ public partial interface ILongTermRetentionBackupsOperations /// /// 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)); + Task>> ListByLocationWithHttpMessagesAsync(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 /// @@ -205,10 +248,93 @@ public partial interface ILongTermRetentionBackupsOperations /// /// 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)); + Task>> ListByServerWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Copy an existing long term retention backup to a different 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 + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request + /// + /// + /// 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> CopyByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates an existing 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 requested backup resource state + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> UpdateByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// 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. /// @@ -236,10 +362,15 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task> GetWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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 /// @@ -264,10 +395,15 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task DeleteWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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 /// @@ -300,10 +436,15 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByDatabaseWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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 /// @@ -330,10 +471,15 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByLocationWithHttpMessagesAsync(string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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 /// @@ -363,17 +509,113 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByServerWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByResourceGroupServerWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Copy an existing long term retention backup. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request + /// + /// + /// 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> BeginCopyWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates an existing long term retention backup. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The requested backup resource state + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginUpdateWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// 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. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task BeginDeleteWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Copy an existing long term retention backup to a different 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 location of the database. /// /// /// The name of the server @@ -384,6 +626,9 @@ public partial interface ILongTermRetentionBackupsOperations /// /// The backup name. /// + /// + /// The parameters needed for long term retention copy request + /// /// /// The headers that will be added to request. /// @@ -393,13 +638,60 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// 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)); + Task> BeginCopyByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates an existing 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 requested backup resource state + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginUpdateByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, 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 /// @@ -424,7 +716,7 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task BeginDeleteWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task BeginDeleteByResourceGroupWithHttpMessagesAsync(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. /// @@ -446,7 +738,7 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByResourceGroupDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists the long term retention backups for a given location. /// @@ -468,7 +760,7 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByResourceGroupLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists the long term retention backups for a given server. /// @@ -490,7 +782,7 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByResourceGroupServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists all long term retention backups for a database. /// @@ -512,7 +804,7 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByResourceGroupDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists the long term retention backups for a given location. /// @@ -534,7 +826,7 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByResourceGroupLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists the long term retention backups for a given server. /// @@ -556,6 +848,6 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByResourceGroupServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ILongTermRetentionPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ILongTermRetentionPoliciesOperations.cs new file mode 100644 index 000000000000..714cf6b811ee --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ILongTermRetentionPoliciesOperations.cs @@ -0,0 +1,175 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// LongTermRetentionPoliciesOperations operations. + /// + public partial interface ILongTermRetentionPoliciesOperations + { + /// + /// Gets a database's long term retention policy. + /// + /// + /// The name of the resource group that contains the resource. You can + /// obtain this value from the Azure Resource Manager API or the + /// portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Sets a database's long term retention policy. + /// + /// + /// The name of the resource group that contains the resource. You can + /// obtain this value from the Azure Resource Manager API or the + /// portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The long term retention policy info. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets a database's long term retention policy. + /// + /// + /// The name of the resource group that contains the resource. You can + /// obtain this value from the Azure Resource Manager API or the + /// portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Sets a database's long term retention policy. + /// + /// + /// The name of the resource group that contains the resource. You can + /// obtain this value from the Azure Resource Manager API or the + /// portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The long term retention policy info. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets a database's long term retention policy. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ISqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ISqlManagementClient.cs index 4696e739b40a..93fff8a2d714 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ISqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ISqlManagementClient.cs @@ -292,16 +292,6 @@ public partial interface ISqlManagementClient : System.IDisposable /// IJobVersionsOperations JobVersions { get; } - /// - /// Gets the ILongTermRetentionBackupsOperations. - /// - ILongTermRetentionBackupsOperations LongTermRetentionBackups { get; } - - /// - /// Gets the IBackupLongTermRetentionPoliciesOperations. - /// - IBackupLongTermRetentionPoliciesOperations BackupLongTermRetentionPolicies { get; } - /// /// Gets the IManagedBackupShortTermRetentionPoliciesOperations. /// @@ -547,5 +537,15 @@ public partial interface ISqlManagementClient : System.IDisposable /// IServerDevOpsAuditSettingsOperations ServerDevOpsAuditSettings { get; } + /// + /// Gets the ILongTermRetentionBackupsOperations. + /// + ILongTermRetentionBackupsOperations LongTermRetentionBackups { get; } + + /// + /// Gets the ILongTermRetentionPoliciesOperations. + /// + ILongTermRetentionPoliciesOperations LongTermRetentionPolicies { get; } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionBackupsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionBackupsOperations.cs index d96ccd6e161b..37c396a655b1 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionBackupsOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionBackupsOperations.cs @@ -50,6 +50,1011 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// public SqlManagementClient Client { get; private set; } + /// + /// Copy an existing long term retention backup. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CopyWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginCopyWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Updates an existing long term retention backup. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The requested backup resource state + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> UpdateWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginUpdateWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Gets 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 unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string 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 = "2020-11-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, "Get", 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("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 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 = "2020-11-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 = "2020-11-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 = "2020-11-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; + } + + /// + /// Copy an existing long term retention backup to a different 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 + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CopyByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginCopyByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Updates an existing 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 requested backup resource state + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> UpdateByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginUpdateByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + /// /// Gets a long term retention backup. /// @@ -116,7 +1121,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -370,7 +1375,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -586,7 +1591,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -805,7 +1810,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -968,7 +1973,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) } /// - /// Gets a long term retention backup. + /// Copy an existing long term retention backup. /// /// /// The location of the database. @@ -982,6 +1987,9 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// The backup name. /// + /// + /// The parameters needed for long term retention copy request + /// /// /// Headers that will be added to request. /// @@ -1003,7 +2011,7 @@ 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> BeginCopyWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (locationName == null) { @@ -1021,11 +2029,15 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "backupName"); } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1037,13 +2049,14 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); tracingParameters.Add("backupName", backupName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginCopy", 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}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/copy").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)); @@ -1061,7 +2074,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1092,6 +2105,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -1112,7 +2131,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1147,7 +2166,7 @@ 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")) @@ -1160,58 +2179,30 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { - _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); + _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 all long term retention backups for a database. + /// Updates an existing long term retention backup. /// /// - /// The location of the database + /// The location of the database. /// /// /// The name of the server @@ -1219,12 +2210,11 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// The name of the database /// - /// - /// Whether or not to only get the latest backup for each database. + /// + /// The backup name. /// - /// - /// Whether to query against just live databases, just deleted databases, or - /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// The requested backup resource state /// /// /// Headers that will be added to request. @@ -1247,7 +2237,7 @@ 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> BeginUpdateWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (locationName == null) { @@ -1261,11 +2251,19 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "longTermRetentionDatabaseName"); } + if (backupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "backupName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1276,28 +2274,21 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) tracingParameters.Add("locationName", locationName); tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); - tracingParameters.Add("onlyLatestPerDatabase", onlyLatestPerDatabase); - tracingParameters.Add("databaseState", databaseState); + tracingParameters.Add("backupName", backupName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByDatabase", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginUpdate", 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}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/update").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 (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))); @@ -1309,7 +2300,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1340,6 +2331,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -1360,7 +2357,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1395,7 +2392,7 @@ 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")) @@ -1408,7 +2405,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1428,17 +2425,19 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) } /// - /// Lists the long term retention backups for a given location. + /// Deletes a long term retention backup. /// /// /// The location of the database /// - /// - /// Whether or not to only get the latest backup for each database. + /// + /// The name of the server /// - /// - /// Whether to query against just live databases, just deleted databases, or - /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// The name of the database + /// + /// + /// The backup name. /// /// /// Headers that will be added to request. @@ -1449,9 +2448,6 @@ 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 /// @@ -1461,17 +2457,29 @@ 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 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"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1480,26 +2488,22 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("locationName", locationName); - tracingParameters.Add("onlyLatestPerDatabase", onlyLatestPerDatabase); - tracingParameters.Add("databaseState", databaseState); + tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); + tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); + tracingParameters.Add("backupName", backupName); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByLocation", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups").ToString(); + 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 (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))); @@ -1511,7 +2515,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1562,7 +2566,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1597,31 +2601,13 @@ 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); @@ -1630,20 +2616,26 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) } /// - /// Lists the long term retention backups for a given server. + /// Copy an existing long term retention backup to a different 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 location of the database. /// /// /// The name of the server /// - /// - /// Whether or not to only get the latest backup for each database. + /// + /// The name of the database /// - /// - /// Whether to query against just live databases, just deleted databases, or - /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request /// /// /// Headers that will be added to request. @@ -1666,8 +2658,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> BeginCopyByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, 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"); @@ -1676,11 +2672,23 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { 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 (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1688,29 +2696,26 @@ 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("longTermRetentionDatabaseName", longTermRetentionDatabaseName); + tracingParameters.Add("backupName", backupName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByServer", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginCopyByResourceGroup", 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}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}/copy").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 (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))); @@ -1722,7 +2727,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1753,6 +2758,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -1773,7 +2784,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1808,7 +2819,7 @@ 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")) @@ -1821,7 +2832,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1841,14 +2852,14 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) } /// - /// Deletes a long term retention backup. + /// Updates an existing 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 location of the database. /// /// /// The name of the server @@ -1859,6 +2870,9 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// The backup name. /// + /// + /// The requested backup resource state + /// /// /// Headers that will be added to request. /// @@ -1868,6 +2882,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 /// @@ -1877,7 +2894,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// 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)) + public async Task> BeginUpdateByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -1899,11 +2916,15 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "backupName"); } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1916,13 +2937,14 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); tracingParameters.Add("backupName", backupName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginDeleteByResourceGroup", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginUpdateByResourceGroup", 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(); + 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}/update").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)); @@ -1941,7 +2963,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("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1972,6 +2994,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -2027,13 +3055,31 @@ 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); @@ -2044,6 +3090,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 /// @@ -2074,8 +3124,12 @@ 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 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"); @@ -2096,7 +3150,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-03-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2104,17 +3158,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, "BeginDelete", tracingParameters); + 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}/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)); @@ -2259,7 +3315,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByResourceGroupDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -2274,7 +3330,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupDatabaseNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByDatabaseNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -2432,7 +3488,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByResourceGroupLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -2447,7 +3503,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupLocationNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByLocationNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -2605,7 +3661,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByResourceGroupServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -2620,7 +3676,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupServerNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByServerNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -2778,7 +3834,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -2793,7 +3849,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByDatabaseNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupDatabaseNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -2951,7 +4007,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -2966,7 +4022,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByLocationNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupLocationNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -3124,7 +4180,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -3139,7 +4195,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByServerNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupServerNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionBackupsOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionBackupsOperationsExtensions.cs index 5e6f4a0dda2b..2cd514b86c70 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionBackupsOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionBackupsOperationsExtensions.cs @@ -21,6 +21,517 @@ namespace Microsoft.Azure.Management.Sql /// public static partial class LongTermRetentionBackupsOperationsExtensions { + /// + /// Copy an existing long term retention backup. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request + /// + public static LongTermRetentionBackupOperationResult Copy(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters) + { + return operations.CopyAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Copy an existing long term retention backup. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request + /// + /// + /// The cancellation token. + /// + public static async Task CopyAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CopyWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates an existing long term retention backup. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The requested backup resource state + /// + public static LongTermRetentionBackupOperationResult Update(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters) + { + return operations.UpdateAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Updates an existing long term retention backup. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The requested backup resource state + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpdateWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets a long term retention backup. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + public static LongTermRetentionBackup Get(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + { + return operations.GetAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + } + + /// + /// Gets a long term retention backup. + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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 GetAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + public static void Delete(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + { + operations.DeleteAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a long term retention backup. + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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 DeleteAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(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 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 ListByDatabase(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + { + return operations.ListByDatabaseAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + } + + /// + /// Lists all long term retention backups for a database. + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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> ListByDatabaseAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByDatabaseWithHttpMessagesAsync(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 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 ListByLocation(this ILongTermRetentionBackupsOperations operations, string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + { + return operations.ListByLocationAsync(locationName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + } + + /// + /// Lists the long term retention backups for a given location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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> ListByLocationAsync(this ILongTermRetentionBackupsOperations operations, string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByLocationWithHttpMessagesAsync(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 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 ListByServer(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + { + return operations.ListByServerAsync(locationName, longTermRetentionServerName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + } + + /// + /// Lists the long term retention backups for a given server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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> ListByServerAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServerWithHttpMessagesAsync(locationName, longTermRetentionServerName, onlyLatestPerDatabase, databaseState, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Copy an existing long term retention backup to a different 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 + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request + /// + public static LongTermRetentionBackupOperationResult CopyByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters) + { + return operations.CopyByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Copy an existing long term retention backup to a different 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 + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request + /// + /// + /// The cancellation token. + /// + public static async Task CopyByResourceGroupAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CopyByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates an existing 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 requested backup resource state + /// + public static LongTermRetentionBackupOperationResult UpdateByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters) + { + return operations.UpdateByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Updates an existing 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 requested backup resource state + /// + /// + /// The cancellation token. + /// + public static async Task UpdateByResourceGroupAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpdateByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Gets a long term retention backup. /// @@ -325,7 +836,7 @@ public static void DeleteByResourceGroup(this ILongTermRetentionBackupsOperation } /// - /// Gets a long term retention backup. + /// Copy an existing long term retention backup. /// /// /// The operations group for this extension method. @@ -342,13 +853,16 @@ public static void DeleteByResourceGroup(this ILongTermRetentionBackupsOperation /// /// The backup name. /// - public static LongTermRetentionBackup Get(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + /// + /// The parameters needed for long term retention copy request + /// + public static LongTermRetentionBackupOperationResult BeginCopy(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters) { - return operations.GetAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + return operations.BeginCopyAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters).GetAwaiter().GetResult(); } /// - /// Gets a long term retention backup. + /// Copy an existing long term retention backup. /// /// /// The operations group for this extension method. @@ -365,25 +879,28 @@ public static LongTermRetentionBackup Get(this ILongTermRetentionBackupsOperatio /// /// The backup name. /// + /// + /// The parameters needed for long term retention copy request + /// /// /// The cancellation token. /// - public static async Task GetAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginCopyAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.BeginCopyWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Deletes a long term retention backup. + /// Updates an existing long term retention backup. /// /// /// The operations group for this extension method. /// /// - /// The location of the database + /// The location of the database. /// /// /// The name of the server @@ -394,19 +911,22 @@ public static LongTermRetentionBackup Get(this ILongTermRetentionBackupsOperatio /// /// The backup name. /// - public static void Delete(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + /// + /// The requested backup resource state + /// + public static LongTermRetentionBackupOperationResult BeginUpdate(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters) { - operations.DeleteAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + return operations.BeginUpdateAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters).GetAwaiter().GetResult(); } /// - /// Deletes a long term retention backup. + /// Updates an existing long term retention backup. /// /// /// The operations group for this extension method. /// /// - /// The location of the database + /// The location of the database. /// /// /// The name of the server @@ -417,16 +937,22 @@ public static void Delete(this ILongTermRetentionBackupsOperations operations, s /// /// The backup name. /// + /// + /// The requested backup resource state + /// /// /// The cancellation token. /// - public static async Task DeleteAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginUpdateAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.DeleteWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// - /// Lists all long term retention backups for a database. + /// Deletes a long term retention backup. /// /// /// The operations group for this extension method. @@ -440,20 +966,16 @@ public static void Delete(this ILongTermRetentionBackupsOperations operations, s /// /// 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 backup name. /// - public static IPage ListByDatabase(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + public static void BeginDelete(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) { - return operations.ListByDatabaseAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + operations.BeginDeleteAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); } /// - /// Lists all long term retention backups for a database. + /// Deletes a long term retention backup. /// /// /// The operations group for this extension method. @@ -467,128 +989,85 @@ public static void Delete(this ILongTermRetentionBackupsOperations operations, s /// /// 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 backup name. /// /// /// The cancellation token. /// - public static async Task> ListByDatabaseAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByDatabaseWithHttpMessagesAsync(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 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 ListByLocation(this ILongTermRetentionBackupsOperations operations, string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + public static async Task BeginDeleteAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) { - return operations.ListByLocationAsync(locationName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + (await operations.BeginDeleteWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// - /// Lists the long term retention backups for a given location. + /// Copy an existing long term retention backup to a different server. /// /// /// The operations group for this extension method. /// - /// - /// 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> ListByLocationAsync(this ILongTermRetentionBackupsOperations operations, string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByLocationWithHttpMessagesAsync(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 location of the database. /// /// /// The name of the server /// - /// - /// Whether or not to only get the latest backup for each database. + /// + /// The name of the database /// - /// - /// Whether to query against just live databases, just deleted databases, or - /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// The backup name. /// - public static IPage ListByServer(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + /// + /// The parameters needed for long term retention copy request + /// + public static LongTermRetentionBackupOperationResult BeginCopyByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters) { - return operations.ListByServerAsync(locationName, longTermRetentionServerName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + return operations.BeginCopyByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters).GetAwaiter().GetResult(); } /// - /// Lists the long term retention backups for a given server. + /// Copy an existing long term retention backup to a different 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 location of the database. /// /// /// The name of the server /// - /// - /// Whether or not to only get the latest backup for each database. + /// + /// The name of the database /// - /// - /// Whether to query against just live databases, just deleted databases, or - /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// The backup name. + /// + /// + /// The parameters needed for long term retention copy request /// /// /// The cancellation token. /// - public static async Task> ListByServerAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginCopyByResourceGroupAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CopyLongTermRetentionBackupParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByServerWithHttpMessagesAsync(locationName, longTermRetentionServerName, onlyLatestPerDatabase, databaseState, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.BeginCopyByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Deletes a long term retention backup. + /// Updates an existing long term retention backup. /// /// /// The operations group for this extension method. @@ -598,7 +1077,7 @@ public static void Delete(this ILongTermRetentionBackupsOperations operations, s /// this value from the Azure Resource Manager API or the portal. /// /// - /// The location of the database + /// The location of the database. /// /// /// The name of the server @@ -609,13 +1088,16 @@ public static void Delete(this ILongTermRetentionBackupsOperations operations, s /// /// The backup name. /// - public static void BeginDeleteByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + /// + /// The requested backup resource state + /// + public static LongTermRetentionBackupOperationResult BeginUpdateByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters) { - operations.BeginDeleteByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + return operations.BeginUpdateByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters).GetAwaiter().GetResult(); } /// - /// Deletes a long term retention backup. + /// Updates an existing long term retention backup. /// /// /// The operations group for this extension method. @@ -625,7 +1107,7 @@ public static void BeginDeleteByResourceGroup(this ILongTermRetentionBackupsOper /// this value from the Azure Resource Manager API or the portal. /// /// - /// The location of the database + /// The location of the database. /// /// /// The name of the server @@ -636,12 +1118,18 @@ public static void BeginDeleteByResourceGroup(this ILongTermRetentionBackupsOper /// /// The backup name. /// + /// + /// The requested backup resource state + /// /// /// 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)) + public static async Task BeginUpdateByResourceGroupAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, UpdateLongTermRetentionBackupParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.BeginDeleteByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + using (var _result = await operations.BeginUpdateByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// @@ -650,6 +1138,10 @@ public static void BeginDeleteByResourceGroup(this ILongTermRetentionBackupsOper /// /// 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 /// @@ -662,9 +1154,9 @@ public static void BeginDeleteByResourceGroup(this ILongTermRetentionBackupsOper /// /// The backup name. /// - public static void BeginDelete(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + public static void BeginDeleteByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) { - operations.BeginDeleteAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + operations.BeginDeleteByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); } /// @@ -673,6 +1165,10 @@ public static void BeginDelete(this ILongTermRetentionBackupsOperations operatio /// /// 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 /// @@ -688,9 +1184,9 @@ public static void BeginDelete(this ILongTermRetentionBackupsOperations operatio /// /// The cancellation token. /// - public static async Task BeginDeleteAsync(this ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginDeleteByResourceGroupAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.BeginDeleteWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + (await operations.BeginDeleteByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// @@ -702,9 +1198,9 @@ public static void BeginDelete(this ILongTermRetentionBackupsOperations operatio /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListByResourceGroupDatabaseNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + public static IPage ListByDatabaseNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) { - return operations.ListByResourceGroupDatabaseNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListByDatabaseNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// @@ -719,9 +1215,9 @@ public static IPage ListByResourceGroupDatabaseNext(thi /// /// The cancellation token. /// - public static async Task> ListByResourceGroupDatabaseNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByDatabaseNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByResourceGroupDatabaseNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByDatabaseNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -736,9 +1232,9 @@ public static IPage ListByResourceGroupDatabaseNext(thi /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListByResourceGroupLocationNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + public static IPage ListByLocationNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) { - return operations.ListByResourceGroupLocationNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListByLocationNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// @@ -753,9 +1249,9 @@ public static IPage ListByResourceGroupLocationNext(thi /// /// The cancellation token. /// - public static async Task> ListByResourceGroupLocationNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByLocationNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByResourceGroupLocationNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByLocationNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -770,9 +1266,9 @@ public static IPage ListByResourceGroupLocationNext(thi /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListByResourceGroupServerNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + public static IPage ListByServerNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) { - return operations.ListByResourceGroupServerNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListByServerNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// @@ -787,9 +1283,9 @@ public static IPage ListByResourceGroupServerNext(this /// /// The cancellation token. /// - public static async Task> ListByResourceGroupServerNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByServerNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByResourceGroupServerNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByServerNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -804,9 +1300,9 @@ public static IPage ListByResourceGroupServerNext(this /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListByDatabaseNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + public static IPage ListByResourceGroupDatabaseNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) { - return operations.ListByDatabaseNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListByResourceGroupDatabaseNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// @@ -821,9 +1317,9 @@ public static IPage ListByDatabaseNext(this ILongTermRe /// /// The cancellation token. /// - public static async Task> ListByDatabaseNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByResourceGroupDatabaseNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByDatabaseNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByResourceGroupDatabaseNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -838,9 +1334,9 @@ public static IPage ListByDatabaseNext(this ILongTermRe /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListByLocationNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + public static IPage ListByResourceGroupLocationNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) { - return operations.ListByLocationNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListByResourceGroupLocationNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// @@ -855,9 +1351,9 @@ public static IPage ListByLocationNext(this ILongTermRe /// /// The cancellation token. /// - public static async Task> ListByLocationNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByResourceGroupLocationNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByLocationNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByResourceGroupLocationNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -872,9 +1368,9 @@ public static IPage ListByLocationNext(this ILongTermRe /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListByServerNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + public static IPage ListByResourceGroupServerNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) { - return operations.ListByServerNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListByResourceGroupServerNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// @@ -889,9 +1385,9 @@ public static IPage ListByServerNext(this ILongTermRete /// /// The cancellation token. /// - public static async Task> ListByServerNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByResourceGroupServerNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByServerNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByResourceGroupServerNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionPoliciesOperations.cs new file mode 100644 index 000000000000..4d8895d6fa49 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionPoliciesOperations.cs @@ -0,0 +1,888 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// LongTermRetentionPoliciesOperations operations. + /// + internal partial class LongTermRetentionPoliciesOperations : IServiceOperations, ILongTermRetentionPoliciesOperations + { + /// + /// Initializes a new instance of the LongTermRetentionPoliciesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal LongTermRetentionPoliciesOperations(SqlManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the SqlManagementClient + /// + public SqlManagementClient Client { get; private set; } + + /// + /// Gets a database's long term retention policy. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serverName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); + } + if (databaseName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string policyName = "default"; + string apiVersion = "2020-11-01-preview"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serverName", serverName); + tracingParameters.Add("databaseName", databaseName); + tracingParameters.Add("policyName", policyName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); + _url = _url.Replace("{databaseName}", System.Uri.EscapeDataString(databaseName)); + _url = _url.Replace("{policyName}", System.Uri.EscapeDataString(policyName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Sets a database's long term retention policy. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The long term retention policy info. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Gets a database's long term retention policy. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serverName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); + } + if (databaseName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2020-11-01-preview"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serverName", serverName); + tracingParameters.Add("databaseName", databaseName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByDatabase", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); + _url = _url.Replace("{databaseName}", System.Uri.EscapeDataString(databaseName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Sets a database's long term retention policy. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The long term retention policy info. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serverName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); + } + if (databaseName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string policyName = "default"; + string apiVersion = "2020-11-01-preview"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serverName", serverName); + tracingParameters.Add("databaseName", databaseName); + tracingParameters.Add("policyName", policyName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); + _url = _url.Replace("{databaseName}", System.Uri.EscapeDataString(databaseName)); + _url = _url.Replace("{policyName}", System.Uri.EscapeDataString(policyName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets a database's long term retention policy. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByDatabaseNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionPoliciesOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionPoliciesOperationsExtensions.cs new file mode 100644 index 000000000000..06e682f3fe80 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/LongTermRetentionPoliciesOperationsExtensions.cs @@ -0,0 +1,263 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for LongTermRetentionPoliciesOperations. + /// + public static partial class LongTermRetentionPoliciesOperationsExtensions + { + /// + /// Gets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + public static LongTermRetentionPolicy Get(this ILongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName) + { + return operations.GetAsync(resourceGroupName, serverName, databaseName).GetAwaiter().GetResult(); + } + + /// + /// Gets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ILongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Sets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The long term retention policy info. + /// + public static LongTermRetentionPolicy CreateOrUpdate(this ILongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Sets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The long term retention policy info. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this ILongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + public static IPage ListByDatabase(this ILongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName) + { + return operations.ListByDatabaseAsync(resourceGroupName, serverName, databaseName).GetAwaiter().GetResult(); + } + + /// + /// Gets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByDatabaseAsync(this ILongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByDatabaseWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Sets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The long term retention policy info. + /// + public static LongTermRetentionPolicy BeginCreateOrUpdate(this ILongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters) + { + return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Sets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group that contains the resource. You can obtain + /// this value from the Azure Resource Manager API or the portal. + /// + /// + /// The name of the server. + /// + /// + /// The name of the database. + /// + /// + /// The long term retention policy info. + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this ILongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByDatabaseNext(this ILongTermRetentionPoliciesOperations operations, string nextPageLink) + { + return operations.ListByDatabaseNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets a database's long term retention policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByDatabaseNextAsync(this ILongTermRetentionPoliciesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByDatabaseNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/BackupStorageRedundancy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/BackupStorageRedundancy.cs new file mode 100644 index 000000000000..65c4e42a7406 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/BackupStorageRedundancy.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + + /// + /// Defines values for BackupStorageRedundancy. + /// + public static class BackupStorageRedundancy + { + public const string Geo = "Geo"; + public const string Local = "Local"; + public const string Zone = "Zone"; + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/CopyLongTermRetentionBackupParameters.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/CopyLongTermRetentionBackupParameters.cs new file mode 100644 index 000000000000..76e1849789c0 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/CopyLongTermRetentionBackupParameters.cs @@ -0,0 +1,106 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contains the information necessary to perform long term retention + /// backup copy operation. + /// + [Rest.Serialization.JsonTransformation] + public partial class CopyLongTermRetentionBackupParameters + { + /// + /// Initializes a new instance of the + /// CopyLongTermRetentionBackupParameters class. + /// + public CopyLongTermRetentionBackupParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// CopyLongTermRetentionBackupParameters class. + /// + /// The subscription that owns the + /// target server + /// The resource group that owns the + /// target server + /// The resource Id of the target + /// server that owns the database + /// The fully + /// qualified domain name of the target server + /// The name of the database owns the + /// copied backup. + /// The storage redundancy + /// type of the copied backup. Possible values include: 'Geo', 'Local', + /// 'Zone' + public CopyLongTermRetentionBackupParameters(string targetSubscriptionId = default(string), string targetResourceGroup = default(string), string targetServerResourceId = default(string), string targetServerFullyQualifiedDomainName = default(string), string targetDatabaseName = default(string), string targetBackupStorageRedundancy = default(string)) + { + TargetSubscriptionId = targetSubscriptionId; + TargetResourceGroup = targetResourceGroup; + TargetServerResourceId = targetServerResourceId; + TargetServerFullyQualifiedDomainName = targetServerFullyQualifiedDomainName; + TargetDatabaseName = targetDatabaseName; + TargetBackupStorageRedundancy = targetBackupStorageRedundancy; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the subscription that owns the target server + /// + [JsonProperty(PropertyName = "properties.targetSubscriptionId")] + public string TargetSubscriptionId { get; set; } + + /// + /// Gets or sets the resource group that owns the target server + /// + [JsonProperty(PropertyName = "properties.targetResourceGroup")] + public string TargetResourceGroup { get; set; } + + /// + /// Gets or sets the resource Id of the target server that owns the + /// database + /// + [JsonProperty(PropertyName = "properties.targetServerResourceId")] + public string TargetServerResourceId { get; set; } + + /// + /// Gets or sets the fully qualified domain name of the target server + /// + [JsonProperty(PropertyName = "properties.targetServerFullyQualifiedDomainName")] + public string TargetServerFullyQualifiedDomainName { get; set; } + + /// + /// Gets or sets the name of the database owns the copied backup. + /// + [JsonProperty(PropertyName = "properties.targetDatabaseName")] + public string TargetDatabaseName { get; set; } + + /// + /// Gets or sets the storage redundancy type of the copied backup. + /// Possible values include: 'Geo', 'Local', 'Zone' + /// + [JsonProperty(PropertyName = "properties.targetBackupStorageRedundancy")] + public string TargetBackupStorageRedundancy { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/CurrentBackupStorageRedundancy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/CurrentBackupStorageRedundancy.cs new file mode 100644 index 000000000000..446a823940c5 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/CurrentBackupStorageRedundancy.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + + /// + /// Defines values for CurrentBackupStorageRedundancy. + /// + public static class CurrentBackupStorageRedundancy + { + public const string Geo = "Geo"; + public const string Local = "Local"; + public const string Zone = "Zone"; + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/Database.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/Database.cs index b5e211bd6c3b..9eb5276845e3 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/Database.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/Database.cs @@ -176,9 +176,12 @@ public Database() /// Time in minutes after which database /// is automatically paused. A value of -1 means that automatic pause /// is disabled - /// The storage account type used to - /// store backups for this database. Possible values include: 'GRS', - /// 'LRS', 'ZRS' + /// The storage account + /// type used to store backups for this database. Possible values + /// include: 'Geo', 'Local', 'Zone' + /// The storage account + /// type to be used to store backups for this database. Possible values + /// include: 'Geo', 'Local', 'Zone' /// Minimal capacity that database will /// always have allocated, if not paused /// The date when database was paused by user @@ -190,7 +193,7 @@ public Database() /// Maintenance configuration /// id assigned to the database. This configuration defines the period /// when the maintenance updates will occur. - public Database(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), string kind = default(string), string managedBy = default(string), string createMode = default(string), string collation = default(string), long? maxSizeBytes = default(long?), string sampleName = default(string), string elasticPoolId = default(string), string sourceDatabaseId = default(string), string status = default(string), System.Guid? databaseId = default(System.Guid?), System.DateTime? creationDate = default(System.DateTime?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string defaultSecondaryLocation = default(string), string failoverGroupId = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?), string recoveryServicesRecoveryPointId = default(string), string longTermRetentionBackupResourceId = default(string), string recoverableDatabaseId = default(string), string restorableDroppedDatabaseId = default(string), string catalogCollation = default(string), bool? zoneRedundant = default(bool?), string licenseType = default(string), long? maxLogSizeBytes = default(long?), System.DateTime? earliestRestoreDate = default(System.DateTime?), string readScale = default(string), int? highAvailabilityReplicaCount = default(int?), string secondaryType = default(string), Sku currentSku = default(Sku), int? autoPauseDelay = default(int?), string storageAccountType = default(string), double? minCapacity = default(double?), System.DateTime? pausedDate = default(System.DateTime?), System.DateTime? resumedDate = default(System.DateTime?), string maintenanceConfigurationId = default(string)) + public Database(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), string kind = default(string), string managedBy = default(string), string createMode = default(string), string collation = default(string), long? maxSizeBytes = default(long?), string sampleName = default(string), string elasticPoolId = default(string), string sourceDatabaseId = default(string), string status = default(string), System.Guid? databaseId = default(System.Guid?), System.DateTime? creationDate = default(System.DateTime?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string defaultSecondaryLocation = default(string), string failoverGroupId = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?), string recoveryServicesRecoveryPointId = default(string), string longTermRetentionBackupResourceId = default(string), string recoverableDatabaseId = default(string), string restorableDroppedDatabaseId = default(string), string catalogCollation = default(string), bool? zoneRedundant = default(bool?), string licenseType = default(string), long? maxLogSizeBytes = default(long?), System.DateTime? earliestRestoreDate = default(System.DateTime?), string readScale = default(string), int? highAvailabilityReplicaCount = default(int?), string secondaryType = default(string), Sku currentSku = default(Sku), int? autoPauseDelay = default(int?), string currentBackupStorageRedundancy = default(string), string requestedBackupStorageRedundancy = default(string), double? minCapacity = default(double?), System.DateTime? pausedDate = default(System.DateTime?), System.DateTime? resumedDate = default(System.DateTime?), string maintenanceConfigurationId = default(string)) : base(location, id, name, type, tags) { Sku = sku; @@ -225,7 +228,8 @@ public Database() SecondaryType = secondaryType; CurrentSku = currentSku; AutoPauseDelay = autoPauseDelay; - StorageAccountType = storageAccountType; + CurrentBackupStorageRedundancy = currentBackupStorageRedundancy; + RequestedBackupStorageRedundancy = requestedBackupStorageRedundancy; MinCapacity = minCapacity; PausedDate = pausedDate; ResumedDate = resumedDate; @@ -516,11 +520,18 @@ public Database() public int? AutoPauseDelay { get; set; } /// - /// Gets or sets the storage account type used to store backups for - /// this database. Possible values include: 'GRS', 'LRS', 'ZRS' + /// Gets the storage account type used to store backups for this + /// database. Possible values include: 'Geo', 'Local', 'Zone' /// - [JsonProperty(PropertyName = "properties.storageAccountType")] - public string StorageAccountType { get; set; } + [JsonProperty(PropertyName = "properties.currentBackupStorageRedundancy")] + public string CurrentBackupStorageRedundancy { get; private set; } + + /// + /// Gets or sets the storage account type to be used to store backups + /// for this database. Possible values include: 'Geo', 'Local', 'Zone' + /// + [JsonProperty(PropertyName = "properties.requestedBackupStorageRedundancy")] + public string RequestedBackupStorageRedundancy { get; set; } /// /// Gets or sets minimal capacity that database will always have diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState.cs new file mode 100644 index 000000000000..e0db5559a05c --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + + /// + /// Defines values for DatabaseState. + /// + public static class DatabaseState + { + public const string All = "All"; + public const string Live = "Live"; + public const string Deleted = "Deleted"; + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseUpdate.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseUpdate.cs index 2b47cee16a80..025dc1ccc6b3 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseUpdate.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseUpdate.cs @@ -153,9 +153,12 @@ public DatabaseUpdate() /// Time in minutes after which database /// is automatically paused. A value of -1 means that automatic pause /// is disabled - /// The storage account type used to - /// store backups for this database. Possible values include: 'GRS', - /// 'LRS', 'ZRS' + /// The storage account + /// type used to store backups for this database. Possible values + /// include: 'Geo', 'Local', 'Zone' + /// The storage account + /// type to be used to store backups for this database. Possible values + /// include: 'Geo', 'Local', 'Zone' /// Minimal capacity that database will /// always have allocated, if not paused /// The date when database was paused by user @@ -168,7 +171,7 @@ public DatabaseUpdate() /// id assigned to the database. This configuration defines the period /// when the maintenance updates will occur. /// Resource tags. - public DatabaseUpdate(Sku sku = default(Sku), string createMode = default(string), string collation = default(string), long? maxSizeBytes = default(long?), string sampleName = default(string), string elasticPoolId = default(string), string sourceDatabaseId = default(string), string status = default(string), System.Guid? databaseId = default(System.Guid?), System.DateTime? creationDate = default(System.DateTime?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string defaultSecondaryLocation = default(string), string failoverGroupId = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?), string recoveryServicesRecoveryPointId = default(string), string longTermRetentionBackupResourceId = default(string), string recoverableDatabaseId = default(string), string restorableDroppedDatabaseId = default(string), string catalogCollation = default(string), bool? zoneRedundant = default(bool?), string licenseType = default(string), long? maxLogSizeBytes = default(long?), System.DateTime? earliestRestoreDate = default(System.DateTime?), string readScale = default(string), int? highAvailabilityReplicaCount = default(int?), string secondaryType = default(string), Sku currentSku = default(Sku), int? autoPauseDelay = default(int?), string storageAccountType = default(string), double? minCapacity = default(double?), System.DateTime? pausedDate = default(System.DateTime?), System.DateTime? resumedDate = default(System.DateTime?), string maintenanceConfigurationId = default(string), IDictionary tags = default(IDictionary)) + public DatabaseUpdate(Sku sku = default(Sku), string createMode = default(string), string collation = default(string), long? maxSizeBytes = default(long?), string sampleName = default(string), string elasticPoolId = default(string), string sourceDatabaseId = default(string), string status = default(string), System.Guid? databaseId = default(System.Guid?), System.DateTime? creationDate = default(System.DateTime?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string defaultSecondaryLocation = default(string), string failoverGroupId = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?), string recoveryServicesRecoveryPointId = default(string), string longTermRetentionBackupResourceId = default(string), string recoverableDatabaseId = default(string), string restorableDroppedDatabaseId = default(string), string catalogCollation = default(string), bool? zoneRedundant = default(bool?), string licenseType = default(string), long? maxLogSizeBytes = default(long?), System.DateTime? earliestRestoreDate = default(System.DateTime?), string readScale = default(string), int? highAvailabilityReplicaCount = default(int?), string secondaryType = default(string), Sku currentSku = default(Sku), int? autoPauseDelay = default(int?), string currentBackupStorageRedundancy = default(string), string requestedBackupStorageRedundancy = default(string), double? minCapacity = default(double?), System.DateTime? pausedDate = default(System.DateTime?), System.DateTime? resumedDate = default(System.DateTime?), string maintenanceConfigurationId = default(string), IDictionary tags = default(IDictionary)) { Sku = sku; CreateMode = createMode; @@ -200,7 +203,8 @@ public DatabaseUpdate() SecondaryType = secondaryType; CurrentSku = currentSku; AutoPauseDelay = autoPauseDelay; - StorageAccountType = storageAccountType; + CurrentBackupStorageRedundancy = currentBackupStorageRedundancy; + RequestedBackupStorageRedundancy = requestedBackupStorageRedundancy; MinCapacity = minCapacity; PausedDate = pausedDate; ResumedDate = resumedDate; @@ -464,11 +468,18 @@ public DatabaseUpdate() public int? AutoPauseDelay { get; set; } /// - /// Gets or sets the storage account type used to store backups for - /// this database. Possible values include: 'GRS', 'LRS', 'ZRS' + /// Gets the storage account type used to store backups for this + /// database. Possible values include: 'Geo', 'Local', 'Zone' /// - [JsonProperty(PropertyName = "properties.storageAccountType")] - public string StorageAccountType { get; set; } + [JsonProperty(PropertyName = "properties.currentBackupStorageRedundancy")] + public string CurrentBackupStorageRedundancy { get; private set; } + + /// + /// Gets or sets the storage account type to be used to store backups + /// for this database. Possible values include: 'Geo', 'Local', 'Zone' + /// + [JsonProperty(PropertyName = "properties.requestedBackupStorageRedundancy")] + public string RequestedBackupStorageRedundancy { get; set; } /// /// Gets or sets minimal capacity that database will always have diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionBackup.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionBackup.cs index 9c2decc93b6d..7334f397c608 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionBackup.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionBackup.cs @@ -46,7 +46,13 @@ public LongTermRetentionBackup() /// The time the backup was taken /// The time the long term retention /// backup will expire. - public LongTermRetentionBackup(string id = default(string), string name = default(string), string type = default(string), string serverName = default(string), System.DateTime? serverCreateTime = default(System.DateTime?), string databaseName = default(string), System.DateTime? databaseDeletionTime = default(System.DateTime?), System.DateTime? backupTime = default(System.DateTime?), System.DateTime? backupExpirationTime = default(System.DateTime?)) + /// The storage redundancy type + /// of the backup. Possible values include: 'Geo', 'Local', + /// 'Zone' + /// The storage + /// redundancy type of the backup. Possible values include: 'Geo', + /// 'Local', 'Zone' + public LongTermRetentionBackup(string id = default(string), string name = default(string), string type = default(string), string serverName = default(string), System.DateTime? serverCreateTime = default(System.DateTime?), string databaseName = default(string), System.DateTime? databaseDeletionTime = default(System.DateTime?), System.DateTime? backupTime = default(System.DateTime?), System.DateTime? backupExpirationTime = default(System.DateTime?), string backupStorageRedundancy = default(string), string requestedBackupStorageRedundancy = default(string)) : base(id, name, type) { ServerName = serverName; @@ -55,6 +61,8 @@ public LongTermRetentionBackup() DatabaseDeletionTime = databaseDeletionTime; BackupTime = backupTime; BackupExpirationTime = backupExpirationTime; + BackupStorageRedundancy = backupStorageRedundancy; + RequestedBackupStorageRedundancy = requestedBackupStorageRedundancy; CustomInit(); } @@ -99,5 +107,19 @@ public LongTermRetentionBackup() [JsonProperty(PropertyName = "properties.backupExpirationTime")] public System.DateTime? BackupExpirationTime { get; private set; } + /// + /// Gets the storage redundancy type of the backup. Possible values + /// include: 'Geo', 'Local', 'Zone' + /// + [JsonProperty(PropertyName = "properties.backupStorageRedundancy")] + public string BackupStorageRedundancy { get; private set; } + + /// + /// Gets or sets the storage redundancy type of the backup. Possible + /// values include: 'Geo', 'Local', 'Zone' + /// + [JsonProperty(PropertyName = "properties.requestedBackupStorageRedundancy")] + public string RequestedBackupStorageRedundancy { get; set; } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionBackupOperationResult.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionBackupOperationResult.cs new file mode 100644 index 000000000000..af6b35a93dd0 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionBackupOperationResult.cs @@ -0,0 +1,112 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// A LongTermRetentionBackup operation result resource. + /// + [Rest.Serialization.JsonTransformation] + public partial class LongTermRetentionBackupOperationResult : ProxyResource + { + /// + /// Initializes a new instance of the + /// LongTermRetentionBackupOperationResult class. + /// + public LongTermRetentionBackupOperationResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// LongTermRetentionBackupOperationResult class. + /// + /// Resource ID. + /// Resource name. + /// Resource type. + /// Request Id. + /// Operation type. + /// Source backup resource + /// id + /// Target backup resource id + /// The storage redundancy + /// type of the copied backup. Possible values include: 'Geo', 'Local', + /// 'Zone' + /// Operation status + /// Progress message + public LongTermRetentionBackupOperationResult(string id = default(string), string name = default(string), string type = default(string), System.Guid? requestId = default(System.Guid?), string operationType = default(string), string fromBackupResourceId = default(string), string toBackupResourceId = default(string), string targetBackupStorageRedundancy = default(string), string status = default(string), string message = default(string)) + : base(id, name, type) + { + RequestId = requestId; + OperationType = operationType; + FromBackupResourceId = fromBackupResourceId; + ToBackupResourceId = toBackupResourceId; + TargetBackupStorageRedundancy = targetBackupStorageRedundancy; + Status = status; + Message = message; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets request Id. + /// + [JsonProperty(PropertyName = "properties.requestId")] + public System.Guid? RequestId { get; private set; } + + /// + /// Gets operation type. + /// + [JsonProperty(PropertyName = "properties.operationType")] + public string OperationType { get; private set; } + + /// + /// Gets source backup resource id + /// + [JsonProperty(PropertyName = "properties.fromBackupResourceId")] + public string FromBackupResourceId { get; private set; } + + /// + /// Gets target backup resource id + /// + [JsonProperty(PropertyName = "properties.toBackupResourceId")] + public string ToBackupResourceId { get; private set; } + + /// + /// Gets the storage redundancy type of the copied backup. Possible + /// values include: 'Geo', 'Local', 'Zone' + /// + [JsonProperty(PropertyName = "properties.targetBackupStorageRedundancy")] + public string TargetBackupStorageRedundancy { get; private set; } + + /// + /// Gets operation status + /// + [JsonProperty(PropertyName = "properties.status")] + public string Status { get; private set; } + + /// + /// Gets progress message + /// + [JsonProperty(PropertyName = "properties.message")] + public string Message { get; private set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionPolicy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionPolicy.cs new file mode 100644 index 000000000000..2fc7a7309e5e --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionPolicy.cs @@ -0,0 +1,90 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// A long term retention policy. + /// + [Rest.Serialization.JsonTransformation] + public partial class LongTermRetentionPolicy : ProxyResource + { + /// + /// Initializes a new instance of the LongTermRetentionPolicy class. + /// + public LongTermRetentionPolicy() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the LongTermRetentionPolicy class. + /// + /// Resource ID. + /// Resource name. + /// Resource type. + /// The weekly retention policy for an + /// LTR backup in an ISO 8601 format. + /// The monthly retention policy for an + /// LTR backup in an ISO 8601 format. + /// The yearly retention policy for an + /// LTR backup in an ISO 8601 format. + /// The week of year to take the yearly backup + /// in an ISO 8601 format. + public LongTermRetentionPolicy(string id = default(string), string name = default(string), string type = default(string), string weeklyRetention = default(string), string monthlyRetention = default(string), string yearlyRetention = default(string), int? weekOfYear = default(int?)) + : base(id, name, type) + { + WeeklyRetention = weeklyRetention; + MonthlyRetention = monthlyRetention; + YearlyRetention = yearlyRetention; + WeekOfYear = weekOfYear; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the weekly retention policy for an LTR backup in an + /// ISO 8601 format. + /// + [JsonProperty(PropertyName = "properties.weeklyRetention")] + public string WeeklyRetention { get; set; } + + /// + /// Gets or sets the monthly retention policy for an LTR backup in an + /// ISO 8601 format. + /// + [JsonProperty(PropertyName = "properties.monthlyRetention")] + public string MonthlyRetention { get; set; } + + /// + /// Gets or sets the yearly retention policy for an LTR backup in an + /// ISO 8601 format. + /// + [JsonProperty(PropertyName = "properties.yearlyRetention")] + public string YearlyRetention { get; set; } + + /// + /// Gets or sets the week of year to take the yearly backup in an ISO + /// 8601 format. + /// + [JsonProperty(PropertyName = "properties.weekOfYear")] + public int? WeekOfYear { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/RequestedBackupStorageRedundancy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/RequestedBackupStorageRedundancy.cs new file mode 100644 index 000000000000..ec615258eb11 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/RequestedBackupStorageRedundancy.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + + /// + /// Defines values for RequestedBackupStorageRedundancy. + /// + public static class RequestedBackupStorageRedundancy + { + public const string Geo = "Geo"; + public const string Local = "Local"; + public const string Zone = "Zone"; + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/TargetBackupStorageRedundancy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/TargetBackupStorageRedundancy.cs new file mode 100644 index 000000000000..3f5dea96219a --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/TargetBackupStorageRedundancy.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + + /// + /// Defines values for TargetBackupStorageRedundancy. + /// + public static class TargetBackupStorageRedundancy + { + public const string Geo = "Geo"; + public const string Local = "Local"; + public const string Zone = "Zone"; + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/UpdateLongTermRetentionBackupParameters.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/UpdateLongTermRetentionBackupParameters.cs new file mode 100644 index 000000000000..61a4903dada7 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/UpdateLongTermRetentionBackupParameters.cs @@ -0,0 +1,60 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contains the information necessary to perform long term retention + /// backup update operation. + /// + [Rest.Serialization.JsonTransformation] + public partial class UpdateLongTermRetentionBackupParameters + { + /// + /// Initializes a new instance of the + /// UpdateLongTermRetentionBackupParameters class. + /// + public UpdateLongTermRetentionBackupParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// UpdateLongTermRetentionBackupParameters class. + /// + /// The storage + /// redundancy type of the copied backup. Possible values include: + /// 'Geo', 'Local', 'Zone' + public UpdateLongTermRetentionBackupParameters(string requestedBackupStorageRedundancy = default(string)) + { + RequestedBackupStorageRedundancy = requestedBackupStorageRedundancy; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the storage redundancy type of the copied backup. + /// Possible values include: 'Geo', 'Local', 'Zone' + /// + [JsonProperty(PropertyName = "properties.requestedBackupStorageRedundancy")] + public string RequestedBackupStorageRedundancy { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs index 42bb7ba3d541..9578108af463 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs @@ -19,7 +19,6 @@ public static IEnumerable> ApiInfo_SqlManagementCl { return new Tuple[] { - new Tuple("Sql", "BackupLongTermRetentionPolicies", "2017-03-01-preview"), new Tuple("Sql", "BackupShortTermRetentionPolicies", "2017-10-01-preview"), new Tuple("Sql", "Capabilities", "2020-08-01-preview"), new Tuple("Sql", "DataMaskingPolicies", "2014-04-01"), @@ -34,7 +33,7 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "DatabaseVulnerabilityAssessments", "2017-03-01-preview"), new Tuple("Sql", "Databases", "2014-04-01"), new Tuple("Sql", "Databases", "2020-02-02-preview"), - new Tuple("Sql", "Databases", "2020-08-01-preview"), + new Tuple("Sql", "Databases", "2020-11-01-preview"), new Tuple("Sql", "ElasticPoolActivities", "2014-04-01"), new Tuple("Sql", "ElasticPoolDatabaseActivities", "2014-04-01"), new Tuple("Sql", "ElasticPoolOperations", "2017-10-01-preview"), @@ -58,8 +57,9 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "JobTargetGroups", "2017-03-01-preview"), new Tuple("Sql", "JobVersions", "2017-03-01-preview"), new Tuple("Sql", "Jobs", "2017-03-01-preview"), - new Tuple("Sql", "LongTermRetentionBackups", "2017-03-01-preview"), + new Tuple("Sql", "LongTermRetentionBackups", "2020-11-01-preview"), new Tuple("Sql", "LongTermRetentionManagedInstanceBackups", "2018-06-01-preview"), + new Tuple("Sql", "LongTermRetentionPolicies", "2020-11-01-preview"), new Tuple("Sql", "ManagedBackupShortTermRetentionPolicies", "2017-03-01-preview"), new Tuple("Sql", "ManagedDatabaseRestoreDetails", "2020-02-02-preview"), new Tuple("Sql", "ManagedDatabaseSecurityAlertPolicies", "2017-03-01-preview"), @@ -122,16 +122,5 @@ public static IEnumerable> ApiInfo_SqlManagementCl }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=."; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "4d91da06bf655dc1d61a420e7510778eab1609d8"; - 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.Sql/src/Generated/SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs index cfeb719c5912..ec582a7d1a4e 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs @@ -297,16 +297,6 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual IJobVersionsOperations JobVersions { get; private set; } - /// - /// Gets the ILongTermRetentionBackupsOperations. - /// - public virtual ILongTermRetentionBackupsOperations LongTermRetentionBackups { get; private set; } - - /// - /// Gets the IBackupLongTermRetentionPoliciesOperations. - /// - public virtual IBackupLongTermRetentionPoliciesOperations BackupLongTermRetentionPolicies { get; private set; } - /// /// Gets the IManagedBackupShortTermRetentionPoliciesOperations. /// @@ -553,17 +543,14 @@ public partial class SqlManagementClient : ServiceClient, I public virtual IServerDevOpsAuditSettingsOperations ServerDevOpsAuditSettings { get; private set; } /// - /// Initializes a new instance of the SqlManagementClient class. + /// Gets the ILongTermRetentionBackupsOperations. /// - /// - /// 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(); - } + public virtual ILongTermRetentionBackupsOperations LongTermRetentionBackups { get; private set; } + + /// + /// Gets the ILongTermRetentionPoliciesOperations. + /// + public virtual ILongTermRetentionPoliciesOperations LongTermRetentionPolicies { get; private set; } /// /// Initializes a new instance of the SqlManagementClient class. @@ -660,33 +647,6 @@ 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. /// @@ -838,8 +798,6 @@ private void Initialize() JobTargetExecutions = new JobTargetExecutionsOperations(this); JobTargetGroups = new JobTargetGroupsOperations(this); JobVersions = new JobVersionsOperations(this); - LongTermRetentionBackups = new LongTermRetentionBackupsOperations(this); - BackupLongTermRetentionPolicies = new BackupLongTermRetentionPoliciesOperations(this); ManagedBackupShortTermRetentionPolicies = new ManagedBackupShortTermRetentionPoliciesOperations(this); ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies = new ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations(this); ServerAutomaticTuning = new ServerAutomaticTuningOperations(this); @@ -889,6 +847,8 @@ private void Initialize() ManagedInstanceAzureADOnlyAuthentications = new ManagedInstanceAzureADOnlyAuthenticationsOperations(this); ServerTrustGroups = new ServerTrustGroupsOperations(this); ServerDevOpsAuditSettings = new ServerDevOpsAuditSettingsOperations(this); + LongTermRetentionBackups = new LongTermRetentionBackupsOperations(this); + LongTermRetentionPolicies = new LongTermRetentionPoliciesOperations(this); BaseUri = new System.Uri("https://management.azure.com"); AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Microsoft.Azure.Management.Sql.csproj b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Microsoft.Azure.Management.Sql.csproj index 7120e5ec9f1e..970882a3ad5a 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Microsoft.Azure.Management.Sql.csproj +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Microsoft.Azure.Management.Sql.csproj @@ -7,12 +7,12 @@ Microsoft.Azure.Management.Sql Azure SQL Management SDK library Microsoft.Azure.Management.Sql - 1.49.0-preview + 1.50.0-preview Microsoft Azure SQL Management;SQL;SQL Management; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseCrudScenarioTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseCrudScenarioTests.cs index 7a5157996663..d323655e375a 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseCrudScenarioTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseCrudScenarioTests.cs @@ -55,7 +55,7 @@ public void TestCreateDropDatabase() Tags = tags, CreateMode = "Default", SampleName = SampleName.AdventureWorksLT, - StorageAccountType = "GRS", + RequestedBackupStorageRedundancy = "Geo", }; var db2 = sqlClient.Databases.CreateOrUpdate(resourceGroup.Name, server.Name, dbName, db2Input); Assert.NotNull(db2); @@ -117,7 +117,7 @@ public void TestCreateDropDatabase() var db8Input = new Database() { Location = server.Location, - StorageAccountType = "GRS", + RequestedBackupStorageRedundancy = "Geo", }; var db8 = sqlClient.Databases.CreateOrUpdate(resourceGroup.Name, server.Name, dbName, db8Input); Assert.NotNull(db8); diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseLongTermRetentionTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseLongTermRetentionTests.cs new file mode 100644 index 000000000000..cdeefd3db5e4 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseLongTermRetentionTests.cs @@ -0,0 +1,106 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using Microsoft.Azure.Management.ResourceManager; +using Microsoft.Azure.Management.ResourceManager.Models; +using Microsoft.Azure.Management.Sql; +using Microsoft.Azure.Management.Sql.Models; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.Rest.Azure; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using Xunit; + +namespace Sql.Tests +{ + public class DatabaseLongTermRetentionBackupsTests + { + [Fact(Skip = "Manual test due to long setup time required (over 18 hours).")] public void TestUpdateLongTermRetentionBackup() + { + // 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 = "Southeast Asia"; + string resourceGroupName = "testrg"; + string serverName = "ayang-stage-seas"; + string databaseName = "ltr3"; + + using (SqlManagementTestContext context = new SqlManagementTestContext(this)) + { + SqlManagementClient sqlClient = context.GetClient(); + Database database = sqlClient.Databases.Get(resourceGroupName, serverName, databaseName); + + // Get backups under database + // + IPage backups = sqlClient.LongTermRetentionBackups.ListByResourceGroupDatabase(resourceGroupName, locationName, serverName, databaseName); + Assert.True(backups.Count() >= 1); + + // Get a single backup using the previous call + // + LongTermRetentionBackup backup = sqlClient.LongTermRetentionBackups.GetByResourceGroup(resourceGroupName, locationName, serverName, databaseName, backups.First().Name); + Assert.NotNull(backup); + + // Update the Backup Storage Redundancy of the backup + // + UpdateLongTermRetentionBackupParameters updateParameters = new UpdateLongTermRetentionBackupParameters(requestedBackupStorageRedundancy: "Geo"); + LongTermRetentionBackupOperationResult restoredDatabase = sqlClient.LongTermRetentionBackups.Update(locationName, serverName, databaseName, backup.Name, updateParameters); + } + } + + [Fact(Skip = "Manual test due to long setup time required (over 18 hours).")] + public void TestCopyLongTermRetentionBackup() + { + // MANUAL TEST INSTRUCTIONS + // PlayBack Mode: + // Make sure information below matches what is gets recorded in Session Records + // 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 + // OR + // Use existing instance/database that already has LTR backups + // + string locationName = "southeastasia"; + string subscriptionId = "01c4ec88-e179-44f7-9eb0-e9719a5087ab"; + string resourceGroupName = "testrg"; + string sourceServerName = "ayang-stage-seas"; + string sourceDatabaseName = "ltr3"; + string targetServerName = "ayang-stage-seas-1"; + string targetDatabaseName = "ltr1"; + + + using (SqlManagementTestContext context = new SqlManagementTestContext(this)) + { + SqlManagementClient sqlClient = context.GetClient(); + Database database = sqlClient.Databases.Get(resourceGroupName, sourceServerName, sourceDatabaseName); + + // Get backups under database + // + IPage backups = sqlClient.LongTermRetentionBackups.ListByResourceGroupDatabase(resourceGroupName, locationName, sourceServerName, sourceDatabaseName); + Assert.True(backups.Count() >= 1); + + // Get a single backup using the previous call + // + LongTermRetentionBackup backup = sqlClient.LongTermRetentionBackups.GetByResourceGroup(resourceGroupName, locationName, sourceServerName, sourceDatabaseName, backups.First().Name); + Assert.NotNull(backup); + + // Copy the backup to target database + // + string targetServerResourceId = String.Format("/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Sql/servers/{2}", subscriptionId, resourceGroupName, targetServerName); + CopyLongTermRetentionBackupParameters copyParameters = new CopyLongTermRetentionBackupParameters( + targetSubscriptionId: subscriptionId, + targetResourceGroup: resourceGroupName, + targetServerResourceId: targetServerResourceId, + targetDatabaseName: targetDatabaseName); + LongTermRetentionBackupOperationResult restoredDatabase = sqlClient.LongTermRetentionBackups.Copy(locationName, sourceServerName, sourceDatabaseName, backup.Name, copyParameters); + } + } + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseRestoreScenarioTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseRestoreScenarioTests.cs index ee00d34b16db..58c98ecd90c7 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseRestoreScenarioTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseRestoreScenarioTests.cs @@ -16,6 +16,7 @@ using System.Linq; using System.Threading; using Xunit; +using LongTermRetentionPolicy = Microsoft.Azure.Management.Sql.Models.LongTermRetentionPolicy; namespace Sql.Tests { @@ -178,7 +179,7 @@ public void TestLongTermRetentionV2Policies() // Get the policy and verify it is the default policy // - BackupLongTermRetentionPolicy policy = sqlClient.BackupLongTermRetentionPolicies.Get(resourceGroup.Name, server.Name, database.Name); + LongTermRetentionPolicy policy = sqlClient.LongTermRetentionPolicies.Get(resourceGroup.Name, server.Name, database.Name); Assert.Equal(defaultPolicy, policy.WeeklyRetention); Assert.Equal(defaultPolicy, policy.MonthlyRetention); Assert.Equal(defaultPolicy, policy.YearlyRetention); @@ -186,12 +187,12 @@ public void TestLongTermRetentionV2Policies() // Set the retention policy to two weeks for the weekly retention policy // - BackupLongTermRetentionPolicy parameters = new BackupLongTermRetentionPolicy(weeklyRetention: "P2W"); - sqlClient.BackupLongTermRetentionPolicies.CreateOrUpdate(resourceGroup.Name, server.Name, database.Name, parameters); + LongTermRetentionPolicy parameters = new LongTermRetentionPolicy(weeklyRetention: "P2W"); + sqlClient.LongTermRetentionPolicies.CreateOrUpdate(resourceGroup.Name, server.Name, database.Name, parameters); // Get the policy and verify the weekly policy is two weeks but all the rest stayed the same // - policy = sqlClient.BackupLongTermRetentionPolicies.Get(resourceGroup.Name, server.Name, database.Name); + policy = sqlClient.LongTermRetentionPolicies.Get(resourceGroup.Name, server.Name, database.Name); Assert.Equal(parameters.WeeklyRetention, policy.WeeklyRetention); Assert.Equal(defaultPolicy, policy.MonthlyRetention); Assert.Equal(defaultPolicy, policy.YearlyRetention); @@ -333,7 +334,7 @@ public void TestLongTermRetentionV2ResourceGroupBasedCrud() { Location = locationName, CreateMode = CreateMode.RestoreLongTermRetentionBackup, - LongTermRetentionBackupResourceId = backup.Id + LongTermRetentionBackupResourceId = backup.Id }); // Delete the backup. diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCopyScenarioTests/TestCopyDatabase.json b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCopyScenarioTests/TestCopyDatabase.json index 36db58e0ad24..585fbd9f1256 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCopyScenarioTests/TestCopyDatabase.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCopyScenarioTests/TestCopyDatabase.json @@ -1,51 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourcegroups/sqlcrudtest-536?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTUzNj9hcGktdmVyc2lvbj0yMDE3LTA1LTEw", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourcegroups/sqlcrudtest-2679?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTI2Nzk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"central us\",\r\n \"tags\": {\r\n \"sqlcrudtest-536\": \"2020-10-06 19:05:57Z\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {\r\n \"sqlcrudtest-2679\": \"2021-02-26 05:12:40Z\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "36a36fa4-c1d0-4f31-a82c-ed253087e3d7" + "a15e7c87-11b1-4e28-a742-f7eaaf8e9f31" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", + "OSVersion/Microsoft.Windows.10.0.14393.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "98" + "103" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:05:57 GMT" - ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1199" ], "x-ms-request-id": [ - "99b3e661-e759-4aee-9afe-3319f2a0258e" + "4a154d0b-19ac-444c-8b68-08a9804732d7" ], "x-ms-correlation-request-id": [ - "99b3e661-e759-4aee-9afe-3319f2a0258e" + "4a154d0b-19ac-444c-8b68-08a9804732d7" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190558Z:99b3e661-e759-4aee-9afe-3319f2a0258e" + "NORTHEUROPE:20210226T051241Z:4a154d0b-19ac-444c-8b68-08a9804732d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -53,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:12:41 GMT" + ], "Content-Length": [ - "236" + "243" ], "Content-Type": [ "application/json; charset=utf-8" @@ -63,67 +63,64 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536\",\r\n \"name\": \"sqlcrudtest-536\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"sqlcrudtest-536\": \"2020-10-06 19:05:57Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679\",\r\n \"name\": \"sqlcrudtest-2679\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"sqlcrudtest-2679\": \"2021-02-26 05:12:40Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-8055?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbGNydWR0ZXN0LTgwNTU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02Nzk4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"central us\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "de8caf03-062b-4c24-8955-f09cd3e22e00" + "6f4582f5-9329-4c16-9347-85d41b67c1f0" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "184" + "188" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:05:59 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverOperationResults/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview" ], "Retry-After": [ "1" ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "3969749d-81e8-47b0-a65b-69921115a303" + "2cc992a2-296a-44dd-94af-ed4c18fdfe47" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1198" ], "x-ms-correlation-request-id": [ - "5934778a-d97a-4710-8d0f-ab3677e3c8ad" + "bccf5dcd-bbc0-4c9d-9954-4e09227cc916" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190559Z:5934778a-d97a-4710-8d0f-ab3677e3c8ad" + "NORTHEUROPE:20210226T051245Z:bccf5dcd-bbc0-4c9d-9954-4e09227cc916" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -131,8 +128,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:12:44 GMT" + ], "Content-Length": [ - "74" + "73" ], "Content-Type": [ "application/json; charset=utf-8" @@ -141,49 +141,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2020-10-06T19:05:59.597Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2021-02-26T05:12:45.31Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMzk2OTc0OWQtODFlOC00N2IwLWE2NWItNjk5MjExMTVhMzAzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:00 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "1" ], + "x-ms-request-id": [ + "ab3c2df4-9b82-4cc6-a729-abc9e86819f5" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "53d62aab-3ec8-4514-b824-7fbfc25c42dd" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11941" + "14991" ], "x-ms-correlation-request-id": [ - "d6d532ee-7a14-40dd-8b71-6a3c4b981bac" + "28b579c8-e02b-4aef-8545-38f47134d30a" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190600Z:d6d532ee-7a14-40dd-8b71-6a3c4b981bac" + "NORTHEUROPE:20210226T051246Z:28b579c8-e02b-4aef-8545-38f47134d30a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -191,8 +188,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:12:46 GMT" + ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -201,49 +201,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"3969749d-81e8-47b0-a65b-69921115a303\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:05:59.597Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2cc992a2-296a-44dd-94af-ed4c18fdfe47\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:12:45.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMzk2OTc0OWQtODFlOC00N2IwLWE2NWItNjk5MjExMTVhMzAzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:01 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "1" ], + "x-ms-request-id": [ + "de7f2886-9521-44f4-8161-29a81e4de0b7" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "757a9fe2-a51c-4b3a-bab5-42760ace9e97" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11940" + "14990" ], "x-ms-correlation-request-id": [ - "17a7dbcd-f275-4213-aa60-a6beb9402c5d" + "29457366-4759-4b29-867c-bb8440fc4a3b" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190601Z:17a7dbcd-f275-4213-aa60-a6beb9402c5d" + "NORTHEUROPE:20210226T051248Z:29457366-4759-4b29-867c-bb8440fc4a3b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -251,8 +248,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:12:47 GMT" + ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -261,49 +261,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"3969749d-81e8-47b0-a65b-69921115a303\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:05:59.597Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2cc992a2-296a-44dd-94af-ed4c18fdfe47\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:12:45.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMzk2OTc0OWQtODFlOC00N2IwLWE2NWItNjk5MjExMTVhMzAzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:02 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "1" ], + "x-ms-request-id": [ + "a872e5ad-a410-4ae3-879b-df7de96f497f" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "bbada93f-f67d-44ad-b309-3a818715a251" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11939" + "14989" ], "x-ms-correlation-request-id": [ - "c247eef0-39b6-49f6-85bf-1b225534bcfc" + "c9b71bdf-27f5-40f5-b998-52bc90db5ca4" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190603Z:c247eef0-39b6-49f6-85bf-1b225534bcfc" + "NORTHEUROPE:20210226T051249Z:c9b71bdf-27f5-40f5-b998-52bc90db5ca4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -311,8 +308,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:12:49 GMT" + ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -321,49 +321,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"3969749d-81e8-47b0-a65b-69921115a303\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:05:59.597Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2cc992a2-296a-44dd-94af-ed4c18fdfe47\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:12:45.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMzk2OTc0OWQtODFlOC00N2IwLWE2NWItNjk5MjExMTVhMzAzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:03 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ - "1" + "20" + ], + "x-ms-request-id": [ + "21719850-bbb0-49ad-97ba-08581509bf41" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "25b1b65b-eb5c-48c7-bdeb-111e2cdb1836" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11938" + "14988" ], "x-ms-correlation-request-id": [ - "a21d11f2-8428-4cd7-8f4f-95385327dd59" + "da5c7d08-43b8-4038-ab77-2714709cefe6" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190604Z:a21d11f2-8428-4cd7-8f4f-95385327dd59" + "NORTHEUROPE:20210226T051250Z:da5c7d08-43b8-4038-ab77-2714709cefe6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -371,8 +368,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:12:50 GMT" + ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -381,49 +381,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"3969749d-81e8-47b0-a65b-69921115a303\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:05:59.597Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2cc992a2-296a-44dd-94af-ed4c18fdfe47\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:12:45.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMzk2OTc0OWQtODFlOC00N2IwLWE2NWItNjk5MjExMTVhMzAzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:04 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "20" ], + "x-ms-request-id": [ + "b8c4e757-72c7-4d8b-92c7-6312e7f389df" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "d0f98c3c-4c0b-4747-bc62-7b07d41333c7" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11937" + "14987" ], "x-ms-correlation-request-id": [ - "d1ff8206-d5bb-40ce-a6e8-a7bb5b7ea969" + "90d27f83-d10d-4637-83b4-6d154ee7500b" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190605Z:d1ff8206-d5bb-40ce-a6e8-a7bb5b7ea969" + "NORTHEUROPE:20210226T051311Z:90d27f83-d10d-4637-83b4-6d154ee7500b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -431,8 +428,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:10 GMT" + ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -441,49 +441,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"3969749d-81e8-47b0-a65b-69921115a303\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:05:59.597Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2cc992a2-296a-44dd-94af-ed4c18fdfe47\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:12:45.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMzk2OTc0OWQtODFlOC00N2IwLWE2NWItNjk5MjExMTVhMzAzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:24 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "20" ], + "x-ms-request-id": [ + "9a088bfe-cc5c-46c8-bd0f-87e9e8ffc1f7" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "dfe93cba-dab1-40c2-8454-c47b5c2e8518" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11936" + "14986" ], "x-ms-correlation-request-id": [ - "e257f443-9777-4765-bd59-664aa6683e64" + "1765519a-a0f9-496a-99ab-0b2d4d9fae0a" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190625Z:e257f443-9777-4765-bd59-664aa6683e64" + "NORTHEUROPE:20210226T051331Z:1765519a-a0f9-496a-99ab-0b2d4d9fae0a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -491,8 +488,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:30 GMT" + ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -501,49 +501,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"3969749d-81e8-47b0-a65b-69921115a303\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:05:59.597Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2cc992a2-296a-44dd-94af-ed4c18fdfe47\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:12:45.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/3969749d-81e8-47b0-a65b-69921115a303?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMzk2OTc0OWQtODFlOC00N2IwLWE2NWItNjk5MjExMTVhMzAzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:44 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "2edd4703-b9df-4085-819b-428bd6b71368" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "5a91a16c-687d-4e7c-9a86-2bc2803f8909" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11935" + "14985" ], "x-ms-correlation-request-id": [ - "83f23e86-4029-48ae-90ac-a1a63d540d0e" + "269e71cf-e2cd-4f88-97a9-d1c4a43aa84b" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190645Z:83f23e86-4029-48ae-90ac-a1a63d540d0e" + "NORTHEUROPE:20210226T051351Z:269e71cf-e2cd-4f88-97a9-d1c4a43aa84b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -551,8 +548,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:51 GMT" + ], "Content-Length": [ - "107" + "106" ], "Content-Type": [ "application/json; charset=utf-8" @@ -561,46 +561,43 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"3969749d-81e8-47b0-a65b-69921115a303\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-10-06T19:05:59.597Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2cc992a2-296a-44dd-94af-ed4c18fdfe47\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:12:45.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-8055?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbGNydWR0ZXN0LTgwNTU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02Nzk4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:44 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-request-id": [ + "5c566a32-c56a-4713-b281-91f6c266016d" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "f933d6ae-c3c6-4541-954d-a4f84935526c" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11934" + "14984" ], "x-ms-correlation-request-id": [ - "ab881342-3558-4ebc-83cd-fe066fef8c0d" + "279c9b4b-825a-46b4-89bf-fe09959371a7" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190645Z:ab881342-3558-4ebc-83cd-fe066fef8c0d" + "NORTHEUROPE:20210226T051352Z:279c9b4b-825a-46b4-89bf-fe09959371a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -608,8 +605,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:51 GMT" + ], "Content-Length": [ - "458" + "464" ], "Content-Type": [ "application/json; charset=utf-8" @@ -618,67 +618,64 @@ "-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-8055.database.windows.net\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"centralus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-8055\",\r\n \"name\": \"sqlcrudtest-8055\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-6798.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798\",\r\n \"name\": \"sqlcrudtest-6798\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-453?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbGNydWR0ZXN0LTQ1Mz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NzA3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"central us\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7bab62bd-dfc7-4b12-a142-439ec332b9c1" + "db8565d8-cd65-4de4-b1b4-513f0be207b7" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "184" + "188" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:46 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverOperationResults/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview" ], "Retry-After": [ "1" ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4" + "f3328cf3-762b-47ae-bb4f-15ac27625fee" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1197" ], "x-ms-correlation-request-id": [ - "22cd9c56-1c12-44af-b8b5-889c938fbdf6" + "f8851e4d-99f5-4f3e-be7e-c075d821faeb" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190646Z:22cd9c56-1c12-44af-b8b5-889c938fbdf6" + "NORTHEUROPE:20210226T051354Z:f8851e4d-99f5-4f3e-be7e-c075d821faeb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -686,8 +683,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:54 GMT" + ], "Content-Length": [ - "72" + "74" ], "Content-Type": [ "application/json; charset=utf-8" @@ -696,109 +696,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2020-10-06T19:06:46.8Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2021-02-26T05:13:54.413Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZTVlYzNjZWQtNmI2Ny00MTMxLWI2YmQtMGQxMGIyZjc1ZGM0P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:47 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "1" ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], "x-ms-request-id": [ - "032045b6-b1c0-4e36-b136-6a42d0ec0994" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11933" - ], - "x-ms-correlation-request-id": [ - "eadc3102-9f4d-4cdb-bc32-4a85d6f2202d" - ], - "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190648Z:eadc3102-9f4d-4cdb-bc32-4a85d6f2202d" - ], - "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\": \"e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:06:46.8Z\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZTVlYzNjZWQtNmI2Ny00MTMxLWI2YmQtMGQxMGIyZjc1ZGM0P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.26614.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Tue, 06 Oct 2020 19:06:49 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "1" + "946fb2e0-7293-4323-9402-ebcc6a58c6da" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "dc78ac2f-0011-41e4-a560-095bd9ec1a40" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11932" + "14983" ], "x-ms-correlation-request-id": [ - "231507ca-3387-4e8d-aef8-612d4ca30716" + "93d834cc-41fb-4e3d-a0ac-2c0b4779380f" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190649Z:231507ca-3387-4e8d-aef8-612d4ca30716" + "NORTHEUROPE:20210226T051355Z:93d834cc-41fb-4e3d-a0ac-2c0b4779380f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -806,8 +743,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:55 GMT" + ], "Content-Length": [ - "106" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -816,49 +756,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:06:46.8Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f3328cf3-762b-47ae-bb4f-15ac27625fee\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:13:54.413Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZTVlYzNjZWQtNmI2Ny00MTMxLWI2YmQtMGQxMGIyZjc1ZGM0P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:50 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "1" ], + "x-ms-request-id": [ + "176dc1dc-7807-4ce2-9a85-4c375112fd83" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "b4ab6169-a2b3-4fca-a51c-27008bd74687" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11931" + "14982" ], "x-ms-correlation-request-id": [ - "1e1c8de8-42ba-4042-9091-d175bfdc6f83" + "51264229-426d-4b9b-a3cb-2bb7b32a77fc" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190650Z:1e1c8de8-42ba-4042-9091-d175bfdc6f83" + "NORTHEUROPE:20210226T051357Z:51264229-426d-4b9b-a3cb-2bb7b32a77fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -866,8 +803,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:56 GMT" + ], "Content-Length": [ - "106" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -876,49 +816,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:06:46.8Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f3328cf3-762b-47ae-bb4f-15ac27625fee\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:13:54.413Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZTVlYzNjZWQtNmI2Ny00MTMxLWI2YmQtMGQxMGIyZjc1ZGM0P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:51 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "1" ], + "x-ms-request-id": [ + "87b6e907-3f85-4cfd-9810-daa328176df9" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "7d8747ae-6677-48b1-815c-ac40775c9b85" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11930" + "14981" ], "x-ms-correlation-request-id": [ - "a872503a-1bde-4e45-8037-cebf8e2a5680" + "64c66d29-6b31-4650-9b91-3d36d1b86e0b" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190651Z:a872503a-1bde-4e45-8037-cebf8e2a5680" + "NORTHEUROPE:20210226T051358Z:64c66d29-6b31-4650-9b91-3d36d1b86e0b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -926,8 +863,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:58 GMT" + ], "Content-Length": [ - "106" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -936,49 +876,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:06:46.8Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f3328cf3-762b-47ae-bb4f-15ac27625fee\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:13:54.413Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZTVlYzNjZWQtNmI2Ny00MTMxLWI2YmQtMGQxMGIyZjc1ZGM0P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:06:52 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "20" ], + "x-ms-request-id": [ + "c7760fb2-0b62-4128-a080-d5f10e4ae86c" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "e34e7473-932d-4536-8853-0abc436cd460" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11929" + "14980" ], "x-ms-correlation-request-id": [ - "fff92837-e527-4399-9f02-7a93d51aa5fb" + "11d99d67-5095-42d2-8c70-3e4aaf32ff93" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190652Z:fff92837-e527-4399-9f02-7a93d51aa5fb" + "NORTHEUROPE:20210226T051359Z:11d99d67-5095-42d2-8c70-3e4aaf32ff93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -986,8 +923,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:13:59 GMT" + ], "Content-Length": [ - "106" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -996,49 +936,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:06:46.8Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f3328cf3-762b-47ae-bb4f-15ac27625fee\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:13:54.413Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZTVlYzNjZWQtNmI2Ny00MTMxLWI2YmQtMGQxMGIyZjc1ZGM0P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:07:12 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "20" ], + "x-ms-request-id": [ + "02af9b5c-c36d-46b6-bfad-dbc91b2885df" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "58de2d9a-84b3-4820-81af-0570160ab57d" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11928" + "14979" ], "x-ms-correlation-request-id": [ - "6725f9e3-cafe-41ed-aa0e-c1540013424a" + "e79571e3-0a06-4306-8837-d9d2737c3404" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190712Z:6725f9e3-cafe-41ed-aa0e-c1540013424a" + "NORTHEUROPE:20210226T051420Z:e79571e3-0a06-4306-8837-d9d2737c3404" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1046,8 +983,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:14:20 GMT" + ], "Content-Length": [ - "106" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1056,49 +996,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:06:46.8Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f3328cf3-762b-47ae-bb4f-15ac27625fee\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:13:54.413Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/serverAzureAsyncOperation/e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZTVlYzNjZWQtNmI2Ny00MTMxLWI2YmQtMGQxMGIyZjc1ZGM0P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:07:32 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "8fec69ff-c02d-4a0d-8dea-fa7b21e4eb87" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "fe72254f-d931-4b55-abfd-b404c660c91b" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11927" + "14978" ], "x-ms-correlation-request-id": [ - "b1f46efe-9c88-41f0-82cb-52f4a3b292a1" + "701199f4-557b-4ba9-8c64-0e260f4e2e2a" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190732Z:b1f46efe-9c88-41f0-82cb-52f4a3b292a1" + "NORTHEUROPE:20210226T051440Z:701199f4-557b-4ba9-8c64-0e260f4e2e2a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1106,8 +1043,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:14:40 GMT" + ], "Content-Length": [ - "105" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1116,46 +1056,43 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"e5ec3ced-6b67-4131-b6bd-0d10b2f75dc4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-10-06T19:06:46.8Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f3328cf3-762b-47ae-bb4f-15ac27625fee\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:13:54.413Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-453?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbGNydWR0ZXN0LTQ1Mz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NzA3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:07:32 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-request-id": [ + "930007b5-8c96-4eaa-9b44-ae295581a2aa" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "268d4cbb-b690-403b-b40e-7df581baa7f0" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11926" + "14977" ], "x-ms-correlation-request-id": [ - "9f3fc322-22af-4e26-92d8-26dc86a5a3c1" + "42b39808-c3f2-443f-b7f0-626c14668b5c" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190732Z:9f3fc322-22af-4e26-92d8-26dc86a5a3c1" + "NORTHEUROPE:20210226T051440Z:42b39808-c3f2-443f-b7f0-626c14668b5c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1163,8 +1100,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:14:40 GMT" + ], "Content-Length": [ - "455" + "464" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1173,67 +1113,64 @@ "-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-453.database.windows.net\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"centralus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-453\",\r\n \"name\": \"sqlcrudtest-453\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-7707.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707\",\r\n \"name\": \"sqlcrudtest-7707\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-8055/databases/sqlcrudtest-7819?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbGNydWR0ZXN0LTgwNTUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTc4MTk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02Nzk4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNTE5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000\r\n },\r\n \"location\": \"centralus\"\r\n}", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000\r\n },\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "c0d4d801-7e38-4774-b438-daf66740741f" + "13682a3d-a4d6-419b-a26f-d0ed81ac1420" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "206" + "210" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:07:33 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseOperationResults/6bb4ce72-aef1-4b1a-8380-7601125fd292?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/6bb4ce72-aef1-4b1a-8380-7601125fd292?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview" ], "x-ms-request-id": [ - "6bb4ce72-aef1-4b1a-8380-7601125fd292" + "bafbbb8a-f2ac-4812-a910-f9be150e592c" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1196" ], "x-ms-correlation-request-id": [ - "5b3d1b8a-b834-4241-93a4-f992f6aa98b6" + "38738edc-e28c-401c-b328-67c76a0091c6" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190733Z:5b3d1b8a-b834-4241-93a4-f992f6aa98b6" + "NORTHEUROPE:20210226T051442Z:38738edc-e28c-401c-b328-67c76a0091c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1241,6 +1178,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:14:42 GMT" + ], "Content-Length": [ "76" ], @@ -1251,49 +1191,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-10-06T19:07:33.553Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2021-02-26T05:14:42.813Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/6bb4ce72-aef1-4b1a-8380-7601125fd292?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi82YmI0Y2U3Mi1hZWYxLTRiMWEtODM4MC03NjAxMTI1ZmQyOTI/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JhZmJiYjhhLWYyYWMtNDgxMi1hOTEwLWY5YmUxNTBlNTkyYz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:07:48 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "e1c34445-d536-40ea-8b4f-ac19cff15aaf" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "ca957478-13b8-463e-af43-a7bd0f2a65e7" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11925" + "14976" ], "x-ms-correlation-request-id": [ - "3f0283d3-0419-4455-8783-d5ad029cc46b" + "5bbc69f6-e11a-485f-9a6e-2e17ac827380" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190748Z:3f0283d3-0419-4455-8783-d5ad029cc46b" + "NORTHEUROPE:20210226T051458Z:5bbc69f6-e11a-485f-9a6e-2e17ac827380" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1301,6 +1238,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:14:57 GMT" + ], "Content-Length": [ "108" ], @@ -1311,49 +1251,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"6bb4ce72-aef1-4b1a-8380-7601125fd292\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:07:33.553Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"bafbbb8a-f2ac-4812-a910-f9be150e592c\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:14:42.813Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/6bb4ce72-aef1-4b1a-8380-7601125fd292?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi82YmI0Y2U3Mi1hZWYxLTRiMWEtODM4MC03NjAxMTI1ZmQyOTI/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JhZmJiYjhhLWYyYWMtNDgxMi1hOTEwLWY5YmUxNTBlNTkyYz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:08:03 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "b1725acb-361b-49b9-a89a-ace43cda511c" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "c492c157-53c0-4606-b37f-14aec13beb1c" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11924" + "14975" ], "x-ms-correlation-request-id": [ - "876a7206-bc41-49b8-9d69-563de4f73699" + "92f9cb6d-d8c8-416f-99e8-71988d60badd" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190803Z:876a7206-bc41-49b8-9d69-563de4f73699" + "NORTHEUROPE:20210226T051513Z:92f9cb6d-d8c8-416f-99e8-71988d60badd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1361,6 +1298,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:15:13 GMT" + ], "Content-Length": [ "108" ], @@ -1371,49 +1311,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"6bb4ce72-aef1-4b1a-8380-7601125fd292\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:07:33.553Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"bafbbb8a-f2ac-4812-a910-f9be150e592c\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:14:42.813Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/6bb4ce72-aef1-4b1a-8380-7601125fd292?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi82YmI0Y2U3Mi1hZWYxLTRiMWEtODM4MC03NjAxMTI1ZmQyOTI/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JhZmJiYjhhLWYyYWMtNDgxMi1hOTEwLWY5YmUxNTBlNTkyYz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:08:18 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "79aefce2-e691-4a23-8696-beff83467fef" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "e91c9a4d-1d16-431f-98a8-3037dab0a849" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11923" + "14974" ], "x-ms-correlation-request-id": [ - "4c199db0-5a74-4fe7-886c-f5372539ca09" + "f8c9072e-1d5f-4329-aa63-ece3b886f469" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190819Z:4c199db0-5a74-4fe7-886c-f5372539ca09" + "NORTHEUROPE:20210226T051528Z:f8c9072e-1d5f-4329-aa63-ece3b886f469" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1421,6 +1358,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:15:28 GMT" + ], "Content-Length": [ "108" ], @@ -1431,49 +1371,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"6bb4ce72-aef1-4b1a-8380-7601125fd292\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:07:33.553Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"bafbbb8a-f2ac-4812-a910-f9be150e592c\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:14:42.813Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/6bb4ce72-aef1-4b1a-8380-7601125fd292?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi82YmI0Y2U3Mi1hZWYxLTRiMWEtODM4MC03NjAxMTI1ZmQyOTI/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JhZmJiYjhhLWYyYWMtNDgxMi1hOTEwLWY5YmUxNTBlNTkyYz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:08:34 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "3ecc0778-d673-4350-850c-12cdcfa4bb11" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "6208ad48-2505-42a1-8e68-734700dd70ea" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11922" + "14973" ], "x-ms-correlation-request-id": [ - "c039318d-3a81-40b6-ba26-6248634cf622" + "1ac1a6fe-99ae-47c1-a66b-c8d911934a22" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190834Z:c039318d-3a81-40b6-ba26-6248634cf622" + "NORTHEUROPE:20210226T051544Z:1ac1a6fe-99ae-47c1-a66b-c8d911934a22" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1481,6 +1418,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:15:44 GMT" + ], "Content-Length": [ "107" ], @@ -1491,46 +1431,43 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"6bb4ce72-aef1-4b1a-8380-7601125fd292\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-10-06T19:07:33.553Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"bafbbb8a-f2ac-4812-a910-f9be150e592c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:14:42.813Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-8055/databases/sqlcrudtest-7819?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbGNydWR0ZXN0LTgwNTUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTc4MTk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02Nzk4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNTE5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:08:35 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-request-id": [ + "59fbc6be-3f6a-4438-b78c-28bce758603e" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "f826147e-1cd1-49ff-9bb6-589ddaf03bee" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11921" + "14972" ], "x-ms-correlation-request-id": [ - "b2637103-84ec-4746-a9aa-14e6c224f1ef" + "f2e3dd69-d8bd-4158-8ca7-119fbec1ea1b" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190835Z:b2637103-84ec-4746-a9aa-14e6c224f1ef" + "NORTHEUROPE:20210226T051544Z:f2e3dd69-d8bd-4158-8ca7-119fbec1ea1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1538,8 +1475,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:15:44 GMT" + ], "Content-Length": [ - "865" + "1039" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1548,67 +1488,64 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"f9494d66-533a-43e6-999e-3ed2e96adc7e\",\r\n \"creationDate\": \"2020-10-06T19:08:22.12Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"eastus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-10-06T19:38:22.12Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"centralus\",\r\n \"id\": \"/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-8055/databases/sqlcrudtest-7819\",\r\n \"name\": \"sqlcrudtest-7819\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"2769babe-b362-422c-8459-1a91fa7dc02c\",\r\n \"creationDate\": \"2021-02-26T05:15:35.857Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519\",\r\n \"name\": \"sqlcrudtest-3519\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-453/databases/sqlcrudtest-583?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbGNydWR0ZXN0LTQ1My9kYXRhYmFzZXMvc3FsY3J1ZHRlc3QtNTgzP2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NzA3L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Mjg5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"createMode\": \"Copy\",\r\n \"sourceDatabaseId\": \"/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-8055/databases/sqlcrudtest-7819\"\r\n },\r\n \"location\": \"centralus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"createMode\": \"Copy\",\r\n \"sourceDatabaseId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519\"\r\n },\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "b4c3676a-14b4-4317-9c5f-0ff3bd156f5c" + "c9fa3e3b-cefc-499b-9d21-344b48149a12" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "269" + "274" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:08:40 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseOperationResults/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview" ], "x-ms-request-id": [ - "209c9c71-013b-4bdd-9fa4-f052e648b645" + "329be30d-b35f-4262-afaa-9a24ee5c601f" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1195" ], "x-ms-correlation-request-id": [ - "6dcba158-f238-4ebe-b637-a900c7954457" + "659aa62d-a117-4cfd-9d89-9ef0197ef901" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190840Z:6dcba158-f238-4ebe-b637-a900c7954457" + "NORTHEUROPE:20210226T051546Z:659aa62d-a117-4cfd-9d89-9ef0197ef901" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1616,8 +1553,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:15:46 GMT" + ], "Content-Length": [ - "75" + "74" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1626,49 +1566,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateDatabaseAsCopy\",\r\n \"startTime\": \"2020-10-06T19:08:39.873Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateDatabaseAsCopy\",\r\n \"startTime\": \"2021-02-26T05:15:46.89Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9mMzdhZTU5Zi1jNGM1LTQ2MGYtOWQ5NS1hNmZjYjQ5Nzg4Zjk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:08:54 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "fe5de800-5a02-4ac2-92d4-8018d9d6df4e" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "fd345501-7829-4785-a17a-57bae8e29817" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11920" + "14971" ], "x-ms-correlation-request-id": [ - "b1642e2f-097e-455d-8089-495612298f9f" + "a960f052-705d-4680-8bd7-b4dd680afa8c" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190855Z:b1642e2f-097e-455d-8089-495612298f9f" + "NORTHEUROPE:20210226T051602Z:a960f052-705d-4680-8bd7-b4dd680afa8c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1676,6 +1613,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:16:01 GMT" + ], "Content-Length": [ "108" ], @@ -1686,49 +1626,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"f37ae59f-c4c5-460f-9d95-a6fcb49788f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:08:40.217Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9mMzdhZTU5Zi1jNGM1LTQ2MGYtOWQ5NS1hNmZjYjQ5Nzg4Zjk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:09:10 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "1341fb83-edc1-4d2f-9e39-b9cd17f34bab" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "246c5cca-4827-40b6-b2cf-f52b047dbeee" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11919" + "14970" ], "x-ms-correlation-request-id": [ - "b126c39e-f535-405f-adaf-cc31243d895c" + "08b23879-d9cb-4aa7-bc6b-a6e85848b939" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190910Z:b126c39e-f535-405f-adaf-cc31243d895c" + "NORTHEUROPE:20210226T051617Z:08b23879-d9cb-4aa7-bc6b-a6e85848b939" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1736,6 +1673,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:16:17 GMT" + ], "Content-Length": [ "108" ], @@ -1746,49 +1686,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"f37ae59f-c4c5-460f-9d95-a6fcb49788f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:08:40.217Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9mMzdhZTU5Zi1jNGM1LTQ2MGYtOWQ5NS1hNmZjYjQ5Nzg4Zjk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:09:25 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "878cdd84-29c4-4cb1-8bc2-a6216f288b65" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "d5c320d6-2044-4e47-8dbd-99da3cf18cc0" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11918" + "14969" ], "x-ms-correlation-request-id": [ - "2bc029ea-7249-4b7a-b521-d77e43181c47" + "48c0ec57-e10b-47a3-96ea-bfba6d570488" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190926Z:2bc029ea-7249-4b7a-b521-d77e43181c47" + "NORTHEUROPE:20210226T051633Z:48c0ec57-e10b-47a3-96ea-bfba6d570488" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1796,6 +1733,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:16:33 GMT" + ], "Content-Length": [ "108" ], @@ -1806,49 +1746,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"f37ae59f-c4c5-460f-9d95-a6fcb49788f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:08:40.217Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9mMzdhZTU5Zi1jNGM1LTQ2MGYtOWQ5NS1hNmZjYjQ5Nzg4Zjk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:09:40 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "f647bba7-62f9-4607-b549-9ff43f64fcc1" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "5ed1fd6b-7e04-4d40-88af-bb18df1d2733" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11917" + "14968" ], "x-ms-correlation-request-id": [ - "56dff087-f458-4708-b1fd-cccfc2f8e5de" + "ca2f721f-e3c4-43ae-a438-bf20d303d2fa" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190941Z:56dff087-f458-4708-b1fd-cccfc2f8e5de" + "NORTHEUROPE:20210226T051648Z:ca2f721f-e3c4-43ae-a438-bf20d303d2fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1856,6 +1793,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:16:48 GMT" + ], "Content-Length": [ "108" ], @@ -1866,49 +1806,46 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"f37ae59f-c4c5-460f-9d95-a6fcb49788f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:08:40.217Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9mMzdhZTU5Zi1jNGM1LTQ2MGYtOWQ5NS1hNmZjYjQ5Nzg4Zjk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:09:56 GMT" - ], "Pragma": [ "no-cache" ], "Retry-After": [ "15" ], + "x-ms-request-id": [ + "0def4483-d21c-416e-8a0f-5a2035481161" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "b1c1fb84-3c1b-403d-86fd-f394360d5b4c" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11916" + "14967" ], "x-ms-correlation-request-id": [ - "c1e42635-b8ae-40af-9edb-ae56263fe85a" + "47a41eca-6f92-4921-b1ad-38f51efcb623" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T190956Z:c1e42635-b8ae-40af-9edb-ae56263fe85a" + "NORTHEUROPE:20210226T051703Z:47a41eca-6f92-4921-b1ad-38f51efcb623" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1916,6 +1853,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:17:02 GMT" + ], "Content-Length": [ "108" ], @@ -1926,28 +1866,85 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"f37ae59f-c4c5-460f-9d95-a6fcb49788f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:08:40.217Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9mMzdhZTU5Zi1jNGM1LTQ2MGYtOWQ5NS1hNmZjYjQ5Nzg4Zjk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "4fa7206e-b901-4631-994f-3e0190774c6a" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14966" + ], + "x-ms-correlation-request-id": [ + "b7a0af18-0130-4c9c-bee1-4cdf38cc5ba0" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210226T051719Z:b7a0af18-0130-4c9c-bee1-4cdf38cc5ba0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Date": [ - "Tue, 06 Oct 2020 19:10:11 GMT" + "Fri, 26 Feb 2021 05:17:18 GMT" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" ], "Pragma": [ "no-cache" @@ -1955,20 +1952,80 @@ "Retry-After": [ "15" ], + "x-ms-request-id": [ + "30489d76-febb-4dcc-b75f-598fb6383907" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14965" + ], + "x-ms-correlation-request-id": [ + "661085df-a003-49f8-b2a4-ef08fc9b259c" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210226T051734Z:661085df-a003-49f8-b2a4-ef08fc9b259c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 26 Feb 2021 05:17:33 GMT" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], "x-ms-request-id": [ - "a84f35eb-0276-4866-a0ba-64db045b1c4d" + "88bb4b9b-3355-4c8a-b094-5052f1d9a7fd" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11915" + "14964" ], "x-ms-correlation-request-id": [ - "af297133-e2d7-4a37-8738-e1539300cd74" + "987e6494-c279-48ea-bf18-a83ed115732a" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T191012Z:af297133-e2d7-4a37-8738-e1539300cd74" + "NORTHEUROPE:20210226T051749Z:987e6494-c279-48ea-bf18-a83ed115732a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1976,6 +2033,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:17:48 GMT" + ], "Content-Length": [ "108" ], @@ -1986,28 +2046,85 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"f37ae59f-c4c5-460f-9d95-a6fcb49788f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-10-06T19:08:40.217Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/locations/centralus/databaseAzureAsyncOperation/f37ae59f-c4c5-460f-9d95-a6fcb49788f9?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvY2VudHJhbHVzL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9mMzdhZTU5Zi1jNGM1LTQ2MGYtOWQ5NS1hNmZjYjQ5Nzg4Zjk/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "e1dba0fc-ecdd-488c-bc98-b6bd9ba65899" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14963" + ], + "x-ms-correlation-request-id": [ + "ee6b7c78-299e-436c-a588-65b344793f5d" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210226T051805Z:ee6b7c78-299e-436c-a588-65b344793f5d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Date": [ - "Tue, 06 Oct 2020 19:10:26 GMT" + "Fri, 26 Feb 2021 05:18:05 GMT" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" ], "Pragma": [ "no-cache" @@ -2015,20 +2132,80 @@ "Retry-After": [ "15" ], + "x-ms-request-id": [ + "9ab50530-9a8e-439a-9d5e-326be899fdfc" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14962" + ], + "x-ms-correlation-request-id": [ + "161c6c15-6c00-49f5-8caf-b4665a8aa382" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210226T051820Z:161c6c15-6c00-49f5-8caf-b4665a8aa382" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 26 Feb 2021 05:18:20 GMT" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], "x-ms-request-id": [ - "4319e626-60dc-45e7-b869-8d637ec42688" + "42be5572-c88f-419d-a63a-50720c321cda" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11914" + "14961" ], "x-ms-correlation-request-id": [ - "6341404b-1e4a-4a18-86ea-d2360f4d0404" + "85823364-43a1-43d1-8f83-a913eb30ed15" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T191027Z:6341404b-1e4a-4a18-86ea-d2360f4d0404" + "NORTHEUROPE:20210226T051835Z:85823364-43a1-43d1-8f83-a913eb30ed15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2036,6 +2213,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:18:35 GMT" + ], "Content-Length": [ "107" ], @@ -2046,46 +2226,43 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"f37ae59f-c4c5-460f-9d95-a6fcb49788f9\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-10-06T19:08:40.217Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f036b3e2-9ff8-4214-961f-42b96677baa8\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:15:47.273Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-453/databases/sqlcrudtest-583?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUzNi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL3NxbGNydWR0ZXN0LTQ1My9kYXRhYmFzZXMvc3FsY3J1ZHRlc3QtNTgzP2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NzA3L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Mjg5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:10:26 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-request-id": [ + "6f358714-e7a6-4418-b270-8479fdff6262" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-request-id": [ - "8e4b72b5-2728-4d8d-815d-7efd5add6b19" - ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11913" + "14960" ], "x-ms-correlation-request-id": [ - "70182fd1-76c7-41cf-b662-75e7a988fb75" + "1bad7680-7651-4952-a92b-7075ae6dc8d9" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T191027Z:70182fd1-76c7-41cf-b662-75e7a988fb75" + "NORTHEUROPE:20210226T051836Z:1bad7680-7651-4952-a92b-7075ae6dc8d9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2093,8 +2270,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Fri, 26 Feb 2021 05:18:35 GMT" + ], "Content-Length": [ - "864" + "1039" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2103,25 +2283,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"da2ec627-3ca7-4c05-bc6c-bacfb20f0329\",\r\n \"creationDate\": \"2020-10-06T19:10:04.853Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"eastus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-10-06T19:40:04.853Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"centralus\",\r\n \"id\": \"/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourceGroups/sqlcrudtest-536/providers/Microsoft.Sql/servers/sqlcrudtest-453/databases/sqlcrudtest-583\",\r\n \"name\": \"sqlcrudtest-583\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"26a2ed12-78b6-4b7e-93ae-4230c8074d5d\",\r\n \"creationDate\": \"2021-02-26T05:18:22.697Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289\",\r\n \"name\": \"sqlcrudtest-5289\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/resourcegroups/sqlcrudtest-536?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTE0NDY2OTMtZGFmYS00Y2MwLThiMTItZWMyYzZjM2Y2MjUwL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTUzNj9hcGktdmVyc2lvbj0yMDE3LTA1LTEw", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourcegroups/sqlcrudtest-2679?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTI2Nzk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "375943ec-9e8d-46db-9f35-688a3ee4d82e" + "5ddeff54-2dc4-499d-a14b-b58a64c0512a" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.17763.", + "OSVersion/Microsoft.Windows.10.0.14393.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ] }, @@ -2129,14 +2309,11 @@ "Cache-Control": [ "no-cache" ], - "Date": [ - "Tue, 06 Oct 2020 19:10:28 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/91446693-dafa-4cc0-8b12-ec2c6c3f6250/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDUzNi1DRU5UUkFMVVMiLCJqb2JMb2NhdGlvbiI6ImNlbnRyYWx1cyJ9?api-version=2017-05-10" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDI2NzktU09VVEhFQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoic291dGhlYXN0YXNpYSJ9?api-version=2017-05-10" ], "Retry-After": [ "15" @@ -2145,13 +2322,13 @@ "14996" ], "x-ms-request-id": [ - "3920d0cd-c22c-43f2-bc38-042106beeed1" + "1e6f1583-ca56-4650-b770-fbb54239b0b0" ], "x-ms-correlation-request-id": [ - "3920d0cd-c22c-43f2-bc38-042106beeed1" + "1e6f1583-ca56-4650-b770-fbb54239b0b0" ], "x-ms-routing-request-id": [ - "BRAZILUS:20201006T191028Z:3920d0cd-c22c-43f2-bc38-042106beeed1" + "CENTRALUS:20210226T051838Z:1e6f1583-ca56-4650-b770-fbb54239b0b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2159,11 +2336,14 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Fri, 26 Feb 2021 05:18:37 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", @@ -2172,19 +2352,19 @@ ], "Names": { "CreateResourceGroup": [ - "sqlcrudtest-536" + "sqlcrudtest-2679" ], "CreateServer": [ - "sqlcrudtest-8055", - "sqlcrudtest-453" + "sqlcrudtest-6798", + "sqlcrudtest-7707" ], "TestCopyDatabase": [ - "sqlcrudtest-7819", - "sqlcrudtest-583" + "sqlcrudtest-3519", + "sqlcrudtest-5289" ] }, "Variables": { - "DefaultLocation": "central us", - "SubscriptionId": "91446693-dafa-4cc0-8b12-ec2c6c3f6250" + "DefaultLocation": "Southeast Asia", + "SubscriptionId": "01c4ec88-e179-44f7-9eb0-e9719a5087ab" } } \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCrudScenarioTests/TestGetAndListDatabase.json b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCrudScenarioTests/TestGetAndListDatabase.json index 1b9a3b665894..95ef84d38628 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCrudScenarioTests/TestGetAndListDatabase.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCrudScenarioTests/TestGetAndListDatabase.json @@ -1,21 +1,21 @@ { "Entries": [ { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourcegroups/sqlcrudtest-3858?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTM4NTg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourcegroups/sqlcrudtest-7018?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTcwMTg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US 2 EUAP\",\r\n \"tags\": {\r\n \"sqlcrudtest-3858\": \"2020-12-29 22:08:39Z\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {\r\n \"sqlcrudtest-7018\": \"2021-02-26 05:34:41Z\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "854dda24-515f-4f7e-8b94-60f1de1f6fda" + "cc469d82-0fae-4924-aea8-f997f2268b12" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.14393.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ], "Content-Type": [ @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "30957a44-9871-4b36-8443-8969a39196ff" + "0ed03a2e-1e7a-48e1-af5c-8afe52f4fe59" ], "x-ms-correlation-request-id": [ - "30957a44-9871-4b36-8443-8969a39196ff" + "0ed03a2e-1e7a-48e1-af5c-8afe52f4fe59" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220840Z:30957a44-9871-4b36-8443-8969a39196ff" + "NORTHEUROPE:20210226T053443Z:0ed03a2e-1e7a-48e1-af5c-8afe52f4fe59" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,10 +51,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:08:39 GMT" + "Fri, 26 Feb 2021 05:34:42 GMT" ], "Content-Length": [ - "241" + "243" ], "Content-Type": [ "application/json; charset=utf-8" @@ -63,26 +63,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858\",\r\n \"name\": \"sqlcrudtest-3858\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"sqlcrudtest-3858\": \"2020-12-29 22:08:39Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", - "StatusCode": 200 + "ResponseBody": "{\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018\",\r\n \"name\": \"sqlcrudtest-7018\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"sqlcrudtest-7018\": \"2021-02-26 05:34:41Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"East US 2 EUAP\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "fdaaba3c-8070-4549-a3a2-0f44872f7421" + "0f58880f-32d1-4d15-aecb-8e0739151c79" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -99,16 +99,16 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverOperationResults/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview" ], "Retry-After": [ "1" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverAzureAsyncOperation/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "eeaa4157-db44-44ea-aec4-381d42ea315b" + "f6f53717-7790-405c-88d1-ce95fdc87040" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -117,10 +117,10 @@ "1199" ], "x-ms-correlation-request-id": [ - "8ff154e5-6c24-4f46-bde0-471e13a50daf" + "c274706a-a4ec-4988-9dfb-1307e25becdb" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220843Z:8ff154e5-6c24-4f46-bde0-471e13a50daf" + "NORTHEUROPE:20210226T053446Z:c274706a-a4ec-4988-9dfb-1307e25becdb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -129,7 +129,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:08:42 GMT" + "Fri, 26 Feb 2021 05:34:46 GMT" ], "Content-Length": [ "74" @@ -141,80 +141,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2020-12-29T22:08:43.237Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2021-02-26T05:34:46.617Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverAzureAsyncOperation/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZWVhYTQxNTctZGI0NC00NGVhLWFlYzQtMzgxZDQyZWEzMTViP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29321.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Retry-After": [ - "1" - ], - "x-ms-request-id": [ - "5ac8c046-6e80-4ae4-ade8-6eea7a4ad3b2" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-correlation-request-id": [ - "108b6017-130d-4133-b4b8-141d75c3b184" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20201229T220844Z:108b6017-130d-4133-b4b8-141d75c3b184" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 29 Dec 2020 22:08:43 GMT" - ], - "Content-Length": [ - "108" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"name\": \"eeaa4157-db44-44ea-aec4-381d42ea315b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:08:43.237Z\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverAzureAsyncOperation/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZWVhYTQxNTctZGI0NC00NGVhLWFlYzQtMzgxZDQyZWEzMTViP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -228,19 +168,19 @@ "1" ], "x-ms-request-id": [ - "f2b8e5d5-2753-49cb-a2c0-f6bd560e2c5b" + "286b9718-c3f3-41b4-9ce0-38506677f1cb" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "14999" ], "x-ms-correlation-request-id": [ - "c0373302-2a72-4bbd-a99b-2a64353e6ec8" + "caa4041d-09d4-4693-80ed-67fa95dfcef1" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220845Z:c0373302-2a72-4bbd-a99b-2a64353e6ec8" + "NORTHEUROPE:20210226T053448Z:caa4041d-09d4-4693-80ed-67fa95dfcef1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -249,7 +189,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:08:44 GMT" + "Fri, 26 Feb 2021 05:34:47 GMT" ], "Content-Length": [ "108" @@ -261,20 +201,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"eeaa4157-db44-44ea-aec4-381d42ea315b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:08:43.237Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f6f53717-7790-405c-88d1-ce95fdc87040\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:34:46.617Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverAzureAsyncOperation/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZWVhYTQxNTctZGI0NC00NGVhLWFlYzQtMzgxZDQyZWEzMTViP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -288,19 +228,19 @@ "1" ], "x-ms-request-id": [ - "d2d1bb8f-6e0b-4e5f-9eac-495b6d4a701d" + "79cbba53-5dc6-49da-a67d-c314b042c349" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "14998" ], "x-ms-correlation-request-id": [ - "2ecdb88c-250e-4118-bf72-f5692d2fa27b" + "b3334ada-978d-4858-af27-f76fb2676300" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220846Z:2ecdb88c-250e-4118-bf72-f5692d2fa27b" + "NORTHEUROPE:20210226T053449Z:b3334ada-978d-4858-af27-f76fb2676300" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -309,7 +249,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:08:45 GMT" + "Fri, 26 Feb 2021 05:34:48 GMT" ], "Content-Length": [ "108" @@ -321,20 +261,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"eeaa4157-db44-44ea-aec4-381d42ea315b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:08:43.237Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f6f53717-7790-405c-88d1-ce95fdc87040\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:34:46.617Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverAzureAsyncOperation/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZWVhYTQxNTctZGI0NC00NGVhLWFlYzQtMzgxZDQyZWEzMTViP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -348,19 +288,19 @@ "1" ], "x-ms-request-id": [ - "e89658fa-bd03-46e7-a72e-116d6a9b6050" + "02cf9936-2b20-43d9-afe6-a6c4c041806d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "14997" ], "x-ms-correlation-request-id": [ - "5c3f3646-e4ad-47c8-ac4d-625ef6fe8e24" + "3bb55bf8-1064-4d4b-a6cb-c3214533bf0b" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220847Z:5c3f3646-e4ad-47c8-ac4d-625ef6fe8e24" + "NORTHEUROPE:20210226T053450Z:3bb55bf8-1064-4d4b-a6cb-c3214533bf0b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -369,7 +309,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:08:46 GMT" + "Fri, 26 Feb 2021 05:34:50 GMT" ], "Content-Length": [ "108" @@ -381,20 +321,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"eeaa4157-db44-44ea-aec4-381d42ea315b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:08:43.237Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f6f53717-7790-405c-88d1-ce95fdc87040\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:34:46.617Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverAzureAsyncOperation/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZWVhYTQxNTctZGI0NC00NGVhLWFlYzQtMzgxZDQyZWEzMTViP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -408,19 +348,19 @@ "20" ], "x-ms-request-id": [ - "aaf9fa87-fe0d-4f20-8c67-5584ec75d317" + "0077d3eb-7c56-4955-ad23-84f193c9ea9c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "14996" ], "x-ms-correlation-request-id": [ - "29bd472e-8308-4aba-aff5-14e16299809a" + "4f096619-2c15-4a03-bc90-16a6ae9a5d1b" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220848Z:29bd472e-8308-4aba-aff5-14e16299809a" + "NORTHEUROPE:20210226T053452Z:4f096619-2c15-4a03-bc90-16a6ae9a5d1b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -429,7 +369,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:08:48 GMT" + "Fri, 26 Feb 2021 05:34:51 GMT" ], "Content-Length": [ "108" @@ -441,20 +381,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"eeaa4157-db44-44ea-aec4-381d42ea315b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:08:43.237Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f6f53717-7790-405c-88d1-ce95fdc87040\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:34:46.617Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverAzureAsyncOperation/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZWVhYTQxNTctZGI0NC00NGVhLWFlYzQtMzgxZDQyZWEzMTViP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -468,19 +408,19 @@ "20" ], "x-ms-request-id": [ - "0ca66c3d-3286-4358-a0c8-2622aa60cb62" + "2ae96159-27e2-4f3c-a81d-c4fd024264df" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "14995" ], "x-ms-correlation-request-id": [ - "3708a3a9-0f64-4e34-9054-8a7e1a4b34c5" + "16fc39e8-0afe-4c5a-b3c8-c9bc2a2e9006" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220909Z:3708a3a9-0f64-4e34-9054-8a7e1a4b34c5" + "NORTHEUROPE:20210226T053512Z:16fc39e8-0afe-4c5a-b3c8-c9bc2a2e9006" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -489,7 +429,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:08 GMT" + "Fri, 26 Feb 2021 05:35:11 GMT" ], "Content-Length": [ "108" @@ -501,20 +441,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"eeaa4157-db44-44ea-aec4-381d42ea315b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:08:43.237Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f6f53717-7790-405c-88d1-ce95fdc87040\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:34:46.617Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/serverAzureAsyncOperation/eeaa4157-db44-44ea-aec4-381d42ea315b?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vZWVhYTQxNTctZGI0NC00NGVhLWFlYzQtMzgxZDQyZWEzMTViP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -528,19 +468,19 @@ "15" ], "x-ms-request-id": [ - "2cbbbabe-9a5a-47f0-b28c-cf0ac190c926" + "2000c98c-3c5e-4892-855a-4dda4584cd37" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "14994" ], "x-ms-correlation-request-id": [ - "f63ee9c5-0502-4bc4-98d6-052742f681b7" + "a63d883d-1fc8-406b-897f-ed6485cb42c3" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220929Z:f63ee9c5-0502-4bc4-98d6-052742f681b7" + "NORTHEUROPE:20210226T053532Z:a63d883d-1fc8-406b-897f-ed6485cb42c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -549,7 +489,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:28 GMT" + "Fri, 26 Feb 2021 05:35:32 GMT" ], "Content-Length": [ "107" @@ -561,20 +501,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"eeaa4157-db44-44ea-aec4-381d42ea315b\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-12-29T22:08:43.237Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f6f53717-7790-405c-88d1-ce95fdc87040\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:34:46.617Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409?api-version=2019-06-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -585,19 +525,19 @@ "no-cache" ], "x-ms-request-id": [ - "228da92f-ab73-4243-9390-9afe63839629" + "3222beca-182d-40c6-a4ff-cf0d2faab966" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "14993" ], "x-ms-correlation-request-id": [ - "1a0c47a1-8b2a-48b3-9741-28605a5e86f4" + "48ff9359-4f32-4020-99f3-91c2a60829a3" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220929Z:1a0c47a1-8b2a-48b3-9741-28605a5e86f4" + "NORTHEUROPE:20210226T053533Z:48ff9359-4f32-4020-99f3-91c2a60829a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -606,10 +546,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:28 GMT" + "Fri, 26 Feb 2021 05:35:32 GMT" ], "Content-Length": [ - "461" + "464" ], "Content-Type": [ "application/json; charset=utf-8" @@ -618,32 +558,32 @@ "-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-8409.database.windows.net\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409\",\r\n \"name\": \"sqlcrudtest-8409\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-1353.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353\",\r\n \"name\": \"sqlcrudtest-1353\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-2103?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMTAzP2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MTI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "76cbc07d-d544-4717-a5d4-ea9eb82d1e44" + "3a9f7dff-a9e4-4aa6-8d12-f89eb16c94eb" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "35" ] }, "ResponseHeaders": { @@ -654,28 +594,28 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseOperationResults/6a265958-6f60-4735-bdcb-e31356e34eda?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/6a265958-6f60-4735-bdcb-e31356e34eda?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview" ], "x-ms-request-id": [ - "6a265958-6f60-4735-bdcb-e31356e34eda" + "58678463-c43a-449b-8a18-b90af066139a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1197" ], "x-ms-correlation-request-id": [ - "6c8a0f69-4c6e-43c5-b691-d2257d942d26" + "8304fab0-385f-4ecd-ad74-a2bac20e9971" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220930Z:6c8a0f69-4c6e-43c5-b691-d2257d942d26" + "NORTHEUROPE:20210226T053534Z:8304fab0-385f-4ecd-ad74-a2bac20e9971" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -684,10 +624,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:30 GMT" + "Fri, 26 Feb 2021 05:35:34 GMT" ], "Content-Length": [ - "75" + "76" ], "Content-Type": [ "application/json; charset=utf-8" @@ -696,32 +636,32 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-12-29T22:09:30.55Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2021-02-26T05:35:34.463Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-4019?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MDE5P2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNDI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "bd39e8ca-21e6-4ef3-8be0-0a7190c537bc" + "aa36be27-9056-47b3-8c12-64952ad8f52e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "35" ] }, "ResponseHeaders": { @@ -732,28 +672,28 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseOperationResults/ad6656e2-6e84-4929-ba3b-6a80c210eb47?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/ad6656e2-6e84-4929-ba3b-6a80c210eb47?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview" ], "x-ms-request-id": [ - "ad6656e2-6e84-4929-ba3b-6a80c210eb47" + "36cc8605-3011-42b0-ba62-ddf9d002a7af" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1197" ], "x-ms-correlation-request-id": [ - "50112523-7e26-47b7-a547-386d21d250e5" + "c638547f-9289-4a45-ba95-b34fbba0ab7f" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220932Z:50112523-7e26-47b7-a547-386d21d250e5" + "NORTHEUROPE:20210226T053535Z:c638547f-9289-4a45-ba95-b34fbba0ab7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -762,10 +702,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:32 GMT" + "Fri, 26 Feb 2021 05:35:34 GMT" ], "Content-Length": [ - "75" + "76" ], "Content-Type": [ "application/json; charset=utf-8" @@ -774,32 +714,32 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-12-29T22:09:32.05Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2021-02-26T05:35:35.023Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-8711?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC04NzExP2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNjc0P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "09c40bae-9b10-41f1-8589-d864a8229572" + "03ca2db4-c5e2-4470-a5fa-82db4c9ed9b4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "35" ] }, "ResponseHeaders": { @@ -810,28 +750,28 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseOperationResults/aa0cb767-8eb1-4981-b4c6-03dd7c781205?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/aa0cb767-8eb1-4981-b4c6-03dd7c781205?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview" ], "x-ms-request-id": [ - "aa0cb767-8eb1-4981-b4c6-03dd7c781205" + "ad656162-a260-4774-aee2-d2da3e064e45" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1198" ], "x-ms-correlation-request-id": [ - "043d67bf-3123-4a19-940b-1e0d4820ca75" + "24639488-3f0b-43ef-8914-05bc7aabdcd2" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220932Z:043d67bf-3123-4a19-940b-1e0d4820ca75" + "NORTHEUROPE:20210226T053536Z:24639488-3f0b-43ef-8914-05bc7aabdcd2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -840,10 +780,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:31 GMT" + "Fri, 26 Feb 2021 05:35:36 GMT" ], "Content-Length": [ - "75" + "76" ], "Content-Type": [ "application/json; charset=utf-8" @@ -852,32 +792,32 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-12-29T22:09:32.18Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2021-02-26T05:35:35.877Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-7457?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03NDU3P2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTI3P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "470df5d3-6fa5-4714-afb5-7da8e2b9cbe0" + "98261efd-445f-4a67-8f2d-9f583887347b" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "33" + "35" ] }, "ResponseHeaders": { @@ -888,16 +828,16 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseOperationResults/43083197-afc4-4d48-ae10-86fb6325bb8e?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/43083197-afc4-4d48-ae10-86fb6325bb8e?api-version=2020-08-01-preview" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview" ], "x-ms-request-id": [ - "43083197-afc4-4d48-ae10-86fb6325bb8e" + "8b58df57-0867-428d-b63f-60cb3b5fad92" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -906,10 +846,10 @@ "1199" ], "x-ms-correlation-request-id": [ - "d15d50cb-8e25-4d9b-98bd-4d1822deb36c" + "b0660288-ecba-41fe-8d47-5fc593cfa4dc" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220932Z:d15d50cb-8e25-4d9b-98bd-4d1822deb36c" + "NORTHEUROPE:20210226T053536Z:b0660288-ecba-41fe-8d47-5fc593cfa4dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -918,7 +858,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:32 GMT" + "Fri, 26 Feb 2021 05:35:36 GMT" ], "Content-Length": [ "75" @@ -930,20 +870,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-12-29T22:09:32.46Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2021-02-26T05:35:36.31Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/6a265958-6f60-4735-bdcb-e31356e34eda?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi82YTI2NTk1OC02ZjYwLTQ3MzUtYmRjYi1lMzEzNTZlMzRlZGE/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzU4Njc4NDYzLWM0M2EtNDQ5Yi04YTE4LWI5MGFmMDY2MTM5YT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -957,19 +897,19 @@ "15" ], "x-ms-request-id": [ - "18bcee4a-41a0-4a03-92e1-3cc6037e8a3d" + "8dfaec5e-9ee7-4cac-ab5b-a1e9596489e3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "14999" ], "x-ms-correlation-request-id": [ - "afa4c4c3-f10e-4879-b2f6-4a1d6cec0691" + "a6e59007-9fea-4f8d-8469-c383b8a6435f" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220945Z:afa4c4c3-f10e-4879-b2f6-4a1d6cec0691" + "NORTHEUROPE:20210226T053549Z:a6e59007-9fea-4f8d-8469-c383b8a6435f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -978,10 +918,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:45 GMT" + "Fri, 26 Feb 2021 05:35:49 GMT" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -990,20 +930,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"6a265958-6f60-4735-bdcb-e31356e34eda\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:30.55Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"58678463-c43a-449b-8a18-b90af066139a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:34.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/6a265958-6f60-4735-bdcb-e31356e34eda?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi82YTI2NTk1OC02ZjYwLTQ3MzUtYmRjYi1lMzEzNTZlMzRlZGE/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzU4Njc4NDYzLWM0M2EtNDQ5Yi04YTE4LWI5MGFmMDY2MTM5YT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1017,19 +957,19 @@ "15" ], "x-ms-request-id": [ - "a3b1d902-bc21-4e88-b3cf-1dfe0d64d807" + "79f8652f-717b-4932-adde-b06e1176321c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "14998" ], "x-ms-correlation-request-id": [ - "aa5ab17f-1472-4d49-97fc-bb404aeb2cdb" + "436583ca-a44c-449d-a678-b31ee234025a" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221000Z:aa5ab17f-1472-4d49-97fc-bb404aeb2cdb" + "NORTHEUROPE:20210226T053605Z:436583ca-a44c-449d-a678-b31ee234025a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1038,10 +978,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:00 GMT" + "Fri, 26 Feb 2021 05:36:05 GMT" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1050,20 +990,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"6a265958-6f60-4735-bdcb-e31356e34eda\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:30.55Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"58678463-c43a-449b-8a18-b90af066139a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:34.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/6a265958-6f60-4735-bdcb-e31356e34eda?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi82YTI2NTk1OC02ZjYwLTQ3MzUtYmRjYi1lMzEzNTZlMzRlZGE/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzU4Njc4NDYzLWM0M2EtNDQ5Yi04YTE4LWI5MGFmMDY2MTM5YT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1077,19 +1017,19 @@ "15" ], "x-ms-request-id": [ - "bc97c70b-554f-4fd5-9b36-029d9058261c" + "adeb9633-3962-406c-a00f-6bde52e0e2ea" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "14995" ], "x-ms-correlation-request-id": [ - "8236b0e8-c3af-4a0c-be96-4b637b1f4ec1" + "f5fac58d-461a-4fbb-83bd-e6dfd144ab8d" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221016Z:8236b0e8-c3af-4a0c-be96-4b637b1f4ec1" + "NORTHEUROPE:20210226T053620Z:f5fac58d-461a-4fbb-83bd-e6dfd144ab8d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1098,7 +1038,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:15 GMT" + "Fri, 26 Feb 2021 05:36:20 GMT" ], "Content-Length": [ "107" @@ -1110,20 +1050,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"6a265958-6f60-4735-bdcb-e31356e34eda\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:30.55Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"58678463-c43a-449b-8a18-b90af066139a\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:35:34.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/6a265958-6f60-4735-bdcb-e31356e34eda?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi82YTI2NTk1OC02ZjYwLTQ3MzUtYmRjYi1lMzEzNTZlMzRlZGE/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzM2Y2M4NjA1LTMwMTEtNDJiMC1iYTYyLWRkZjlkMDAyYTdhZj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1137,19 +1077,19 @@ "15" ], "x-ms-request-id": [ - "e1368d77-ba8e-46b0-a588-c42d8b6a6a0b" + "8ed3007f-39bb-4745-b006-0fa61d6a4b27" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "14998" ], "x-ms-correlation-request-id": [ - "8ba68867-31c5-4fad-aebb-a47697d1bcff" + "bec9b343-128a-4ec8-8316-393863691296" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221031Z:8ba68867-31c5-4fad-aebb-a47697d1bcff" + "NORTHEUROPE:20210226T053550Z:bec9b343-128a-4ec8-8316-393863691296" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1158,10 +1098,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:31 GMT" + "Fri, 26 Feb 2021 05:35:49 GMT" ], "Content-Length": [ - "106" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1170,20 +1110,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"6a265958-6f60-4735-bdcb-e31356e34eda\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-12-29T22:09:30.55Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"36cc8605-3011-42b0-ba62-ddf9d002a7af\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:35.023Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/ad6656e2-6e84-4929-ba3b-6a80c210eb47?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9hZDY2NTZlMi02ZTg0LTQ5MjktYmEzYi02YTgwYzIxMGViNDc/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzM2Y2M4NjA1LTMwMTEtNDJiMC1iYTYyLWRkZjlkMDAyYTdhZj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1197,19 +1137,19 @@ "15" ], "x-ms-request-id": [ - "05d788bf-7b4b-41da-a25b-2875ceefcac6" + "bffbe034-b529-44df-b979-eba832628ef1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "14997" ], "x-ms-correlation-request-id": [ - "797325ce-7502-4033-b4c6-f6e5bf8f1ce5" + "cf673f52-63d3-4da4-9aaa-435a55b68fe4" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220947Z:797325ce-7502-4033-b4c6-f6e5bf8f1ce5" + "NORTHEUROPE:20210226T053605Z:cf673f52-63d3-4da4-9aaa-435a55b68fe4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1218,10 +1158,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:46 GMT" + "Fri, 26 Feb 2021 05:36:05 GMT" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1230,20 +1170,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"ad6656e2-6e84-4929-ba3b-6a80c210eb47\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:32.05Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"36cc8605-3011-42b0-ba62-ddf9d002a7af\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:35.023Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/ad6656e2-6e84-4929-ba3b-6a80c210eb47?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9hZDY2NTZlMi02ZTg0LTQ5MjktYmEzYi02YTgwYzIxMGViNDc/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzM2Y2M4NjA1LTMwMTEtNDJiMC1iYTYyLWRkZjlkMDAyYTdhZj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1257,19 +1197,19 @@ "15" ], "x-ms-request-id": [ - "cf778bb9-e841-4df0-a8af-4dbc71d4ebae" + "cf2475ef-a4b9-44ab-8687-2616ca9ce00c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "14995" ], "x-ms-correlation-request-id": [ - "42633e46-b5b4-438a-894d-c648d0ba3599" + "6d3d3859-cfa0-4783-ae67-0bc476e7d950" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221002Z:42633e46-b5b4-438a-894d-c648d0ba3599" + "NORTHEUROPE:20210226T053621Z:6d3d3859-cfa0-4783-ae67-0bc476e7d950" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1278,10 +1218,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:01 GMT" + "Fri, 26 Feb 2021 05:36:21 GMT" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1290,20 +1230,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"ad6656e2-6e84-4929-ba3b-6a80c210eb47\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:32.05Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"36cc8605-3011-42b0-ba62-ddf9d002a7af\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:35.023Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/ad6656e2-6e84-4929-ba3b-6a80c210eb47?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9hZDY2NTZlMi02ZTg0LTQ5MjktYmEzYi02YTgwYzIxMGViNDc/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzM2Y2M4NjA1LTMwMTEtNDJiMC1iYTYyLWRkZjlkMDAyYTdhZj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1317,19 +1257,19 @@ "15" ], "x-ms-request-id": [ - "ae9fc050-a475-46cb-96d1-e3018c26b7bb" + "bb014b24-32b9-4ada-a3e4-5e6124c154eb" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "14992" ], "x-ms-correlation-request-id": [ - "18aa7bf9-b189-4e54-8a89-1a3d2dcede7f" + "286b6098-4f2f-430b-a36b-d194c8aa3251" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221017Z:18aa7bf9-b189-4e54-8a89-1a3d2dcede7f" + "NORTHEUROPE:20210226T053636Z:286b6098-4f2f-430b-a36b-d194c8aa3251" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1338,10 +1278,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:16 GMT" + "Fri, 26 Feb 2021 05:36:35 GMT" ], "Content-Length": [ - "106" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1350,20 +1290,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"ad6656e2-6e84-4929-ba3b-6a80c210eb47\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-12-29T22:09:32.05Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"36cc8605-3011-42b0-ba62-ddf9d002a7af\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:35:35.023Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/aa0cb767-8eb1-4981-b4c6-03dd7c781205?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9hYTBjYjc2Ny04ZWIxLTQ5ODEtYjRjNi0wM2RkN2M3ODEyMDU/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2FkNjU2MTYyLWEyNjAtNDc3NC1hZWUyLWQyZGEzZTA2NGU0NT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1377,19 +1317,19 @@ "15" ], "x-ms-request-id": [ - "3c6938e6-69c3-4843-a958-01e16f2c201c" + "fafe8423-925f-4469-8728-9e0ca469935a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "14997" ], "x-ms-correlation-request-id": [ - "c9f1f4d2-7e90-49cc-be04-4d0f50298961" + "8a4372be-3585-4e48-b345-2fc665914f8a" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220947Z:c9f1f4d2-7e90-49cc-be04-4d0f50298961" + "NORTHEUROPE:20210226T053551Z:8a4372be-3585-4e48-b345-2fc665914f8a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1398,10 +1338,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:46 GMT" + "Fri, 26 Feb 2021 05:35:50 GMT" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1410,20 +1350,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"aa0cb767-8eb1-4981-b4c6-03dd7c781205\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:32.18Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"ad656162-a260-4774-aee2-d2da3e064e45\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:35.877Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/aa0cb767-8eb1-4981-b4c6-03dd7c781205?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9hYTBjYjc2Ny04ZWIxLTQ5ODEtYjRjNi0wM2RkN2M3ODEyMDU/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2FkNjU2MTYyLWEyNjAtNDc3NC1hZWUyLWQyZGEzZTA2NGU0NT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1437,19 +1377,19 @@ "15" ], "x-ms-request-id": [ - "92dfd846-cffa-49bf-8029-7fa34c988e52" + "64eeb90e-95ef-494f-a8a8-aca5f5682222" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "14996" ], "x-ms-correlation-request-id": [ - "0162f725-c8fd-43c1-b171-b9c2753efa22" + "3a5409b2-df97-41c8-984e-6bc9575266b3" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221002Z:0162f725-c8fd-43c1-b171-b9c2753efa22" + "NORTHEUROPE:20210226T053606Z:3a5409b2-df97-41c8-984e-6bc9575266b3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1458,10 +1398,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:01 GMT" + "Fri, 26 Feb 2021 05:36:06 GMT" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1470,20 +1410,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"aa0cb767-8eb1-4981-b4c6-03dd7c781205\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:32.18Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"ad656162-a260-4774-aee2-d2da3e064e45\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:35.877Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/aa0cb767-8eb1-4981-b4c6-03dd7c781205?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9hYTBjYjc2Ny04ZWIxLTQ5ODEtYjRjNi0wM2RkN2M3ODEyMDU/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2FkNjU2MTYyLWEyNjAtNDc3NC1hZWUyLWQyZGEzZTA2NGU0NT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1497,19 +1437,19 @@ "15" ], "x-ms-request-id": [ - "07275fa5-b23f-4c21-bde2-0a1d982fb9cb" + "24bc1c62-c103-4944-81b4-dc2c870e3e30" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "14994" ], "x-ms-correlation-request-id": [ - "d8e577ee-ecc0-4d2f-9d40-784a80be9286" + "c2278bba-b54f-423d-9aac-e5979bd4c2c4" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221017Z:d8e577ee-ecc0-4d2f-9d40-784a80be9286" + "NORTHEUROPE:20210226T053622Z:c2278bba-b54f-423d-9aac-e5979bd4c2c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1518,10 +1458,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:17 GMT" + "Fri, 26 Feb 2021 05:36:22 GMT" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1530,20 +1470,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"aa0cb767-8eb1-4981-b4c6-03dd7c781205\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:32.18Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"ad656162-a260-4774-aee2-d2da3e064e45\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:35.877Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/aa0cb767-8eb1-4981-b4c6-03dd7c781205?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9hYTBjYjc2Ny04ZWIxLTQ5ODEtYjRjNi0wM2RkN2M3ODEyMDU/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2FkNjU2MTYyLWEyNjAtNDc3NC1hZWUyLWQyZGEzZTA2NGU0NT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1557,19 +1497,19 @@ "15" ], "x-ms-request-id": [ - "d99e2fb3-8fcc-492c-9abb-fc3bbd7f448c" + "6644319d-2673-47a2-94c8-4031e6619e7c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" + "14990" ], "x-ms-correlation-request-id": [ - "dccf16b8-4c82-419d-b7b7-21dd84c73deb" + "dbe3f2ea-0273-4d96-adb2-6330015bb7dc" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221032Z:dccf16b8-4c82-419d-b7b7-21dd84c73deb" + "NORTHEUROPE:20210226T053637Z:dbe3f2ea-0273-4d96-adb2-6330015bb7dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1578,10 +1518,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:32 GMT" + "Fri, 26 Feb 2021 05:36:36 GMT" ], "Content-Length": [ - "106" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1590,20 +1530,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"aa0cb767-8eb1-4981-b4c6-03dd7c781205\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-12-29T22:09:32.18Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"ad656162-a260-4774-aee2-d2da3e064e45\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:35:35.877Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/43083197-afc4-4d48-ae10-86fb6325bb8e?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi80MzA4MzE5Ny1hZmM0LTRkNDgtYWUxMC04NmZiNjMyNWJiOGU/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzhiNThkZjU3LTA4NjctNDI4ZC1iNjNmLTYwY2IzYjVmYWQ5Mj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1617,19 +1557,19 @@ "15" ], "x-ms-request-id": [ - "6ef32308-7ee8-4570-8b14-2c2fd4a9b8f9" + "0d4f956f-9041-4689-868d-db81421279a7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "14999" ], "x-ms-correlation-request-id": [ - "d4138487-b6db-401e-acee-8fcf7bc67996" + "360a5562-65d0-4aad-a245-5eb2f03a4edb" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T220947Z:d4138487-b6db-401e-acee-8fcf7bc67996" + "NORTHEUROPE:20210226T053551Z:360a5562-65d0-4aad-a245-5eb2f03a4edb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1638,7 +1578,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:09:47 GMT" + "Fri, 26 Feb 2021 05:35:50 GMT" ], "Content-Length": [ "107" @@ -1650,20 +1590,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"43083197-afc4-4d48-ae10-86fb6325bb8e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:32.46Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"8b58df57-0867-428d-b63f-60cb3b5fad92\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:36.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/43083197-afc4-4d48-ae10-86fb6325bb8e?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi80MzA4MzE5Ny1hZmM0LTRkNDgtYWUxMC04NmZiNjMyNWJiOGU/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzhiNThkZjU3LTA4NjctNDI4ZC1iNjNmLTYwY2IzYjVmYWQ5Mj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1677,19 +1617,19 @@ "15" ], "x-ms-request-id": [ - "ab78fded-7d6f-4f6c-a8a4-5a5ba75ea7e1" + "60401027-1ee3-46fa-9145-1e3cc3c8edb9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "14996" ], "x-ms-correlation-request-id": [ - "79e61978-6098-4f52-b340-b44ce363d591" + "33264b0f-eee9-4a34-90c4-97988c1c75bb" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221002Z:79e61978-6098-4f52-b340-b44ce363d591" + "NORTHEUROPE:20210226T053607Z:33264b0f-eee9-4a34-90c4-97988c1c75bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1698,7 +1638,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:02 GMT" + "Fri, 26 Feb 2021 05:36:06 GMT" ], "Content-Length": [ "107" @@ -1710,20 +1650,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"43083197-afc4-4d48-ae10-86fb6325bb8e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:32.46Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"8b58df57-0867-428d-b63f-60cb3b5fad92\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:36.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/43083197-afc4-4d48-ae10-86fb6325bb8e?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi80MzA4MzE5Ny1hZmM0LTRkNDgtYWUxMC04NmZiNjMyNWJiOGU/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzhiNThkZjU3LTA4NjctNDI4ZC1iNjNmLTYwY2IzYjVmYWQ5Mj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1737,19 +1677,19 @@ "15" ], "x-ms-request-id": [ - "022cff64-887b-42e9-a6f9-74c6f3ad9921" + "ab53930f-eafa-4f52-ae8c-c93156170905" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "14993" ], "x-ms-correlation-request-id": [ - "df27db35-6dc1-4a4a-9295-3406360365d9" + "29a475ae-3c99-467f-beac-6c185733863d" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221017Z:df27db35-6dc1-4a4a-9295-3406360365d9" + "NORTHEUROPE:20210226T053622Z:29a475ae-3c99-467f-beac-6c185733863d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1758,7 +1698,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:17 GMT" + "Fri, 26 Feb 2021 05:36:21 GMT" ], "Content-Length": [ "107" @@ -1770,20 +1710,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"43083197-afc4-4d48-ae10-86fb6325bb8e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-12-29T22:09:32.46Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"8b58df57-0867-428d-b63f-60cb3b5fad92\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-26T05:35:36.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/locations/eastus2euap/databaseAzureAsyncOperation/43083197-afc4-4d48-ae10-86fb6325bb8e?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czJldWFwL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi80MzA4MzE5Ny1hZmM0LTRkNDgtYWUxMC04NmZiNjMyNWJiOGU/YXBpLXZlcnNpb249MjAyMC0wOC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzhiNThkZjU3LTA4NjctNDI4ZC1iNjNmLTYwY2IzYjVmYWQ5Mj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1797,19 +1737,19 @@ "15" ], "x-ms-request-id": [ - "8de3498b-4735-4203-b49f-dd7714100a02" + "67e8bcc2-b79b-4397-bc7b-0899de6710a9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" + "14993" ], "x-ms-correlation-request-id": [ - "8eb25520-ab74-4228-9ae0-e0549801f118" + "6a64af95-c037-4639-b95d-5e4b148fd2de" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221033Z:8eb25520-ab74-4228-9ae0-e0549801f118" + "NORTHEUROPE:20210226T053637Z:6a64af95-c037-4639-b95d-5e4b148fd2de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1818,7 +1758,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:33 GMT" + "Fri, 26 Feb 2021 05:36:37 GMT" ], "Content-Length": [ "106" @@ -1830,20 +1770,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"43083197-afc4-4d48-ae10-86fb6325bb8e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-12-29T22:09:32.46Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"8b58df57-0867-428d-b63f-60cb3b5fad92\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-26T05:35:36.31Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-4019?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MDE5P2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MTI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1854,19 +1794,19 @@ "no-cache" ], "x-ms-request-id": [ - "7539b98f-040b-44c7-9cf1-62c975b3c10c" + "27216cc8-1d23-4ec1-9cd9-915ff07c3ddb" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "14994" ], "x-ms-correlation-request-id": [ - "ce9e22d0-3454-450d-80b8-d318f4fc7548" + "ff0581dc-dbea-4433-9948-36c6761ee976" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221017Z:ce9e22d0-3454-450d-80b8-d318f4fc7548" + "NORTHEUROPE:20210226T053620Z:ff0581dc-dbea-4433-9948-36c6761ee976" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1875,10 +1815,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:16 GMT" + "Fri, 26 Feb 2021 05:36:20 GMT" ], "Content-Length": [ - "1044" + "1168" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1887,26 +1827,26 @@ "-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\": \"8d38f1bb-ba71-4b48-8426-d004858843dd\",\r\n \"creationDate\": \"2020-12-29T22:10:14.53Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:14.53Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-4019\",\r\n \"name\": \"sqlcrudtest-4019\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-4019?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MDE5P2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MTI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "30591871-a750-4794-ad8f-635a6b00d00e" + "21e3eec0-e23d-4142-818c-264d3b4b66c4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1917,19 +1857,19 @@ "no-cache" ], "x-ms-request-id": [ - "2ff6130e-893a-4410-a93c-00e6848fcc3c" + "7ac35dfb-fccc-4512-bded-c94598e234a6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11979" + "14991" ], "x-ms-correlation-request-id": [ - "04a5b12d-7ea0-48b1-935a-a3d24d48eee3" + "3bc699fd-14fe-4595-a551-3016b7422c20" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221033Z:04a5b12d-7ea0-48b1-935a-a3d24d48eee3" + "NORTHEUROPE:20210226T053638Z:3bc699fd-14fe-4595-a551-3016b7422c20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1938,10 +1878,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:33 GMT" + "Fri, 26 Feb 2021 05:36:37 GMT" ], "Content-Length": [ - "1044" + "1168" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1950,20 +1890,20 @@ "-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\": \"8d38f1bb-ba71-4b48-8426-d004858843dd\",\r\n \"creationDate\": \"2020-12-29T22:10:14.53Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:14.53Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-4019\",\r\n \"name\": \"sqlcrudtest-4019\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-2103?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMTAzP2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNDI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -1974,19 +1914,19 @@ "no-cache" ], "x-ms-request-id": [ - "01fd6133-ab8a-4034-9737-c57025e63845" + "5add55af-1597-489b-8037-263c95073cea" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" + "14991" ], "x-ms-correlation-request-id": [ - "7279437d-e7bb-4105-9db8-4365c8ceaaf7" + "d94b96ab-e1c2-46bd-a1b3-e4ff9f812264" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221031Z:7279437d-e7bb-4105-9db8-4365c8ceaaf7" + "NORTHEUROPE:20210226T053636Z:d94b96ab-e1c2-46bd-a1b3-e4ff9f812264" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1995,10 +1935,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:31 GMT" + "Fri, 26 Feb 2021 05:36:36 GMT" ], "Content-Length": [ - "1046" + "1169" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2007,26 +1947,26 @@ "-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\": \"f92e94e6-6b78-4c1e-bf6c-98f86051c266\",\r\n \"creationDate\": \"2020-12-29T22:10:16.503Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:16.503Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-2103\",\r\n \"name\": \"sqlcrudtest-2103\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-2103?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMTAzP2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNDI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "955b9262-597e-428a-9b9e-f82d53d6cf9e" + "41bffdd8-3a4d-4d97-a084-5e00ac684b64" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -2037,19 +1977,19 @@ "no-cache" ], "x-ms-request-id": [ - "e4e3478f-f731-40d6-9144-04957ad52717" + "1ec71198-e216-4538-a333-94fd425882f3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11981" + "14990" ], "x-ms-correlation-request-id": [ - "83df9355-28a1-4987-a4ba-58169feb5099" + "bd74ec14-8296-4da6-ae0d-3bcb3a14346b" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221033Z:83df9355-28a1-4987-a4ba-58169feb5099" + "NORTHEUROPE:20210226T053638Z:bd74ec14-8296-4da6-ae0d-3bcb3a14346b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2058,10 +1998,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:33 GMT" + "Fri, 26 Feb 2021 05:36:38 GMT" ], "Content-Length": [ - "1046" + "1169" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2070,20 +2010,20 @@ "-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\": \"f92e94e6-6b78-4c1e-bf6c-98f86051c266\",\r\n \"creationDate\": \"2020-12-29T22:10:16.503Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:16.503Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-2103\",\r\n \"name\": \"sqlcrudtest-2103\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-8711?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC04NzExP2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNjc0P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -2094,19 +2034,19 @@ "no-cache" ], "x-ms-request-id": [ - "60400128-f93c-4258-a814-7819174a9402" + "45dff9c5-88b1-4955-8034-634dd73a5105" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" + "14989" ], "x-ms-correlation-request-id": [ - "76c8e891-aad0-48cd-a2a9-5bdd744b0bcb" + "4f74ffbf-c265-4cbe-88cc-8ae38b4d2407" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221032Z:76c8e891-aad0-48cd-a2a9-5bdd744b0bcb" + "NORTHEUROPE:20210226T053637Z:4f74ffbf-c265-4cbe-88cc-8ae38b4d2407" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2115,10 +2055,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:32 GMT" + "Fri, 26 Feb 2021 05:36:37 GMT" ], "Content-Length": [ - "1046" + "1171" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2127,26 +2067,26 @@ "-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\": \"596ef971-745a-4001-8a9c-3bdf69f0ca31\",\r\n \"creationDate\": \"2020-12-29T22:10:18.313Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:18.313Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-8711\",\r\n \"name\": \"sqlcrudtest-8711\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-8711?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC04NzExP2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNjc0P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d46db754-f3e4-452c-915e-b4ba9d26aa41" + "9501c542-6e0f-4ba9-9a0b-ad338c364289" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -2157,19 +2097,19 @@ "no-cache" ], "x-ms-request-id": [ - "f5c70fb2-af30-4dbb-ab32-88d97ded1807" + "17fd3e88-28bd-46db-8873-30056019a59b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11978" + "14988" ], "x-ms-correlation-request-id": [ - "7dd93fb2-16bc-4767-8769-c2f39104f27b" + "6f0dd13c-ac82-49db-9871-1e4fefdddd36" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221033Z:7dd93fb2-16bc-4767-8769-c2f39104f27b" + "NORTHEUROPE:20210226T053639Z:6f0dd13c-ac82-49db-9871-1e4fefdddd36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2178,10 +2118,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:33 GMT" + "Fri, 26 Feb 2021 05:36:38 GMT" ], "Content-Length": [ - "1046" + "1171" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2190,20 +2130,20 @@ "-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\": \"596ef971-745a-4001-8a9c-3bdf69f0ca31\",\r\n \"creationDate\": \"2020-12-29T22:10:18.313Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:18.313Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-8711\",\r\n \"name\": \"sqlcrudtest-8711\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-7457?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03NDU3P2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTI3P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -2214,19 +2154,19 @@ "no-cache" ], "x-ms-request-id": [ - "de3389be-5441-4560-b386-f0c3e84483fc" + "402c7a53-4a11-4ed1-940c-543230c2b29f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" + "14992" ], "x-ms-correlation-request-id": [ - "51464d3d-6791-47dd-aee5-faa36982ab31" + "7f5b3c2e-250c-4ade-b98c-65743d869e20" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221033Z:51464d3d-6791-47dd-aee5-faa36982ab31" + "NORTHEUROPE:20210226T053638Z:7f5b3c2e-250c-4ade-b98c-65743d869e20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2235,10 +2175,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:33 GMT" + "Fri, 26 Feb 2021 05:36:37 GMT" ], "Content-Length": [ - "1044" + "1171" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2247,26 +2187,26 @@ "-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\": \"bd1855a5-dbf2-48a6-a787-ecbc890437d2\",\r\n \"creationDate\": \"2020-12-29T22:10:18.96Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:18.96Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-7457\",\r\n \"name\": \"sqlcrudtest-7457\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-7457?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03NDU3P2FwaS12ZXJzaW9uPTIwMjAtMDgtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTI3P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "84417029-7666-4eca-8fbf-1ac5bc1f1543" + "56db3d2f-7429-4d28-8aa9-23fea55bc620" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -2277,19 +2217,19 @@ "no-cache" ], "x-ms-request-id": [ - "6cb4e930-67b9-4953-8ee6-c9453ac861b6" + "dbfceebe-7381-41bd-bd91-beba37b90697" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11980" + "14989" ], "x-ms-correlation-request-id": [ - "bd607c5e-cb78-4532-9f9e-882b3e6e8707" + "f9b99c58-1602-49d9-b5ff-984449374d8c" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221033Z:bd607c5e-cb78-4532-9f9e-882b3e6e8707" + "NORTHEUROPE:20210226T053639Z:f9b99c58-1602-49d9-b5ff-984449374d8c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2298,10 +2238,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:33 GMT" + "Fri, 26 Feb 2021 05:36:38 GMT" ], "Content-Length": [ - "1044" + "1171" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2310,26 +2250,26 @@ "-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\": \"bd1855a5-dbf2-48a6-a787-ecbc890437d2\",\r\n \"creationDate\": \"2020-12-29T22:10:18.96Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:18.96Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-7457\",\r\n \"name\": \"sqlcrudtest-7457\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases?api-version=2020-08-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTM4NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04NDA5L2RhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDIwLTA4LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4c92fa02-adc9-4f27-8e35-d2ae86494957" + "f5f2b229-cf68-4953-a907-015cd68465b6" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.48.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" ] }, "ResponseHeaders": { @@ -2340,19 +2280,19 @@ "no-cache" ], "x-ms-request-id": [ - "8cbe2e75-d102-4824-abc0-2e24b4087afb" + "2ada84ba-1c2e-46a1-89ad-103b520a881d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11977" + "14987" ], "x-ms-correlation-request-id": [ - "b90ad4c1-e5c7-471f-9b03-798794d3a095" + "2249eea9-f666-486a-b4b6-f61ec4523eb0" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221033Z:b90ad4c1-e5c7-471f-9b03-798794d3a095" + "NORTHEUROPE:20210226T053639Z:2249eea9-f666-486a-b4b6-f61ec4523eb0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2361,10 +2301,10 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:33 GMT" + "Fri, 26 Feb 2021 05:36:39 GMT" ], "Content-Length": [ - "5321" + "5877" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2373,25 +2313,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"System\",\r\n \"tier\": \"System\",\r\n \"capacity\": 0\r\n },\r\n \"kind\": \"v12.0,system\",\r\n \"managedBy\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 32212254720,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"89aaec07-2bd9-4672-a1c9-c9789152d1ac\",\r\n \"creationDate\": \"2020-12-29T22:09:26.383Z\",\r\n \"currentServiceObjectiveName\": \"System2\",\r\n \"requestedServiceObjectiveName\": \"System2\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"System\",\r\n \"tier\": \"System\",\r\n \"capacity\": 0\r\n },\r\n \"storageAccountType\": \"LRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/master\",\r\n \"name\": \"master\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"f92e94e6-6b78-4c1e-bf6c-98f86051c266\",\r\n \"creationDate\": \"2020-12-29T22:10:16.503Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:16.503Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-2103\",\r\n \"name\": \"sqlcrudtest-2103\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"8d38f1bb-ba71-4b48-8426-d004858843dd\",\r\n \"creationDate\": \"2020-12-29T22:10:14.53Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:14.53Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-4019\",\r\n \"name\": \"sqlcrudtest-4019\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"bd1855a5-dbf2-48a6-a787-ecbc890437d2\",\r\n \"creationDate\": \"2020-12-29T22:10:18.96Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:18.96Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-7457\",\r\n \"name\": \"sqlcrudtest-7457\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"596ef971-745a-4001-8a9c-3bdf69f0ca31\",\r\n \"creationDate\": \"2020-12-29T22:10:18.313Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"centraluseuap\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-12-29T22:40:18.313Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"id\": \"/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourceGroups/sqlcrudtest-3858/providers/Microsoft.Sql/servers/sqlcrudtest-8409/databases/sqlcrudtest-8711\",\r\n \"name\": \"sqlcrudtest-8711\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"System\",\r\n \"tier\": \"System\",\r\n \"capacity\": 0\r\n },\r\n \"kind\": \"v12.0,system\",\r\n \"managedBy\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 32212254720,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"6abf82c1-a4af-4122-8239-aa44457cbff6\",\r\n \"creationDate\": \"2021-02-26T05:35:31.113Z\",\r\n \"currentServiceObjectiveName\": \"System2\",\r\n \"requestedServiceObjectiveName\": \"System2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"System\",\r\n \"tier\": \"System\",\r\n \"capacity\": 0\r\n },\r\n \"currentBackupStorageRedundancy\": \"Local\",\r\n \"requestedBackupStorageRedundancy\": \"Local\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/master\",\r\n \"name\": \"master\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/resourcegroups/sqlcrudtest-3858?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTBhMjM4ZDYtYTEzOS00NmQwLTgxOGQtZDA5MTM5NDA3MmI2L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTM4NTg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourcegroups/sqlcrudtest-7018?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTcwMTg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "451d3114-b215-4c61-bfce-31942c73d1ef" + "5c7764ba-72a6-402e-b0bc-f783dd8c4902" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29321.03", + "FxVersion/4.6.29719.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.14393.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ] }, @@ -2403,7 +2343,7 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/10a238d6-a139-46d0-818d-d091394072b6/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDM4NTgtRUFTVFVTMkVVQVAiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czJldWFwIn0?api-version=2017-05-10" + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDcwMTgtU09VVEhFQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoic291dGhlYXN0YXNpYSJ9?api-version=2017-05-10" ], "Retry-After": [ "15" @@ -2412,13 +2352,13 @@ "14999" ], "x-ms-request-id": [ - "2c05f11f-ba63-456a-8f06-4561a928ccf9" + "fd890f53-1cbd-4797-aec3-71b6a311d3c7" ], "x-ms-correlation-request-id": [ - "2c05f11f-ba63-456a-8f06-4561a928ccf9" + "fd890f53-1cbd-4797-aec3-71b6a311d3c7" ], "x-ms-routing-request-id": [ - "WESTUS2:20201229T221035Z:2c05f11f-ba63-456a-8f06-4561a928ccf9" + "NORTHEUROPE:20210226T053640Z:fd890f53-1cbd-4797-aec3-71b6a311d3c7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2427,7 +2367,7 @@ "nosniff" ], "Date": [ - "Tue, 29 Dec 2020 22:10:34 GMT" + "Fri, 26 Feb 2021 05:36:40 GMT" ], "Expires": [ "-1" @@ -2442,20 +2382,20 @@ ], "Names": { "CreateResourceGroup": [ - "sqlcrudtest-3858" + "sqlcrudtest-7018" ], "CreateServer": [ - "sqlcrudtest-8409" + "sqlcrudtest-1353" ], "CreateDatabasesAsync": [ - "sqlcrudtest-2103", - "sqlcrudtest-7457", - "sqlcrudtest-4019", - "sqlcrudtest-8711" + "sqlcrudtest-412", + "sqlcrudtest-342", + "sqlcrudtest-2527", + "sqlcrudtest-1674" ] }, "Variables": { - "DefaultLocation": "East US 2 EUAP", - "SubscriptionId": "10a238d6-a139-46d0-818d-d091394072b6" + "DefaultLocation": "Southeast Asia", + "SubscriptionId": "01c4ec88-e179-44f7-9eb0-e9719a5087ab" } } \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestCopyLongTermRetentionBackup.json b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestCopyLongTermRetentionBackup.json new file mode 100644 index 000000000000..b521a4dbf352 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestCopyLongTermRetentionBackup.json @@ -0,0 +1,452 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server/databases/sample-db-ltr-test?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2F5YW5nLXN0YWdlLXNlYXMvZGF0YWJhc2VzL2x0cjM/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e0d2aa64-8ffb-4627-8bae-b957a110ab1e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "967c9f16-c19b-4c35-9d7f-67c638e71d54" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "cd4416be-8131-4de1-b7a9-95c1db441de3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20210225T234826Z:cd4416be-8131-4de1-b7a9-95c1db441de3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:48:26 GMT" + ], + "Content-Length": [ + "1185" + ], + "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\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3\",\r\n \"creationDate\": \"2021-01-31T21:59:43.58Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"earliestRestoreDate\": \"2021-02-18T00:00:00Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Local\",\r\n \"requestedBackupStorageRedundancy\": \"Local\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server/databases/sample-db-ltr-test\",\r\n \"name\": \"sample-db-ltr-test\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9sb25nVGVybVJldGVudGlvblNlcnZlcnMvYXlhbmctc3RhZ2Utc2Vhcy9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9sdHIzL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "28400cc9-7a0d-478e-a57a-5c2b122b4bdd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6ad03668-e39d-4e02-8863-d16520f6a4f7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "a313e22e-21c6-4b3c-952a-c76aca22252e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20210225T234827Z:a313e22e-21c6-4b3c-952a-c76aca22252e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:48:26 GMT" + ], + "Content-Length": [ + "2771" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-01-31T22:06:15Z\",\r\n \"backupExpirationTime\": \"2021-03-02T22:06:15Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-10T01:31:26Z\",\r\n \"backupExpirationTime\": \"2021-03-12T01:31:26Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132573942860000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132573942860000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-17T01:33:52Z\",\r\n \"backupExpirationTime\": \"2021-03-19T01:33:52Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132579992320000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132579992320000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-24T01:32:03Z\",\r\n \"backupExpirationTime\": \"2021-03-26T01:32:03Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132586039230000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132586039230000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3%3B132566043750000000?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvc291dGhlYXN0YXNpYS9sb25nVGVybVJldGVudGlvblNlcnZlcnMvYXlhbmctc3RhZ2Utc2Vhcy9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9sdHIzL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcy9lNWMyMGY0My00OTRjLTQ5MjUtODlkMS01OGUwZjQ1NjlmYjMlM0IxMzI1NjYwNDM3NTAwMDAwMDA/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2608808c-dc60-40fd-bcf1-3fbdc1230d86" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "25d42d12-160d-46b6-8e7e-fb11efc38b68" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "7155d3b7-9823-4aa9-bf35-fed1831b1e8c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20210225T234827Z:7155d3b7-9823-4aa9-bf35-fed1831b1e8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:48:26 GMT" + ], + "Content-Length": [ + "689" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-01-31T22:06:15Z\",\r\n \"backupExpirationTime\": \"2021-03-02T22:06:15Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3%3B132566043750000000/copy?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9zb3V0aGVhc3Rhc2lhL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy9heWFuZy1zdGFnZS1zZWFzL2xvbmdUZXJtUmV0ZW50aW9uRGF0YWJhc2VzL2x0cjMvbG9uZ1Rlcm1SZXRlbnRpb25CYWNrdXBzL2U1YzIwZjQzLTQ5NGMtNDkyNS04OWQxLTU4ZTBmNDU2OWZiMyUzQjEzMjU2NjA0Mzc1MDAwMDAwMC9jb3B5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"targetSubscriptionId\": \"a2118292-1596-401f-aa17-332ff0df38dc\",\r\n \"targetResourceGroup\": \"sample-rg\",\r\n \"targetServerResourceId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server-1\",\r\n \"targetDatabaseName\": \"sample-db-ltr-test-1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e69445d8-5e82-4c9e-a2c0-055363fc2595" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "328" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview" + ], + "Retry-After": [ + "15" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview" + ], + "x-ms-request-id": [ + "a5988f91-c5d9-41aa-aebd-2e31eb49da60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "2facfda1-e92b-498b-854b-3ed10c109d3c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20210225T234828Z:2facfda1-e92b-498b-854b-3ed10c109d3c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:48:27 GMT" + ], + "Content-Length": [ + "64" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CopyBackup\",\r\n \"startTime\": \"2021-02-25T23:48:28.13Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9zb3V0aGVhc3Rhc2lhL2xvbmdUZXJtUmV0ZW50aW9uQmFja3VwQXp1cmVBc3luY09wZXJhdGlvbi9hNTk4OGY5MS1jNWQ5LTQxYWEtYWViZC0yZTMxZWI0OWRhNjA/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "4a0ae109-1499-49ca-8bf6-b35d0666673b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "7850645b-845d-4c7c-bc50-baca35f32f34" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20210225T234843Z:7850645b-845d-4c7c-bc50-baca35f32f34" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:48:43 GMT" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a5988f91-c5d9-41aa-aebd-2e31eb49da60\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2021-02-25T23:48:28.13Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9zb3V0aGVhc3Rhc2lhL2xvbmdUZXJtUmV0ZW50aW9uQmFja3VwQXp1cmVBc3luY09wZXJhdGlvbi9hNTk4OGY5MS1jNWQ5LTQxYWEtYWViZC0yZTMxZWI0OWRhNjA/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "df8bd6ba-0622-445c-bc02-b1093bb4d94e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "40b20ad2-e80f-47ec-b3ce-4c6ed2c0f726" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20210225T234858Z:40b20ad2-e80f-47ec-b3ce-4c6ed2c0f726" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:48:58 GMT" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a5988f91-c5d9-41aa-aebd-2e31eb49da60\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-25T23:48:28.13Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9zb3V0aGVhc3Rhc2lhL2xvbmdUZXJtUmV0ZW50aW9uQmFja3VwT3BlcmF0aW9uUmVzdWx0cy9hNTk4OGY5MS1jNWQ5LTQxYWEtYWViZC0yZTMxZWI0OWRhNjA/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "032fe56b-56eb-4f65-a9b1-1e0633886ad4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "7c4ad380-f520-45da-a90f-bf97d30c3eca" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20210225T234859Z:7c4ad380-f520-45da-a90f-bf97d30c3eca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:48:58 GMT" + ], + "Content-Length": [ + "1026" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"a5988f91-c5d9-41aa-aebd-2e31eb49da60\",\r\n \"operationType\": \"CopyBackup\",\r\n \"fromBackupResourceId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"toBackupResourceId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server-1/longTermRetentionDatabases/sample-db-ltr-test-1/longTermRetentionBackups/686b36ff-5f3f-49be-afe6-0087186392eb;132566043750000000\",\r\n \"status\": \"Succeeded\",\r\n \"message\": \"Complete\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionBackupOperationResults/a5988f91-c5d9-41aa-aebd-2e31eb49da60\",\r\n \"name\": \"a5988f91-c5d9-41aa-aebd-2e31eb49da60\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionBackupOperationResults\"\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a2118292-1596-401f-aa17-332ff0df38dc" + } +} \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestUpdateLongTermRetentionBackup.json b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestUpdateLongTermRetentionBackup.json new file mode 100644 index 000000000000..91f5e664dec7 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestUpdateLongTermRetentionBackup.json @@ -0,0 +1,392 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server/databases/sample-db-ltr-test?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2F5YW5nLXN0YWdlLXNlYXMvZGF0YWJhc2VzL2x0cjM/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7db11f83-d6d9-4b0a-8282-54575116ff3d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "97e9775a-e785-4d58-b66d-b226606e93c7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "d37f1d87-f85f-4419-a170-1c969052fafa" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210225T232316Z:d37f1d87-f85f-4419-a170-1c969052fafa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:23:15 GMT" + ], + "Content-Length": [ + "1181" + ], + "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\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3\",\r\n \"creationDate\": \"2021-01-31T21:59:43.58Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"earliestRestoreDate\": \"2021-02-18T00:00:00Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server/databases/sample-db-ltr-test\",\r\n \"name\": \"sample-db-ltr-test\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvU291dGhlYXN0JTIwQXNpYS9sb25nVGVybVJldGVudGlvblNlcnZlcnMvYXlhbmctc3RhZ2Utc2Vhcy9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9sdHIzL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e230c5c7-95f6-495d-ab5d-ad1bc916813c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "87cbafba-26c1-499e-bf8a-7a6d1647227e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "f6b1794a-d1a0-4b91-a96e-d4080d997452" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210225T232316Z:f6b1794a-d1a0-4b91-a96e-d4080d997452" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:23:16 GMT" + ], + "Content-Length": [ + "2775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-01-31T22:06:15Z\",\r\n \"backupExpirationTime\": \"2021-03-02T22:06:15Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-10T01:31:26Z\",\r\n \"backupExpirationTime\": \"2021-03-12T01:31:26Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132573942860000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132573942860000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-17T01:33:52Z\",\r\n \"backupExpirationTime\": \"2021-03-19T01:33:52Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132579992320000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132579992320000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-24T01:32:03Z\",\r\n \"backupExpirationTime\": \"2021-03-26T01:32:03Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132586039230000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132586039230000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3%3B132566043750000000?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvU291dGhlYXN0JTIwQXNpYS9sb25nVGVybVJldGVudGlvblNlcnZlcnMvYXlhbmctc3RhZ2Utc2Vhcy9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9sdHIzL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcy9lNWMyMGY0My00OTRjLTQ5MjUtODlkMS01OGUwZjQ1NjlmYjMlM0IxMzI1NjYwNDM3NTAwMDAwMDA/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "42817190-e88a-4d61-bd53-daf54b3570d3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8e6fa6fe-9d35-4011-aa53-9ae953773568" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "1a6049e4-2b36-43cd-9bd3-7eeb1c6ee497" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210225T232317Z:1a6049e4-2b36-43cd-9bd3-7eeb1c6ee497" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:23:16 GMT" + ], + "Content-Length": [ + "690" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-01-31T22:06:15Z\",\r\n \"backupExpirationTime\": \"2021-03-02T22:06:15Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3%3B132566043750000000/update?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9Tb3V0aGVhc3QlMjBBc2lhL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy9heWFuZy1zdGFnZS1zZWFzL2xvbmdUZXJtUmV0ZW50aW9uRGF0YWJhc2VzL2x0cjMvbG9uZ1Rlcm1SZXRlbnRpb25CYWNrdXBzL2U1YzIwZjQzLTQ5NGMtNDkyNS04OWQxLTU4ZTBmNDU2OWZiMyUzQjEzMjU2NjA0Mzc1MDAwMDAwMC91cGRhdGU/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"requestedBackupStorageRedundancy\": \"Geo\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c27ba1da-018c-4ffb-b78c-9782411efa10" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "75" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview" + ], + "Retry-After": [ + "15" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview" + ], + "x-ms-request-id": [ + "68f348f8-3646-4d91-aa22-773965eb08db" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "9298928f-3a8b-4880-9075-74158a3d5602" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210225T232317Z:9298928f-3a8b-4880-9075-74158a3d5602" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:23:17 GMT" + ], + "Content-Length": [ + "67" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"UpdateBackup\",\r\n \"startTime\": \"2021-02-25T23:23:17.527Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9zb3V0aGVhc3Rhc2lhL2xvbmdUZXJtUmV0ZW50aW9uQmFja3VwQXp1cmVBc3luY09wZXJhdGlvbi82OGYzNDhmOC0zNjQ2LTRkOTEtYWEyMi03NzM5NjVlYjA4ZGI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "d04a2c79-73b7-4692-8dd5-d20decfe1794" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "2f6faf1a-dad1-4b4f-8ecb-1352be4286a2" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210225T232333Z:2f6faf1a-dad1-4b4f-8ecb-1352be4286a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:23:32 GMT" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2021-02-25T23:23:17.527Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9zb3V0aGVhc3Rhc2lhL2xvbmdUZXJtUmV0ZW50aW9uQmFja3VwT3BlcmF0aW9uUmVzdWx0cy82OGYzNDhmOC0zNjQ2LTRkOTEtYWEyMi03NzM5NjVlYjA4ZGI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29719.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.49.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "30c93d24-2b7c-4ab0-b33e-d24a7f9651ea" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "b3ec2310-0daa-4815-9806-2869fe36839e" + ], + "x-ms-routing-request-id": [ + "NORTHEUROPE:20210225T232333Z:b3ec2310-0daa-4815-9806-2869fe36839e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 25 Feb 2021 23:23:33 GMT" + ], + "Content-Length": [ + "1042" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"operationType\": \"UpdateBackup\",\r\n \"fromBackupResourceId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"toBackupResourceId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"targetBackupStorageRedundancy\": \"Geo\",\r\n \"status\": \"Succeeded\",\r\n \"message\": \"Complete\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"name\": \"68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionBackupOperationResults\"\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "01c4ec88-e179-44f7-9eb0-e9719a5087ab" + } +} \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/Utilities/SqlManagementTestUtilities.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/Utilities/SqlManagementTestUtilities.cs index 3d388db96f5d..1864c5bc47bc 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/Utilities/SqlManagementTestUtilities.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/Utilities/SqlManagementTestUtilities.cs @@ -225,9 +225,9 @@ public static void ValidateDatabase(dynamic expected, Database actual, string na Assert.Equal(expected.HighAvailabilityReplicaCount, actual.HighAvailabilityReplicaCount); } - if (!string.IsNullOrEmpty(expected.StorageAccountType)) + if (!string.IsNullOrEmpty(expected.RequestedBackupStorageRedundancy)) { - Assert.Equal(expected.StorageAccountType, actual.StorageAccountType); + Assert.Equal(expected.RequestedBackupStorageRedundancy, actual.RequestedBackupStorageRedundancy); } if (!string.IsNullOrEmpty(expected.MaintenanceConfigurationId)) From 6e732c90ff961b08801de89fa29110cd8acd330a Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Wed, 3 Mar 2021 14:58:20 -0800 Subject: [PATCH 02/13] use azure endpoint --- .../TestCopyDatabase.json | 108 ++++++++-------- .../TestGetAndListDatabase.json | 122 +++++++++--------- .../TestCopyLongTermRetentionBackup.json | 4 +- .../TestUpdateLongTermRetentionBackup.json | 26 ++-- 4 files changed, 130 insertions(+), 130 deletions(-) diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCopyScenarioTests/TestCopyDatabase.json b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCopyScenarioTests/TestCopyDatabase.json index 585fbd9f1256..2d53ec1a540c 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCopyScenarioTests/TestCopyDatabase.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCopyScenarioTests/TestCopyDatabase.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourcegroups/sqlcrudtest-2679?api-version=2017-05-10", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourcegroups/sqlcrudtest-2679?api-version=2017-05-10", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTI2Nzk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {\r\n \"sqlcrudtest-2679\": \"2021-02-26 05:12:40Z\"\r\n }\r\n}", @@ -63,11 +63,11 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679\",\r\n \"name\": \"sqlcrudtest-2679\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"sqlcrudtest-2679\": \"2021-02-26 05:12:40Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679\",\r\n \"name\": \"sqlcrudtest-2679\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"sqlcrudtest-2679\": \"2021-02-26 05:12:40Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02Nzk4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", @@ -99,13 +99,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview" ], "Retry-After": [ "1" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview" ], "x-ms-request-id": [ "2cc992a2-296a-44dd-94af-ed4c18fdfe47" @@ -145,7 +145,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -205,7 +205,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -265,7 +265,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -325,7 +325,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -385,7 +385,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -445,7 +445,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -505,7 +505,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/2cc992a2-296a-44dd-94af-ed4c18fdfe47?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yY2M5OTJhMi0yOTZhLTQ0ZGQtOTRhZi1lZDRjMThmZGZlNDc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -565,7 +565,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02Nzk4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -618,11 +618,11 @@ "-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-6798.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798\",\r\n \"name\": \"sqlcrudtest-6798\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-6798.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798\",\r\n \"name\": \"sqlcrudtest-6798\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NzA3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", @@ -654,13 +654,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview" ], "Retry-After": [ "1" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview" ], "x-ms-request-id": [ "f3328cf3-762b-47ae-bb4f-15ac27625fee" @@ -700,7 +700,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -760,7 +760,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -820,7 +820,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -880,7 +880,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -940,7 +940,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -1000,7 +1000,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f3328cf3-762b-47ae-bb4f-15ac27625fee?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mMzMyOGNmMy03NjJiLTQ3YWUtYmI0Zi0xNWFjMjc2MjVmZWU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -1060,7 +1060,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NzA3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -1113,11 +1113,11 @@ "-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-7707.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707\",\r\n \"name\": \"sqlcrudtest-7707\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-7707.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707\",\r\n \"name\": \"sqlcrudtest-7707\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02Nzk4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNTE5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000\r\n },\r\n \"location\": \"southeastasia\"\r\n}", @@ -1149,13 +1149,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview" ], "x-ms-request-id": [ "bafbbb8a-f2ac-4812-a910-f9be150e592c" @@ -1195,7 +1195,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JhZmJiYjhhLWYyYWMtNDgxMi1hOTEwLWY5YmUxNTBlNTkyYz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1255,7 +1255,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JhZmJiYjhhLWYyYWMtNDgxMi1hOTEwLWY5YmUxNTBlNTkyYz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1315,7 +1315,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JhZmJiYjhhLWYyYWMtNDgxMi1hOTEwLWY5YmUxNTBlNTkyYz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1375,7 +1375,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/bafbbb8a-f2ac-4812-a910-f9be150e592c?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JhZmJiYjhhLWYyYWMtNDgxMi1hOTEwLWY5YmUxNTBlNTkyYz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1435,7 +1435,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02Nzk4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNTE5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -1488,14 +1488,14 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"2769babe-b362-422c-8459-1a91fa7dc02c\",\r\n \"creationDate\": \"2021-02-26T05:15:35.857Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519\",\r\n \"name\": \"sqlcrudtest-3519\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"2769babe-b362-422c-8459-1a91fa7dc02c\",\r\n \"creationDate\": \"2021-02-26T05:15:35.857Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519\",\r\n \"name\": \"sqlcrudtest-3519\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NzA3L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Mjg5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"createMode\": \"Copy\",\r\n \"sourceDatabaseId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519\"\r\n },\r\n \"location\": \"southeastasia\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"createMode\": \"Copy\",\r\n \"sourceDatabaseId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-6798/databases/sqlcrudtest-3519\"\r\n },\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ "c9fa3e3b-cefc-499b-9d21-344b48149a12" @@ -1524,13 +1524,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview" ], "x-ms-request-id": [ "329be30d-b35f-4262-afaa-9a24ee5c601f" @@ -1570,7 +1570,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1630,7 +1630,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1690,7 +1690,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1750,7 +1750,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1810,7 +1810,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1870,7 +1870,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1930,7 +1930,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1990,7 +1990,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -2050,7 +2050,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -2110,7 +2110,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -2170,7 +2170,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f036b3e2-9ff8-4214-961f-42b96677baa8?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YwMzZiM2UyLTlmZjgtNDIxNC05NjFmLTQyYjk2Njc3YmFhOD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -2230,7 +2230,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NzA3L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Mjg5P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -2283,11 +2283,11 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"26a2ed12-78b6-4b7e-93ae-4230c8074d5d\",\r\n \"creationDate\": \"2021-02-26T05:18:22.697Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289\",\r\n \"name\": \"sqlcrudtest-5289\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 524288000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"26a2ed12-78b6-4b7e-93ae-4230c8074d5d\",\r\n \"creationDate\": \"2021-02-26T05:18:22.697Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-2679/providers/Microsoft.Sql/servers/sqlcrudtest-7707/databases/sqlcrudtest-5289\",\r\n \"name\": \"sqlcrudtest-5289\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourcegroups/sqlcrudtest-2679?api-version=2017-05-10", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourcegroups/sqlcrudtest-2679?api-version=2017-05-10", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTI2Nzk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", @@ -2313,7 +2313,7 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDI2NzktU09VVEhFQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoic291dGhlYXN0YXNpYSJ9?api-version=2017-05-10" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDI2NzktU09VVEhFQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoic291dGhlYXN0YXNpYSJ9?api-version=2017-05-10" ], "Retry-After": [ "15" @@ -2365,6 +2365,6 @@ }, "Variables": { "DefaultLocation": "Southeast Asia", - "SubscriptionId": "01c4ec88-e179-44f7-9eb0-e9719a5087ab" + "SubscriptionId": "a2118292-1596-401f-aa17-332ff0df38dc" } } \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCrudScenarioTests/TestGetAndListDatabase.json b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCrudScenarioTests/TestGetAndListDatabase.json index 95ef84d38628..e13d905b24b1 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCrudScenarioTests/TestGetAndListDatabase.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseCrudScenarioTests/TestGetAndListDatabase.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourcegroups/sqlcrudtest-7018?api-version=2017-05-10", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourcegroups/sqlcrudtest-7018?api-version=2017-05-10", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTcwMTg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {\r\n \"sqlcrudtest-7018\": \"2021-02-26 05:34:41Z\"\r\n }\r\n}", @@ -63,11 +63,11 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018\",\r\n \"name\": \"sqlcrudtest-7018\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"sqlcrudtest-7018\": \"2021-02-26 05:34:41Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018\",\r\n \"name\": \"sqlcrudtest-7018\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"sqlcrudtest-7018\": \"2021-02-26 05:34:41Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", @@ -99,13 +99,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview" ], "Retry-After": [ "1" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview" ], "x-ms-request-id": [ "f6f53717-7790-405c-88d1-ce95fdc87040" @@ -145,7 +145,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -205,7 +205,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -265,7 +265,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -325,7 +325,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -385,7 +385,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -445,7 +445,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/f6f53717-7790-405c-88d1-ce95fdc87040?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9mNmY1MzcxNy03NzkwLTQwNWMtODhkMS1jZTk1ZmRjODcwNDA/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -505,7 +505,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353?api-version=2019-06-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -558,11 +558,11 @@ "-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-1353.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353\",\r\n \"name\": \"sqlcrudtest-1353\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-1353.sqltest-eg1.mscds.com\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353\",\r\n \"name\": \"sqlcrudtest-1353\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MTI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", @@ -594,13 +594,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview" ], "x-ms-request-id": [ "58678463-c43a-449b-8a18-b90af066139a" @@ -640,7 +640,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNDI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", @@ -672,13 +672,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview" ], "x-ms-request-id": [ "36cc8605-3011-42b0-ba62-ddf9d002a7af" @@ -718,7 +718,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNjc0P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", @@ -750,13 +750,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview" ], "x-ms-request-id": [ "ad656162-a260-4774-aee2-d2da3e064e45" @@ -796,7 +796,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTI3P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", @@ -828,13 +828,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview" ], "x-ms-request-id": [ "8b58df57-0867-428d-b63f-60cb3b5fad92" @@ -874,7 +874,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzU4Njc4NDYzLWM0M2EtNDQ5Yi04YTE4LWI5MGFmMDY2MTM5YT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -934,7 +934,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzU4Njc4NDYzLWM0M2EtNDQ5Yi04YTE4LWI5MGFmMDY2MTM5YT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -994,7 +994,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/58678463-c43a-449b-8a18-b90af066139a?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzU4Njc4NDYzLWM0M2EtNDQ5Yi04YTE4LWI5MGFmMDY2MTM5YT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1054,7 +1054,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzM2Y2M4NjA1LTMwMTEtNDJiMC1iYTYyLWRkZjlkMDAyYTdhZj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1114,7 +1114,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzM2Y2M4NjA1LTMwMTEtNDJiMC1iYTYyLWRkZjlkMDAyYTdhZj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1174,7 +1174,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzM2Y2M4NjA1LTMwMTEtNDJiMC1iYTYyLWRkZjlkMDAyYTdhZj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1234,7 +1234,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/36cc8605-3011-42b0-ba62-ddf9d002a7af?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzM2Y2M4NjA1LTMwMTEtNDJiMC1iYTYyLWRkZjlkMDAyYTdhZj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1294,7 +1294,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2FkNjU2MTYyLWEyNjAtNDc3NC1hZWUyLWQyZGEzZTA2NGU0NT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1354,7 +1354,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2FkNjU2MTYyLWEyNjAtNDc3NC1hZWUyLWQyZGEzZTA2NGU0NT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1414,7 +1414,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2FkNjU2MTYyLWEyNjAtNDc3NC1hZWUyLWQyZGEzZTA2NGU0NT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1474,7 +1474,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ad656162-a260-4774-aee2-d2da3e064e45?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2FkNjU2MTYyLWEyNjAtNDc3NC1hZWUyLWQyZGEzZTA2NGU0NT9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1534,7 +1534,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzhiNThkZjU3LTA4NjctNDI4ZC1iNjNmLTYwY2IzYjVmYWQ5Mj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1594,7 +1594,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzhiNThkZjU3LTA4NjctNDI4ZC1iNjNmLTYwY2IzYjVmYWQ5Mj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1654,7 +1654,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzhiNThkZjU3LTA4NjctNDI4ZC1iNjNmLTYwY2IzYjVmYWQ5Mj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1714,7 +1714,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8b58df57-0867-428d-b63f-60cb3b5fad92?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzhiNThkZjU3LTA4NjctNDI4ZC1iNjNmLTYwY2IzYjVmYWQ5Mj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -1774,7 +1774,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MTI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -1827,11 +1827,11 @@ "-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\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MTI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -1890,11 +1890,11 @@ "-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\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNDI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -1947,11 +1947,11 @@ "-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\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zNDI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -2010,11 +2010,11 @@ "-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\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNjc0P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -2067,11 +2067,11 @@ "-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\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNjc0P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -2130,11 +2130,11 @@ "-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\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTI3P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -2187,11 +2187,11 @@ "-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\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTI3P2FwaS12ZXJzaW9uPTIwMjAtMTEtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", @@ -2250,11 +2250,11 @@ "-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\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTcwMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzUzL2RhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -2313,11 +2313,11 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"System\",\r\n \"tier\": \"System\",\r\n \"capacity\": 0\r\n },\r\n \"kind\": \"v12.0,system\",\r\n \"managedBy\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 32212254720,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"6abf82c1-a4af-4122-8239-aa44457cbff6\",\r\n \"creationDate\": \"2021-02-26T05:35:31.113Z\",\r\n \"currentServiceObjectiveName\": \"System2\",\r\n \"requestedServiceObjectiveName\": \"System2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"System\",\r\n \"tier\": \"System\",\r\n \"capacity\": 0\r\n },\r\n \"currentBackupStorageRedundancy\": \"Local\",\r\n \"requestedBackupStorageRedundancy\": \"Local\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/master\",\r\n \"name\": \"master\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"System\",\r\n \"tier\": \"System\",\r\n \"capacity\": 0\r\n },\r\n \"kind\": \"v12.0,system\",\r\n \"managedBy\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 32212254720,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"6abf82c1-a4af-4122-8239-aa44457cbff6\",\r\n \"creationDate\": \"2021-02-26T05:35:31.113Z\",\r\n \"currentServiceObjectiveName\": \"System2\",\r\n \"requestedServiceObjectiveName\": \"System2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"System\",\r\n \"tier\": \"System\",\r\n \"capacity\": 0\r\n },\r\n \"currentBackupStorageRedundancy\": \"Local\",\r\n \"requestedBackupStorageRedundancy\": \"Local\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/master\",\r\n \"name\": \"master\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"0b29be3c-39f9-4816-b6ff-627de7f245f3\",\r\n \"creationDate\": \"2021-02-26T05:36:28.027Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-1674\",\r\n \"name\": \"sqlcrudtest-1674\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"9042808e-7dc3-4d2f-94cf-c15b1e411cc2\",\r\n \"creationDate\": \"2021-02-26T05:36:30.477Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-2527\",\r\n \"name\": \"sqlcrudtest-2527\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"1196fec0-2d72-46f2-b83d-3a3ec93b4e23\",\r\n \"creationDate\": \"2021-02-26T05:36:21.163Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-342\",\r\n \"name\": \"sqlcrudtest-342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n },\r\n {\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\": \"0c577934-519c-4202-8c9e-7b792c518666\",\r\n \"creationDate\": \"2021-02-26T05:36:16.96Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sqlcrudtest-7018/providers/Microsoft.Sql/servers/sqlcrudtest-1353/databases/sqlcrudtest-412\",\r\n \"name\": \"sqlcrudtest-412\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourcegroups/sqlcrudtest-7018?api-version=2017-05-10", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourcegroups/sqlcrudtest-7018?api-version=2017-05-10", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTcwMTg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", @@ -2343,7 +2343,7 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDcwMTgtU09VVEhFQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoic291dGhlYXN0YXNpYSJ9?api-version=2017-05-10" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDcwMTgtU09VVEhFQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoic291dGhlYXN0YXNpYSJ9?api-version=2017-05-10" ], "Retry-After": [ "15" @@ -2396,6 +2396,6 @@ }, "Variables": { "DefaultLocation": "Southeast Asia", - "SubscriptionId": "01c4ec88-e179-44f7-9eb0-e9719a5087ab" + "SubscriptionId": "a2118292-1596-401f-aa17-332ff0df38dc" } } \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestCopyLongTermRetentionBackup.json b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestCopyLongTermRetentionBackup.json index b521a4dbf352..fc3f31cf23b3 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestCopyLongTermRetentionBackup.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestCopyLongTermRetentionBackup.json @@ -222,13 +222,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/a5988f91-c5d9-41aa-aebd-2e31eb49da60?api-version=2020-11-01-preview" ], "x-ms-request-id": [ "a5988f91-c5d9-41aa-aebd-2e31eb49da60" diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestUpdateLongTermRetentionBackup.json b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestUpdateLongTermRetentionBackup.json index 91f5e664dec7..9da7e9a4697c 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestUpdateLongTermRetentionBackup.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/SessionRecords/DatabaseLongTermRetentionBackupsTests/TestUpdateLongTermRetentionBackup.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server/databases/sample-db-ltr-test?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server/databases/sample-db-ltr-test?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2F5YW5nLXN0YWdlLXNlYXMvZGF0YWJhc2VzL2x0cjM/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -60,11 +60,11 @@ "-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\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3\",\r\n \"creationDate\": \"2021-01-31T21:59:43.58Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"earliestRestoreDate\": \"2021-02-18T00:00:00Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server/databases/sample-db-ltr-test\",\r\n \"name\": \"sample-db-ltr-test\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3\",\r\n \"creationDate\": \"2021-01-31T21:59:43.58Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"northeurope\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 68719476736,\r\n \"earliestRestoreDate\": \"2021-02-18T00:00:00Z\",\r\n \"readScale\": \"Disabled\",\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/servers/sample-server/databases/sample-db-ltr-test\",\r\n \"name\": \"sample-db-ltr-test\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvU291dGhlYXN0JTIwQXNpYS9sb25nVGVybVJldGVudGlvblNlcnZlcnMvYXlhbmctc3RhZ2Utc2Vhcy9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9sdHIzL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcz9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", @@ -123,11 +123,11 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-01-31T22:06:15Z\",\r\n \"backupExpirationTime\": \"2021-03-02T22:06:15Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-10T01:31:26Z\",\r\n \"backupExpirationTime\": \"2021-03-12T01:31:26Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132573942860000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132573942860000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-17T01:33:52Z\",\r\n \"backupExpirationTime\": \"2021-03-19T01:33:52Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132579992320000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132579992320000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-24T01:32:03Z\",\r\n \"backupExpirationTime\": \"2021-03-26T01:32:03Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132586039230000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132586039230000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-01-31T22:06:15Z\",\r\n \"backupExpirationTime\": \"2021-03-02T22:06:15Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-10T01:31:26Z\",\r\n \"backupExpirationTime\": \"2021-03-12T01:31:26Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132573942860000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132573942860000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-17T01:33:52Z\",\r\n \"backupExpirationTime\": \"2021-03-19T01:33:52Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132579992320000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132579992320000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n },\r\n {\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-02-24T01:32:03Z\",\r\n \"backupExpirationTime\": \"2021-03-26T01:32:03Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132586039230000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132586039230000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3%3B132566043750000000?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3%3B132566043750000000?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Jlc291cmNlR3JvdXBzL3Rlc3RyZy9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvU291dGhlYXN0JTIwQXNpYS9sb25nVGVybVJldGVudGlvblNlcnZlcnMvYXlhbmctc3RhZ2Utc2Vhcy9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9sdHIzL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcy9lNWMyMGY0My00OTRjLTQ5MjUtODlkMS01OGUwZjQ1NjlmYjMlM0IxMzI1NjYwNDM3NTAwMDAwMDA/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -186,11 +186,11 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-01-31T22:06:15Z\",\r\n \"backupExpirationTime\": \"2021-03-02T22:06:15Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"serverName\": \"sample-server\",\r\n \"serverCreateTime\": \"2020-04-22T21:58:33.283Z\",\r\n \"databaseName\": \"sample-db-ltr-test\",\r\n \"backupTime\": \"2021-01-31T22:06:15Z\",\r\n \"backupExpirationTime\": \"2021-03-02T22:06:15Z\",\r\n \"backupStorageRedundancy\": \"Geo\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/resourceGroups/sample-rg/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"name\": \"e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3%3B132566043750000000/update?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/Southeast%20Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3%3B132566043750000000/update?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9Tb3V0aGVhc3QlMjBBc2lhL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy9heWFuZy1zdGFnZS1zZWFzL2xvbmdUZXJtUmV0ZW50aW9uRGF0YWJhc2VzL2x0cjMvbG9uZ1Rlcm1SZXRlbnRpb25CYWNrdXBzL2U1YzIwZjQzLTQ5NGMtNDkyNS04OWQxLTU4ZTBmNDU2OWZiMyUzQjEzMjU2NjA0Mzc1MDAwMDAwMC91cGRhdGU/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "POST", "RequestBody": "{\r\n \"properties\": {\r\n \"requestedBackupStorageRedundancy\": \"Geo\"\r\n }\r\n}", @@ -222,13 +222,13 @@ "no-cache" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview" ], "Retry-After": [ "15" ], "Azure-AsyncOperation": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview" + "https://management.azure.com/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview" ], "x-ms-request-id": [ "68f348f8-3646-4d91-aa22-773965eb08db" @@ -268,7 +268,7 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupAzureAsyncOperation/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9zb3V0aGVhc3Rhc2lhL2xvbmdUZXJtUmV0ZW50aW9uQmFja3VwQXp1cmVBc3luY09wZXJhdGlvbi82OGYzNDhmOC0zNjQ2LTRkOTEtYWEyMi03NzM5NjVlYjA4ZGI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -328,7 +328,7 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview", + "RequestUri": "/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/southeastasia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db?api-version=2020-11-01-preview", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDFjNGVjODgtZTE3OS00NGY3LTllYjAtZTk3MTlhNTA4N2FiL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9zb3V0aGVhc3Rhc2lhL2xvbmdUZXJtUmV0ZW50aW9uQmFja3VwT3BlcmF0aW9uUmVzdWx0cy82OGYzNDhmOC0zNjQ2LTRkOTEtYWEyMi03NzM5NjVlYjA4ZGI/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", @@ -381,12 +381,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"operationType\": \"UpdateBackup\",\r\n \"fromBackupResourceId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"toBackupResourceId\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"targetBackupStorageRedundancy\": \"Geo\",\r\n \"status\": \"Succeeded\",\r\n \"message\": \"Complete\"\r\n },\r\n \"id\": \"/subscriptions/01c4ec88-e179-44f7-9eb0-e9719a5087ab/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"name\": \"68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionBackupOperationResults\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"operationType\": \"UpdateBackup\",\r\n \"fromBackupResourceId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"toBackupResourceId\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionServers/sample-server/longTermRetentionDatabases/sample-db-ltr-test/longTermRetentionBackups/e5c20f43-494c-4925-89d1-58e0f4569fb3;132566043750000000\",\r\n \"targetBackupStorageRedundancy\": \"Geo\",\r\n \"status\": \"Succeeded\",\r\n \"message\": \"Complete\"\r\n },\r\n \"id\": \"/subscriptions/a2118292-1596-401f-aa17-332ff0df38dc/providers/Microsoft.Sql/locations/Southeast Asia/longTermRetentionBackupOperationResults/68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"name\": \"68f348f8-3646-4d91-aa22-773965eb08db\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionBackupOperationResults\"\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "01c4ec88-e179-44f7-9eb0-e9719a5087ab" + "SubscriptionId": "a2118292-1596-401f-aa17-332ff0df38dc" } } \ No newline at end of file From fe4b5bf52bc4daf60e92c1acfc2eb0265bcc3981 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Thu, 4 Mar 2021 14:41:34 -0800 Subject: [PATCH 03/13] skip test --- .../tests/DatabaseCrudScenarioTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseCrudScenarioTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseCrudScenarioTests.cs index d323655e375a..cbb86593a4e5 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseCrudScenarioTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/DatabaseCrudScenarioTests.cs @@ -21,7 +21,7 @@ namespace Sql.Tests { public class DatabaseCrudScenarioTests { - [Fact] + [Fact(Skip = "Manual test due to maintenance configuration unavailable in stage.")] public void TestCreateDropDatabase() { using (SqlManagementTestContext context = new SqlManagementTestContext(this)) From f13b23923350ca61dfeea1e01ca988efe76003c0 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Tue, 9 Mar 2021 13:53:13 -0800 Subject: [PATCH 04/13] updated sdk from swagger master --- .../src/Generated/ISqlManagementClient.cs | 10 +++++----- .../PrivateEndpointConnectionsOperations.cs | 8 ++++---- .../src/Generated/SdkInfo_SqlManagementClient.cs | 2 +- .../src/Generated/SqlManagementClient.cs | 12 ++++++------ .../eng/mgmt/mgmtmetadata/sql_resource-manager.txt | 14 ++++++++++++++ 5 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/eng/mgmt/mgmtmetadata/sql_resource-manager.txt diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ISqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ISqlManagementClient.cs index 93fff8a2d714..0f57e4aa7fe3 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ISqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/ISqlManagementClient.cs @@ -437,11 +437,6 @@ public partial interface ISqlManagementClient : System.IDisposable /// IUsagesOperations Usages { get; } - /// - /// Gets the IPrivateEndpointConnectionsOperations. - /// - IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; } - /// /// Gets the IPrivateLinkResourcesOperations. /// @@ -547,5 +542,10 @@ public partial interface ISqlManagementClient : System.IDisposable /// ILongTermRetentionPoliciesOperations LongTermRetentionPolicies { get; } + /// + /// Gets the IPrivateEndpointConnectionsOperations. + /// + IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/PrivateEndpointConnectionsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/PrivateEndpointConnectionsOperations.cs index 2a50c9e20ff3..366c1685eb2f 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/PrivateEndpointConnectionsOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -102,7 +102,7 @@ internal PrivateEndpointConnectionsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-06-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -351,7 +351,7 @@ internal PrivateEndpointConnectionsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-06-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -562,7 +562,7 @@ internal PrivateEndpointConnectionsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-06-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -769,7 +769,7 @@ internal PrivateEndpointConnectionsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2018-06-01-preview"; + string apiVersion = "2020-11-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs index 9578108af463..feab62484021 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs @@ -80,7 +80,7 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies", "2017-03-01-preview"), new Tuple("Sql", "ManagedServerSecurityAlertPolicies", "2017-03-01-preview"), new Tuple("Sql", "Operations", "2015-05-01-preview"), - new Tuple("Sql", "PrivateEndpointConnections", "2018-06-01-preview"), + new Tuple("Sql", "PrivateEndpointConnections", "2020-11-01-preview"), new Tuple("Sql", "PrivateLinkResources", "2018-06-01-preview"), new Tuple("Sql", "RecommendedElasticPools", "2014-04-01"), new Tuple("Sql", "RecoverableDatabases", "2014-04-01"), diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs index ec582a7d1a4e..64cbfdb2354d 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs @@ -442,11 +442,6 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual IUsagesOperations Usages { get; private set; } - /// - /// Gets the IPrivateEndpointConnectionsOperations. - /// - public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; private set; } - /// /// Gets the IPrivateLinkResourcesOperations. /// @@ -552,6 +547,11 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual ILongTermRetentionPoliciesOperations LongTermRetentionPolicies { get; private set; } + /// + /// Gets the IPrivateEndpointConnectionsOperations. + /// + public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; private set; } + /// /// Initializes a new instance of the SqlManagementClient class. /// @@ -827,7 +827,6 @@ private void Initialize() ManagedDatabaseSensitivityLabels = new ManagedDatabaseSensitivityLabelsOperations(this); InstancePools = new InstancePoolsOperations(this); Usages = new UsagesOperations(this); - PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); PrivateLinkResources = new PrivateLinkResourcesOperations(this); Servers = new ServersOperations(this); Capabilities = new CapabilitiesOperations(this); @@ -849,6 +848,7 @@ private void Initialize() ServerDevOpsAuditSettings = new ServerDevOpsAuditSettingsOperations(this); LongTermRetentionBackups = new LongTermRetentionBackupsOperations(this); LongTermRetentionPolicies = new LongTermRetentionPoliciesOperations(this); + PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); BaseUri = new System.Uri("https://management.azure.com"); AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/eng/mgmt/mgmtmetadata/sql_resource-manager.txt new file mode 100644 index 000000000000..7884e5ee041a --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/eng/mgmt/mgmtmetadata/sql_resource-manager.txt @@ -0,0 +1,14 @@ +Installing AutoRest version: v2 +AutoRest installed successfully. +Commencing code generation +Generating CSharp code +Executing AutoRest command +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=. +2021-03-09 20:31:26 UTC +Azure-rest-api-specs repository information +GitHub fork: Azure +Branch: master +Commit: 921957dfa2228c2062b8d2ef832507339c5562d4 +AutoRest information +Requested version: v2 +Bootstrapper version: autorest@2.0.4413 From 11de25e25efe42b23628c7b93834794b1cd5e9ee Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Tue, 9 Mar 2021 13:59:37 -0800 Subject: [PATCH 05/13] update generate script --- .../Microsoft.Azure.Management.Sql/src/generate.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/generate.ps1 b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/generate.ps1 index 043feb2cd9b1..c6901d260d37 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/generate.ps1 +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/generate.ps1 @@ -1 +1 @@ -Start-AutoRestCodeGeneration -ResourceProvider "sql/resource-manager" -AutoRestVersion "v2" -SdkRepoRootPath "." +Start-AutoRestCodeGeneration -ResourceProvider "sql/resource-manager" -AutoRestVersion "v2" From daae9f9a27b7dbc72960a0dcd8f9fd082203f331 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Tue, 9 Mar 2021 17:42:44 -0800 Subject: [PATCH 06/13] update sql_resource-manager.txt --- eng/mgmt/mgmtmetadata/sql_resource-manager.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt index cd1afefb3768..7884e5ee041a 100644 --- a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt @@ -3,12 +3,12 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/xaliciayang/azure-rest-api-specs/blob/20201101swagger/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\src\azure\azure-sdk-for-net\src\Sdks -2021-02-26 22:54:25 UTC +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=. +2021-03-09 20:31:26 UTC Azure-rest-api-specs repository information -GitHub fork: xaliciayang -Branch: 20201101swagger -Commit: 472b1de1c7cd7ac841afc0f90d8d3da5f1490e77 +GitHub fork: Azure +Branch: master +Commit: 921957dfa2228c2062b8d2ef832507339c5562d4 AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 From cfa0920ec125b9b2f6935ccfb45e7bfb73bd79f5 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Tue, 9 Mar 2021 22:47:30 -0800 Subject: [PATCH 07/13] re-update Generated --- ...ckupLongTermRetentionPoliciesOperations.cs | 715 ------------------ ...rmRetentionPoliciesOperationsExtensions.cs | 229 ------ ...ckupLongTermRetentionPoliciesOperations.cs | 153 ---- .../Models/BackupLongTermRetentionPolicy.cs | 92 --- .../src/Generated/Models/DatabaseState1.cs | 23 - .../src/Generated/Models/DatabaseState2.cs | 23 - .../src/Generated/Models/DatabaseState3.cs | 23 - .../src/Generated/Models/DatabaseState4.cs | 23 - .../src/Generated/Models/DatabaseState5.cs | 23 - .../src/Generated/Models/DatabaseState6.cs | 23 - .../Models/LongTermRetentionDatabaseState.cs | 23 - 11 files changed, 1350 deletions(-) delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/BackupLongTermRetentionPoliciesOperations.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/BackupLongTermRetentionPoliciesOperationsExtensions.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/IBackupLongTermRetentionPoliciesOperations.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/BackupLongTermRetentionPolicy.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState1.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState2.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState3.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState4.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState5.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState6.cs delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionDatabaseState.cs diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/BackupLongTermRetentionPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/BackupLongTermRetentionPoliciesOperations.cs deleted file mode 100644 index eca2c75d6df4..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/BackupLongTermRetentionPoliciesOperations.cs +++ /dev/null @@ -1,715 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - using System.Net; - using System.Net.Http; - using System.Threading; - using System.Threading.Tasks; - - /// - /// BackupLongTermRetentionPoliciesOperations operations. - /// - internal partial class BackupLongTermRetentionPoliciesOperations : IServiceOperations, IBackupLongTermRetentionPoliciesOperations - { - /// - /// Initializes a new instance of the BackupLongTermRetentionPoliciesOperations class. - /// - /// - /// Reference to the service client. - /// - /// - /// Thrown when a required parameter is null - /// - internal BackupLongTermRetentionPoliciesOperations(SqlManagementClient client) - { - if (client == null) - { - throw new System.ArgumentNullException("client"); - } - Client = client; - } - - /// - /// Gets a reference to the SqlManagementClient - /// - public SqlManagementClient Client { get; private set; } - - /// - /// Gets a database's long term retention policy. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (serverName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); - } - if (databaseName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string policyName = "default"; - string apiVersion = "2017-03-01-preview"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("serverName", serverName); - tracingParameters.Add("databaseName", databaseName); - tracingParameters.Add("policyName", policyName); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); - _url = _url.Replace("{databaseName}", System.Uri.EscapeDataString(databaseName)); - _url = _url.Replace("{policyName}", System.Uri.EscapeDataString(policyName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Sets a database's long term retention policy. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The long term retention policy info. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, BackupLongTermRetentionPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Gets a database's long term retention policy. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListByDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (serverName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); - } - if (databaseName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2017-03-01-preview"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("serverName", serverName); - tracingParameters.Add("databaseName", databaseName); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByDatabase", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); - _url = _url.Replace("{databaseName}", System.Uri.EscapeDataString(databaseName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Sets a database's long term retention policy. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The long term retention policy info. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, BackupLongTermRetentionPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (serverName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); - } - if (databaseName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); - } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string policyName = "default"; - string apiVersion = "2017-03-01-preview"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("serverName", serverName); - tracingParameters.Add("databaseName", databaseName); - tracingParameters.Add("policyName", policyName); - tracingParameters.Add("parameters", parameters); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); - _url = _url.Replace("{databaseName}", System.Uri.EscapeDataString(databaseName)); - _url = _url.Replace("{policyName}", System.Uri.EscapeDataString(policyName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/BackupLongTermRetentionPoliciesOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/BackupLongTermRetentionPoliciesOperationsExtensions.cs deleted file mode 100644 index 0459f0161871..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/BackupLongTermRetentionPoliciesOperationsExtensions.cs +++ /dev/null @@ -1,229 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for BackupLongTermRetentionPoliciesOperations. - /// - public static partial class BackupLongTermRetentionPoliciesOperationsExtensions - { - /// - /// Gets a database's long term retention policy. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - public static BackupLongTermRetentionPolicy Get(this IBackupLongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName) - { - return operations.GetAsync(resourceGroupName, serverName, databaseName).GetAwaiter().GetResult(); - } - - /// - /// Gets a database's long term retention policy. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The cancellation token. - /// - public static async Task GetAsync(this IBackupLongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Sets a database's long term retention policy. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The long term retention policy info. - /// - public static BackupLongTermRetentionPolicy CreateOrUpdate(this IBackupLongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, BackupLongTermRetentionPolicy parameters) - { - return operations.CreateOrUpdateAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Sets a database's long term retention policy. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The long term retention policy info. - /// - /// - /// The cancellation token. - /// - public static async Task CreateOrUpdateAsync(this IBackupLongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, BackupLongTermRetentionPolicy parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets a database's long term retention policy. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - public static BackupLongTermRetentionPolicy ListByDatabase(this IBackupLongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName) - { - return operations.ListByDatabaseAsync(resourceGroupName, serverName, databaseName).GetAwaiter().GetResult(); - } - - /// - /// Gets a database's long term retention policy. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The cancellation token. - /// - public static async Task ListByDatabaseAsync(this IBackupLongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByDatabaseWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Sets a database's long term retention policy. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The long term retention policy info. - /// - public static BackupLongTermRetentionPolicy BeginCreateOrUpdate(this IBackupLongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, BackupLongTermRetentionPolicy parameters) - { - return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Sets a database's long term retention policy. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group that contains the resource. You can obtain - /// this value from the Azure Resource Manager API or the portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The long term retention policy info. - /// - /// - /// The cancellation token. - /// - public static async Task BeginCreateOrUpdateAsync(this IBackupLongTermRetentionPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, BackupLongTermRetentionPolicy parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/IBackupLongTermRetentionPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/IBackupLongTermRetentionPoliciesOperations.cs deleted file mode 100644 index 71f5dd104add..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/IBackupLongTermRetentionPoliciesOperations.cs +++ /dev/null @@ -1,153 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// BackupLongTermRetentionPoliciesOperations operations. - /// - public partial interface IBackupLongTermRetentionPoliciesOperations - { - /// - /// Gets a database's long term retention policy. - /// - /// - /// The name of the resource group that contains the resource. You can - /// obtain this value from the Azure Resource Manager API or the - /// portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Sets a database's long term retention policy. - /// - /// - /// The name of the resource group that contains the resource. You can - /// obtain this value from the Azure Resource Manager API or the - /// portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The long term retention policy info. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, BackupLongTermRetentionPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a database's long term retention policy. - /// - /// - /// The name of the resource group that contains the resource. You can - /// obtain this value from the Azure Resource Manager API or the - /// portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> ListByDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Sets a database's long term retention policy. - /// - /// - /// The name of the resource group that contains the resource. You can - /// obtain this value from the Azure Resource Manager API or the - /// portal. - /// - /// - /// The name of the server. - /// - /// - /// The name of the database. - /// - /// - /// The long term retention policy info. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, BackupLongTermRetentionPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/BackupLongTermRetentionPolicy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/BackupLongTermRetentionPolicy.cs deleted file mode 100644 index 6de249dd2497..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/BackupLongTermRetentionPolicy.cs +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Linq; - - /// - /// A long term retention policy. - /// - [Rest.Serialization.JsonTransformation] - public partial class BackupLongTermRetentionPolicy : ProxyResource - { - /// - /// Initializes a new instance of the BackupLongTermRetentionPolicy - /// class. - /// - public BackupLongTermRetentionPolicy() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the BackupLongTermRetentionPolicy - /// class. - /// - /// Resource ID. - /// Resource name. - /// Resource type. - /// The weekly retention policy for an - /// LTR backup in an ISO 8601 format. - /// The monthly retention policy for an - /// LTR backup in an ISO 8601 format. - /// The yearly retention policy for an - /// LTR backup in an ISO 8601 format. - /// The week of year to take the yearly backup - /// in an ISO 8601 format. - public BackupLongTermRetentionPolicy(string id = default(string), string name = default(string), string type = default(string), string weeklyRetention = default(string), string monthlyRetention = default(string), string yearlyRetention = default(string), int? weekOfYear = default(int?)) - : base(id, name, type) - { - WeeklyRetention = weeklyRetention; - MonthlyRetention = monthlyRetention; - YearlyRetention = yearlyRetention; - WeekOfYear = weekOfYear; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the weekly retention policy for an LTR backup in an - /// ISO 8601 format. - /// - [JsonProperty(PropertyName = "properties.weeklyRetention")] - public string WeeklyRetention { get; set; } - - /// - /// Gets or sets the monthly retention policy for an LTR backup in an - /// ISO 8601 format. - /// - [JsonProperty(PropertyName = "properties.monthlyRetention")] - public string MonthlyRetention { get; set; } - - /// - /// Gets or sets the yearly retention policy for an LTR backup in an - /// ISO 8601 format. - /// - [JsonProperty(PropertyName = "properties.yearlyRetention")] - public string YearlyRetention { get; set; } - - /// - /// Gets or sets the week of year to take the yearly backup in an ISO - /// 8601 format. - /// - [JsonProperty(PropertyName = "properties.weekOfYear")] - public int? WeekOfYear { get; set; } - - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState1.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState1.cs deleted file mode 100644 index 2692f1d2ec2c..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState1.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - - /// - /// Defines values for DatabaseState1. - /// - public static class DatabaseState1 - { - public const string All = "All"; - public const string Live = "Live"; - public const string Deleted = "Deleted"; - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState2.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState2.cs deleted file mode 100644 index fc0c0446db5e..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState2.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - - /// - /// Defines values for DatabaseState2. - /// - public static class DatabaseState2 - { - public const string All = "All"; - public const string Live = "Live"; - public const string Deleted = "Deleted"; - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState3.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState3.cs deleted file mode 100644 index 65ba2f51d2e0..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState3.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - - /// - /// Defines values for DatabaseState3. - /// - public static class DatabaseState3 - { - public const string All = "All"; - public const string Live = "Live"; - public const string Deleted = "Deleted"; - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState4.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState4.cs deleted file mode 100644 index 47eff0771e7d..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState4.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - - /// - /// Defines values for DatabaseState4. - /// - public static class DatabaseState4 - { - public const string All = "All"; - public const string Live = "Live"; - public const string Deleted = "Deleted"; - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState5.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState5.cs deleted file mode 100644 index ce9a5903a777..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState5.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - - /// - /// Defines values for DatabaseState5. - /// - public static class DatabaseState5 - { - public const string All = "All"; - public const string Live = "Live"; - public const string Deleted = "Deleted"; - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState6.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState6.cs deleted file mode 100644 index dc5e76219007..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/DatabaseState6.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - - /// - /// Defines values for DatabaseState6. - /// - public static class DatabaseState6 - { - public const string All = "All"; - public const string Live = "Live"; - public const string Deleted = "Deleted"; - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionDatabaseState.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionDatabaseState.cs deleted file mode 100644 index 5bcd5d6f4710..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/Models/LongTermRetentionDatabaseState.cs +++ /dev/null @@ -1,23 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - - /// - /// Defines values for LongTermRetentionDatabaseState. - /// - public static class LongTermRetentionDatabaseState - { - public const string All = "All"; - public const string Live = "Live"; - public const string Deleted = "Deleted"; - } -} From 9c498376050882bf0aa28495d7799cb8067e16d8 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Wed, 10 Mar 2021 12:46:59 -0800 Subject: [PATCH 08/13] regenerated clients, and updated AzSdk.RP.props --- .../Microsoft.Azure.Management.Sql/AzSdk.RP.props | 2 +- .../src/Generated/SdkInfo_SqlManagementClient.cs | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/AzSdk.RP.props b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/AzSdk.RP.props index 9ae9274ab461..5026a644df77 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/AzSdk.RP.props +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/AzSdk.RP.props @@ -1,7 +1,7 @@ - Sql_2017-03-01-preview;Sql_2017-10-01-preview;Sql_2018-06-01-preview;Sql_2014-04-01;Sql_2015-05-01-preview;Sql_2020-08-01-preview;Sql_2020-02-02-preview;Sql_2019-06-01-preview; + Sql_2017-03-01-preview;Sql_2017-10-01-preview;Sql_2018-06-01-preview;Sql_2014-04-01;Sql_2015-05-01-preview;Sql_2020-08-01-preview;Sql_2020-02-02-preview;Sql_2019-06-01-preview;Sql_2020-11-01-preview $(PackageTags);$(CommonTags);$(AzureApiTag); \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs index feab62484021..68dac64b3b21 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs @@ -122,5 +122,16 @@ public static IEnumerable> ApiInfo_SqlManagementCl }.AsEnumerable(); } } + // BEGIN: Code Generation Metadata Section + public static readonly String AutoRestVersion = "v2"; + public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; + public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\src\\azure\\azure-sdk-for-net\\sdk"; + public static readonly String GithubForkName = "Azure"; + public static readonly String GithubBranchName = "master"; + public static readonly String GithubCommidId = "abfe5f82e8ac29a05070957bc828874a625079f1"; + public static readonly String CodeGenerationErrors = ""; + public static readonly String GithubRepoName = "azure-rest-api-specs"; + // END: Code Generation Metadata Section } } + From 2f67e4a2692f4a00fd60e80dc75e89aa01fc0689 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Thu, 11 Mar 2021 11:53:01 -0800 Subject: [PATCH 09/13] updated sdk with version 2.0.4417 --- eng/mgmt/mgmtmetadata/sql_resource-manager.txt | 10 +--------- .../src/Generated/SdkInfo_SqlManagementClient.cs | 11 ----------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt index 7884e5ee041a..71c94c7bb765 100644 --- a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt @@ -3,12 +3,4 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=. -2021-03-09 20:31:26 UTC -Azure-rest-api-specs repository information -GitHub fork: Azure -Branch: master -Commit: 921957dfa2228c2062b8d2ef832507339c5562d4 -AutoRest information -Requested version: v2 -Bootstrapper version: autorest@2.0.4413 +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\src\azure\azure-sdk-for-net\sdk diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs index 68dac64b3b21..feab62484021 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SdkInfo_SqlManagementClient.cs @@ -122,16 +122,5 @@ public static IEnumerable> ApiInfo_SqlManagementCl }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\src\\azure\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "abfe5f82e8ac29a05070957bc828874a625079f1"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - From 972326f51e81b73112969ccbdc900a61805f3984 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Thu, 11 Mar 2021 13:46:20 -0800 Subject: [PATCH 10/13] re-generated again after autorest --reset --- .../src/Generated/SqlManagementClient.cs | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs index 64cbfdb2354d..4b4f8b14b582 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated/SqlManagementClient.cs @@ -552,6 +552,19 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { 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. /// @@ -647,6 +660,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. /// From dfda1ee8d5cd5dcb55bfb6831d69f0d46b70fee8 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Thu, 11 Mar 2021 17:30:10 -0800 Subject: [PATCH 11/13] revert generate script and reinstate commit id into sql_resource-manager --- eng/mgmt/mgmtmetadata/sql_resource-manager.txt | 12 ++++++++++-- .../Microsoft.Azure.Management.Sql/src/generate.ps1 | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt index 71c94c7bb765..cbf1ac8f540c 100644 --- a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt @@ -1,6 +1,14 @@ -Installing AutoRest version: v2 +Installing AutoRest version: v2 AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\src\azure\azure-sdk-for-net\sdk +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=. +2021-03-09 20:31:26 UTC +Azure-rest-api-specs repository information +GitHub fork: Azure +Branch: master +Commit: 921957dfa2228c2062b8d2ef832507339c5562d4 +AutoRest information +Requested version: v2 +Bootstrapper version: autorest@2.0.4413 \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/generate.ps1 b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/generate.ps1 index c6901d260d37..043feb2cd9b1 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/generate.ps1 +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/generate.ps1 @@ -1 +1 @@ -Start-AutoRestCodeGeneration -ResourceProvider "sql/resource-manager" -AutoRestVersion "v2" +Start-AutoRestCodeGeneration -ResourceProvider "sql/resource-manager" -AutoRestVersion "v2" -SdkRepoRootPath "." From 3f753aa6f7eec067c4b17343019a285b802ab0b4 Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Thu, 11 Mar 2021 23:20:25 -0800 Subject: [PATCH 12/13] remove extra resource-manager.txt file --- eng/mgmt/mgmtmetadata/sql_resource-manager.txt | 4 ++-- .../eng/mgmt/mgmtmetadata/sql_resource-manager.txt | 14 -------------- 2 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/eng/mgmt/mgmtmetadata/sql_resource-manager.txt diff --git a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt index cbf1ac8f540c..7884e5ee041a 100644 --- a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt @@ -1,4 +1,4 @@ -Installing AutoRest version: v2 +Installing AutoRest version: v2 AutoRest installed successfully. Commencing code generation Generating CSharp code @@ -11,4 +11,4 @@ Branch: master Commit: 921957dfa2228c2062b8d2ef832507339c5562d4 AutoRest information Requested version: v2 -Bootstrapper version: autorest@2.0.4413 \ No newline at end of file +Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/eng/mgmt/mgmtmetadata/sql_resource-manager.txt deleted file mode 100644 index 7884e5ee041a..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/eng/mgmt/mgmtmetadata/sql_resource-manager.txt +++ /dev/null @@ -1,14 +0,0 @@ -Installing AutoRest version: v2 -AutoRest installed successfully. -Commencing code generation -Generating CSharp code -Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=. -2021-03-09 20:31:26 UTC -Azure-rest-api-specs repository information -GitHub fork: Azure -Branch: master -Commit: 921957dfa2228c2062b8d2ef832507339c5562d4 -AutoRest information -Requested version: v2 -Bootstrapper version: autorest@2.0.4413 From a4660172e3a3012c40e07a17d7d6eeffb9f84a4f Mon Sep 17 00:00:00 2001 From: xaliciayang Date: Fri, 12 Mar 2021 16:59:48 -0800 Subject: [PATCH 13/13] updated assembly info version --- .../src/Properties/AssemblyInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Properties/AssemblyInfo.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Properties/AssemblyInfo.cs index 7d36674f4d14..8784b0927d1f 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Properties/AssemblyInfo.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.Sql/src/Properties/AssemblyInfo.cs @@ -22,4 +22,4 @@ [assembly: AssemblyTitle("Microsoft Azure SQL Management Library")] [assembly: AssemblyDescription("Provides management functionality for Microsoft Azure SQL.")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.49.0.0")] +[assembly: AssemblyFileVersion("1.50.0.0")]