From 386cc4646f58c782289e5e264bc70567b2ae0bd4 Mon Sep 17 00:00:00 2001 From: Bogdan Ostojic <49651629+ostojicb@users.noreply.github.com> Date: Thu, 9 Jun 2022 04:25:35 +0200 Subject: [PATCH] [SQL] Check if DB is created by log replay before dropping it (#18409) * check if db created by log replay before dropping it * Add test * Bump err string * Bump changelog --- .../ManagedDatabaseLogReplayScenarioTest.cs | 7 + .../ManagedDatabaseLogReplayScenarioTest.ps1 | 30 + ...DatabaseLogReplayFailForWrongDatabase.json | 2783 +++++++++++++++++ src/Sql/Sql/ChangeLog.md | 1 + .../AzureSqlManagedDatabaseAdapter.cs | 29 +- src/Sql/Sql/Properties/Resources.Designer.cs | 35 +- src/Sql/Sql/Properties/Resources.resx | 3 + 7 files changed, 2866 insertions(+), 22 deletions(-) create mode 100644 src/Sql/Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ManagedDatabaseLogReplayScenarioTest/TestCancelManagedDatabaseLogReplayFailForWrongDatabase.json diff --git a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.cs b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.cs index 544199017027..d86263c3836c 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.cs +++ b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.cs @@ -72,5 +72,12 @@ public void TestPipingCompleteCancelManagedDatabaseLogReplayService() { RunPowerShellTest("Test-PipingCompleteCancelManagedDatabaseLogReplay"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCancelManagedDatabaseLogReplayFailForWrongDatabase() + { + RunPowerShellTest("Test-CancelManagedDatabaseLogReplayFailForWrongDatabase"); + } } } diff --git a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.ps1 b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.ps1 index ecc27fc9b974..3f051968c9f1 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.ps1 @@ -375,6 +375,36 @@ function Test-PipingCompleteCancelManagedDatabaseLogReplay } } +<# +.SYNOPSIS +Tests Managed Database Log Replay cancel on a wrong database +#> +function Test-CancelManagedDatabaseLogReplayFailForWrongDatabase +{ + # Setup + $rg = Create-ResourceGroupForTest + $managedInstance = Create-ManagedInstanceForTest $rg + + $rgName = $rg.ResourceGroupName + $managedInstance = $managedInstance.ManagedInstanceName + + try + { + # Start log replay + $managedDatabaseName = Get-ManagedDatabaseName + $db = New-AzSqlInstanceDatabase -ResourceGroupName $rgName -InstanceName $managedInstance -Name $managedDatabaseName + + # Stop log replay on a DB that's not created with log replay should fail + Assert-ThrowsContains { $db | Stop-AzSqlInstanceDatabaseLogReplay -Force } "error" + $notDeletedDB = Get-AzSqlInstanceDatabase -ResourceGroupName $rgName -InstanceName $managedInstance -Name $managedDatabaseName + Assert-NotNull $notDeletedDB + } + finally + { + Remove-ResourceGroupForTest $rg + } +} + function Generate-SasToken ($rgname) { $key = Get-AzStorageAccountKey -ResourceGroupName $rgname -Name $stoname; diff --git a/src/Sql/Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ManagedDatabaseLogReplayScenarioTest/TestCancelManagedDatabaseLogReplayFailForWrongDatabase.json b/src/Sql/Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ManagedDatabaseLogReplayScenarioTest/TestCancelManagedDatabaseLogReplayFailForWrongDatabase.json new file mode 100644 index 000000000000..28d3e1daffcc --- /dev/null +++ b/src/Sql/Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ManagedDatabaseLogReplayScenarioTest/TestCancelManagedDatabaseLogReplayFailForWrongDatabase.json @@ -0,0 +1,2783 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourcegroups/ps7259?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlZ3JvdXBzL3BzNzI1OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westcentralus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "90c1021c-11c6-41fd-8c68-44267f3ca944" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "96ea3832-248c-4de7-862f-8292712631d6" + ], + "x-ms-correlation-request-id": [ + "96ea3832-248c-4de7-862f-8292712631d6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163450Z:96ea3832-248c-4de7-862f-8292712631d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:34:49 GMT" + ], + "Content-Length": [ + "172" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259\",\r\n \"name\": \"ps7259\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785?api-version=2021-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NT9hcGktdmVyc2lvbj0yMDIxLTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c1bae64-8d8b-45b6-88d7-604a198f2682" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "b0843715-b4f6-4f7a-bc3c-df063e2fa1d5" + ], + "x-ms-correlation-request-id": [ + "b0843715-b4f6-4f7a-bc3c-df063e2fa1d5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163450Z:b0843715-b4f6-4f7a-bc3c-df063e2fa1d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:34:50 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "215" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Sql/managedInstances/ps7785' under resource group 'ps7259' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785?api-version=2021-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NT9hcGktdmVyc2lvbj0yMDIxLTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c1bae64-8d8b-45b6-88d7-604a198f2682" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ea33850a-47c6-44c1-96d5-73265c6cc9a7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "b9b1f3e5-a599-4b99-ae90-ca7e1e0fb4ce" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163558Z:b9b1f3e5-a599-4b99-ae90-ca7e1e0fb4ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:35:58 GMT" + ], + "Content-Length": [ + "1131" + ], + "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\": 4\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"fullyQualifiedDomainName\": \"ps7785.1e6d90da5016.database.windows.net\",\r\n \"administratorLogin\": \"testusername\",\r\n \"subnetId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/CustomerExperienceTeam_RG/providers/Microsoft.Network/virtualNetworks/vnet-mi-tooling/subnets/ManagedInstance\",\r\n \"state\": \"Creating\",\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"vCores\": 4,\r\n \"storageSizeInGB\": 256,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"dnsZone\": \"1e6d90da5016\",\r\n \"publicDataEndpointEnabled\": false,\r\n \"timezoneId\": \"UTC\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\",\r\n \"privateEndpointConnections\": [],\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"zoneRedundant\": false\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785\",\r\n \"name\": \"ps7785\",\r\n \"type\": \"Microsoft.Sql/managedInstances\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785?api-version=2021-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NT9hcGktdmVyc2lvbj0yMDIxLTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c1bae64-8d8b-45b6-88d7-604a198f2682" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2cc65930-300a-4623-b723-f3b5298b523c" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "d36adce6-be57-4326-9d0c-571bb8b19d8c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163659Z:d36adce6-be57-4326-9d0c-571bb8b19d8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:36:58 GMT" + ], + "Content-Length": [ + "1131" + ], + "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\": 4\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"fullyQualifiedDomainName\": \"ps7785.1e6d90da5016.database.windows.net\",\r\n \"administratorLogin\": \"testusername\",\r\n \"subnetId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/CustomerExperienceTeam_RG/providers/Microsoft.Network/virtualNetworks/vnet-mi-tooling/subnets/ManagedInstance\",\r\n \"state\": \"Creating\",\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"vCores\": 4,\r\n \"storageSizeInGB\": 256,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"dnsZone\": \"1e6d90da5016\",\r\n \"publicDataEndpointEnabled\": false,\r\n \"timezoneId\": \"UTC\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\",\r\n \"privateEndpointConnections\": [],\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"zoneRedundant\": false\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785\",\r\n \"name\": \"ps7785\",\r\n \"type\": \"Microsoft.Sql/managedInstances\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785?api-version=2021-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NT9hcGktdmVyc2lvbj0yMDIxLTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c1bae64-8d8b-45b6-88d7-604a198f2682" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6d826f1e-b0f5-4e49-b770-674506052fbd" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "a19b94a0-f4f9-42db-ab96-ef86ea3bdc44" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163801Z:a19b94a0-f4f9-42db-ab96-ef86ea3bdc44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:38:00 GMT" + ], + "Content-Length": [ + "1131" + ], + "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\": 4\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"fullyQualifiedDomainName\": \"ps7785.1e6d90da5016.database.windows.net\",\r\n \"administratorLogin\": \"testusername\",\r\n \"subnetId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/CustomerExperienceTeam_RG/providers/Microsoft.Network/virtualNetworks/vnet-mi-tooling/subnets/ManagedInstance\",\r\n \"state\": \"Creating\",\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"vCores\": 4,\r\n \"storageSizeInGB\": 256,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"dnsZone\": \"1e6d90da5016\",\r\n \"publicDataEndpointEnabled\": false,\r\n \"timezoneId\": \"UTC\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\",\r\n \"privateEndpointConnections\": [],\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"zoneRedundant\": false\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785\",\r\n \"name\": \"ps7785\",\r\n \"type\": \"Microsoft.Sql/managedInstances\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785?api-version=2021-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NT9hcGktdmVyc2lvbj0yMDIxLTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c1bae64-8d8b-45b6-88d7-604a198f2682" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b5a57eb3-8281-46b3-bfb2-298fdce8a4b8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "4a00035d-5830-46e0-9b49-b4251984acf1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163901Z:4a00035d-5830-46e0-9b49-b4251984acf1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:39:01 GMT" + ], + "Content-Length": [ + "1129" + ], + "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\": 4\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fullyQualifiedDomainName\": \"ps7785.1e6d90da5016.database.windows.net\",\r\n \"administratorLogin\": \"testusername\",\r\n \"subnetId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/CustomerExperienceTeam_RG/providers/Microsoft.Network/virtualNetworks/vnet-mi-tooling/subnets/ManagedInstance\",\r\n \"state\": \"Ready\",\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"vCores\": 4,\r\n \"storageSizeInGB\": 256,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"dnsZone\": \"1e6d90da5016\",\r\n \"publicDataEndpointEnabled\": false,\r\n \"timezoneId\": \"UTC\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\",\r\n \"privateEndpointConnections\": [],\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"zoneRedundant\": false\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785\",\r\n \"name\": \"ps7785\",\r\n \"type\": \"Microsoft.Sql/managedInstances\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785?api-version=2021-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NT9hcGktdmVyc2lvbj0yMDIxLTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "197c8c21-83d5-4890-adeb-c82348e821f6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cc1b1fd3-9e8d-4d57-ad1f-1ebc520e20d4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "cef34a70-bc64-432a-84dc-7af91fb7c21f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163932Z:cef34a70-bc64-432a-84dc-7af91fb7c21f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:39:31 GMT" + ], + "Content-Length": [ + "1129" + ], + "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\": 4\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fullyQualifiedDomainName\": \"ps7785.1e6d90da5016.database.windows.net\",\r\n \"administratorLogin\": \"testusername\",\r\n \"subnetId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/CustomerExperienceTeam_RG/providers/Microsoft.Network/virtualNetworks/vnet-mi-tooling/subnets/ManagedInstance\",\r\n \"state\": \"Ready\",\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"vCores\": 4,\r\n \"storageSizeInGB\": 256,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"dnsZone\": \"1e6d90da5016\",\r\n \"publicDataEndpointEnabled\": false,\r\n \"timezoneId\": \"UTC\",\r\n \"maintenanceConfigurationId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default\",\r\n \"privateEndpointConnections\": [],\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\",\r\n \"zoneRedundant\": false\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785\",\r\n \"name\": \"ps7785\",\r\n \"type\": \"Microsoft.Sql/managedInstances\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785?api-version=2021-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NT9hcGktdmVyc2lvbj0yMDIxLTA1LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\"\r\n },\r\n \"properties\": {\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\",\r\n \"subnetId\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/CustomerExperienceTeam_RG/providers/Microsoft.Network/virtualNetworks/vnet-mi-tooling/subnets/ManagedInstance\",\r\n \"vCores\": 4,\r\n \"publicDataEndpointEnabled\": false\r\n },\r\n \"location\": \"westcentralus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c1bae64-8d8b-45b6-88d7-604a198f2682" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "454" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "60" + ], + "x-ms-request-id": [ + "8b1ff7fc-ccf9-4d24-9021-e93801dd92d4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "256ccd77-d7cd-4f37-9ff7-18cbefce2956" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163458Z:256ccd77-d7cd-4f37-9ff7-18cbefce2956" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:34:57 GMT" + ], + "Content-Length": [ + "691" + ], + "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\": 4\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"administratorLogin\": \"testusername\",\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"vCores\": 4,\r\n \"storageSizeInGB\": 256,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"publicDataEndpointEnabled\": false,\r\n \"timezoneId\": \"UTC\",\r\n \"maintenanceConfigurationId\": \"SystemDefault\",\r\n \"privateEndpointConnections\": [],\r\n \"currentBackupStorageRedundancy\": \"Geo\",\r\n \"requestedBackupStorageRedundancy\": \"Geo\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785\",\r\n \"name\": \"ps7785\",\r\n \"type\": \"Microsoft.Sql/managedInstances\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785/databases/ps153?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NS9kYXRhYmFzZXMvcHMxNTM/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "197c8c21-83d5-4890-adeb-c82348e821f6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "988d1b35-e611-4142-b7ff-02324a5904ce" + ], + "x-ms-correlation-request-id": [ + "988d1b35-e611-4142-b7ff-02324a5904ce" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163932Z:988d1b35-e611-4142-b7ff-02324a5904ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:39:31 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "231" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Sql/managedInstances/ps7785/databases/ps153' under resource group 'ps7259' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785/databases/ps153?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NS9kYXRhYmFzZXMvcHMxNTM/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "197c8c21-83d5-4890-adeb-c82348e821f6" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5d225072-7c4c-40af-894b-06bae3c26aff" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "3cd999c2-d5df-4bc1-8a55-ffd65789df50" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163951Z:3cd999c2-d5df-4bc1-8a55-ffd65789df50" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:39:50 GMT" + ], + "Content-Length": [ + "393" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"status\": \"Online\",\r\n \"creationDate\": \"2022-06-06T16:39:35.673Z\",\r\n \"defaultSecondaryLocation\": \"westus2\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785/databases/ps153\",\r\n \"name\": \"ps153\",\r\n \"type\": \"Microsoft.Sql/managedInstances/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785/databases/ps153?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NS9kYXRhYmFzZXMvcHMxNTM/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fe21bfa8-0902-465a-8f2c-2fb14e5fb9f2" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "287de4c3-e394-4c38-8b84-f4f33f5b6530" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "4d9d166f-bf25-438e-a251-4e9196b7711a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164015Z:4d9d166f-bf25-438e-a251-4e9196b7711a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:40:14 GMT" + ], + "Content-Length": [ + "393" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"status\": \"Online\",\r\n \"creationDate\": \"2022-06-06T16:39:35.673Z\",\r\n \"defaultSecondaryLocation\": \"westus2\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785/databases/ps153\",\r\n \"name\": \"ps153\",\r\n \"type\": \"Microsoft.Sql/managedInstances/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785/databases/ps153?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NS9kYXRhYmFzZXMvcHMxNTM/YXBpLXZlcnNpb249MjAyMC0xMS0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westcentralus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "197c8c21-83d5-4890-adeb-c82348e821f6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/locations/westcentralus/managedDatabaseOperationResults/1059d462-9cb4-458a-a39c-0758e897b76f?api-version=2020-11-01-preview" + ], + "Retry-After": [ + "15" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/locations/westcentralus/managedDatabaseAzureAsyncOperation/1059d462-9cb4-458a-a39c-0758e897b76f?api-version=2020-11-01-preview" + ], + "x-ms-request-id": [ + "1059d462-9cb4-458a-a39c-0758e897b76f" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "12bdab23-45a7-4f77-8cf5-51fdfa707338" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163935Z:12bdab23-45a7-4f77-8cf5-51fdfa707338" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:39:34 GMT" + ], + "Content-Length": [ + "75" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateManagedDatabase\",\r\n \"startTime\": \"2022-06-06T16:39:35.44Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/locations/westcentralus/managedDatabaseAzureAsyncOperation/1059d462-9cb4-458a-a39c-0758e897b76f?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9sb2NhdGlvbnMvd2VzdGNlbnRyYWx1cy9tYW5hZ2VkRGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzEwNTlkNDYyLTljYjQtNDU4YS1hMzljLTA3NThlODk3Yjc2Zj9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "197c8c21-83d5-4890-adeb-c82348e821f6" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-request-id": [ + "eeb7f196-b042-4cae-80b4-67ad615214a8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "caf3817f-796f-4683-a346-5df7de603297" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T163950Z:caf3817f-796f-4683-a346-5df7de603297" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:39:50 GMT" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"1059d462-9cb4-458a-a39c-0758e897b76f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2022-06-06T16:39:35.44Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourceGroups/ps7259/providers/Microsoft.Sql/managedInstances/ps7785/databases/ps153/restoreDetails/Default?api-version=2020-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlR3JvdXBzL3BzNzI1OS9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9tYW5hZ2VkSW5zdGFuY2VzL3BzNzc4NS9kYXRhYmFzZXMvcHMxNTMvcmVzdG9yZURldGFpbHMvRGVmYXVsdD9hcGktdmVyc2lvbj0yMDIwLTExLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cad7c777-7ee2-4950-bbb2-27f3a2c99414" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Sql.SqlManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1d84de52-ebe9-40fe-96c3-09e929c42c95" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-failure-cause": [ + "service" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "d67b0bef-ef0d-49fb-a5d6-6c854e6d1675" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164015Z:d67b0bef-ef0d-49fb-a5d6-6c854e6d1675" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:40:14 GMT" + ], + "Connection": [ + "close" + ], + "Content-Length": [ + "162" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InternalServerError\",\r\n \"message\": \"An unexpected error occured while processing the request. Tracking ID: '1d84de52-ebe9-40fe-96c3-09e929c42c95'\"\r\n }\r\n}", + "StatusCode": 500 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/resourcegroups/ps7259?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL3Jlc291cmNlZ3JvdXBzL3BzNzI1OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "863be8bc-7784-43de-9711-80b0d364ddd1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "2822e1a3-c11b-48da-b566-40bb9eec9f47" + ], + "x-ms-correlation-request-id": [ + "2822e1a3-c11b-48da-b566-40bb9eec9f47" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164020Z:2822e1a3-c11b-48da-b566-40bb9eec9f47" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:40:19 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "318e2f0b-2214-482f-829c-ef6a242614cf" + ], + "x-ms-correlation-request-id": [ + "318e2f0b-2214-482f-829c-ef6a242614cf" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164035Z:318e2f0b-2214-482f-829c-ef6a242614cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:40:34 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "ceeaaf68-193d-443e-a369-6883c267b9e0" + ], + "x-ms-correlation-request-id": [ + "ceeaaf68-193d-443e-a369-6883c267b9e0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164050Z:ceeaaf68-193d-443e-a369-6883c267b9e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:40:50 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "f15dd48a-2ab3-4e82-87dd-efafb085ea34" + ], + "x-ms-correlation-request-id": [ + "f15dd48a-2ab3-4e82-87dd-efafb085ea34" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164106Z:f15dd48a-2ab3-4e82-87dd-efafb085ea34" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:41:05 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "3a16c531-25d5-4745-8391-b7eaceb5e5a3" + ], + "x-ms-correlation-request-id": [ + "3a16c531-25d5-4745-8391-b7eaceb5e5a3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164121Z:3a16c531-25d5-4745-8391-b7eaceb5e5a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:41:20 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "b3544af7-af55-4d50-b035-0d5827275e30" + ], + "x-ms-correlation-request-id": [ + "b3544af7-af55-4d50-b035-0d5827275e30" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164136Z:b3544af7-af55-4d50-b035-0d5827275e30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:41:36 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "2627bd7e-d2ca-4936-969e-d351906b81bc" + ], + "x-ms-correlation-request-id": [ + "2627bd7e-d2ca-4936-969e-d351906b81bc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164151Z:2627bd7e-d2ca-4936-969e-d351906b81bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:41:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "f5de0e52-5800-4fcf-a23c-7a24de7a41ac" + ], + "x-ms-correlation-request-id": [ + "f5de0e52-5800-4fcf-a23c-7a24de7a41ac" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164207Z:f5de0e52-5800-4fcf-a23c-7a24de7a41ac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:42:06 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "d8270a4e-3c2b-494f-8f5f-f5250c3080ee" + ], + "x-ms-correlation-request-id": [ + "d8270a4e-3c2b-494f-8f5f-f5250c3080ee" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164222Z:d8270a4e-3c2b-494f-8f5f-f5250c3080ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:42:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "1e5910c6-95ed-495a-b198-e8bc388ef471" + ], + "x-ms-correlation-request-id": [ + "1e5910c6-95ed-495a-b198-e8bc388ef471" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164237Z:1e5910c6-95ed-495a-b198-e8bc388ef471" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:42:37 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "0326740b-3fdd-4290-a9d4-753586ad344c" + ], + "x-ms-correlation-request-id": [ + "0326740b-3fdd-4290-a9d4-753586ad344c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164253Z:0326740b-3fdd-4290-a9d4-753586ad344c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:42:52 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "7e5a855a-4e61-487a-9a82-ccaf47d2afb3" + ], + "x-ms-correlation-request-id": [ + "7e5a855a-4e61-487a-9a82-ccaf47d2afb3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164308Z:7e5a855a-4e61-487a-9a82-ccaf47d2afb3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:43:08 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "3d22dda0-70b2-4fee-a603-4d3fa7f20d4e" + ], + "x-ms-correlation-request-id": [ + "3d22dda0-70b2-4fee-a603-4d3fa7f20d4e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164323Z:3d22dda0-70b2-4fee-a603-4d3fa7f20d4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:43:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "db075aea-42c2-458b-b7fa-3c63cf6235a8" + ], + "x-ms-correlation-request-id": [ + "db075aea-42c2-458b-b7fa-3c63cf6235a8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164338Z:db075aea-42c2-458b-b7fa-3c63cf6235a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:43:38 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "d92fd58c-25b4-4109-a871-2e5154b22c40" + ], + "x-ms-correlation-request-id": [ + "d92fd58c-25b4-4109-a871-2e5154b22c40" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164406Z:d92fd58c-25b4-4109-a871-2e5154b22c40" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:44:05 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "fea9f7d9-d1c6-4276-9da8-34dc994e2446" + ], + "x-ms-correlation-request-id": [ + "fea9f7d9-d1c6-4276-9da8-34dc994e2446" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164421Z:fea9f7d9-d1c6-4276-9da8-34dc994e2446" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:44:21 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "9e906319-678b-41fc-9cea-59f96f59da50" + ], + "x-ms-correlation-request-id": [ + "9e906319-678b-41fc-9cea-59f96f59da50" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164437Z:9e906319-678b-41fc-9cea-59f96f59da50" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:44:36 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "f7427113-aaa3-4e7c-a0be-ae141d133277" + ], + "x-ms-correlation-request-id": [ + "f7427113-aaa3-4e7c-a0be-ae141d133277" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164452Z:f7427113-aaa3-4e7c-a0be-ae141d133277" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:44:52 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "175edb93-9e11-43a2-a42f-9c513146f099" + ], + "x-ms-correlation-request-id": [ + "175edb93-9e11-43a2-a42f-9c513146f099" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164507Z:175edb93-9e11-43a2-a42f-9c513146f099" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:45:07 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "b95b5781-9b17-41b5-aea1-5d66c9088ee1" + ], + "x-ms-correlation-request-id": [ + "b95b5781-9b17-41b5-aea1-5d66c9088ee1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164523Z:b95b5781-9b17-41b5-aea1-5d66c9088ee1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:45:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "90c920f1-ba6e-46b8-bc9b-6875339e42b6" + ], + "x-ms-correlation-request-id": [ + "90c920f1-ba6e-46b8-bc9b-6875339e42b6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164538Z:90c920f1-ba6e-46b8-bc9b-6875339e42b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:45:37 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "3444d90f-3f41-4d69-80d8-27badead2c0a" + ], + "x-ms-correlation-request-id": [ + "3444d90f-3f41-4d69-80d8-27badead2c0a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164553Z:3444d90f-3f41-4d69-80d8-27badead2c0a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:45:52 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-request-id": [ + "ddf05a8b-3cfc-4208-8e2a-78da2d9ec28c" + ], + "x-ms-correlation-request-id": [ + "ddf05a8b-3cfc-4208-8e2a-78da2d9ec28c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164609Z:ddf05a8b-3cfc-4208-8e2a-78da2d9ec28c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:46:08 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-request-id": [ + "804ec3c3-f138-4b06-a71f-826613527a82" + ], + "x-ms-correlation-request-id": [ + "804ec3c3-f138-4b06-a71f-826613527a82" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164624Z:804ec3c3-f138-4b06-a71f-826613527a82" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:46:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-request-id": [ + "b49d6371-92d7-4900-b515-d28fff6326a0" + ], + "x-ms-correlation-request-id": [ + "b49d6371-92d7-4900-b515-d28fff6326a0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164639Z:b49d6371-92d7-4900-b515-d28fff6326a0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:46:39 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-request-id": [ + "4045b54e-2b9b-4d8d-aba3-8464fbaf3804" + ], + "x-ms-correlation-request-id": [ + "4045b54e-2b9b-4d8d-aba3-8464fbaf3804" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164655Z:4045b54e-2b9b-4d8d-aba3-8464fbaf3804" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:46:54 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-request-id": [ + "5c4c708e-f886-421a-9e97-02f91dea6a5b" + ], + "x-ms-correlation-request-id": [ + "5c4c708e-f886-421a-9e97-02f91dea6a5b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164710Z:5c4c708e-f886-421a-9e97-02f91dea6a5b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:47:09 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-request-id": [ + "6111e062-0084-4efa-a264-2f17b46fc84e" + ], + "x-ms-correlation-request-id": [ + "6111e062-0084-4efa-a264-2f17b46fc84e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164725Z:6111e062-0084-4efa-a264-2f17b46fc84e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:47:25 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-request-id": [ + "ca94260f-0329-4d7b-b14b-4545e779ca70" + ], + "x-ms-correlation-request-id": [ + "ca94260f-0329-4d7b-b14b-4545e779ca70" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164741Z:ca94260f-0329-4d7b-b14b-4545e779ca70" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:47:40 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-request-id": [ + "ac927c3e-0653-4314-91ee-735d7dd0a88e" + ], + "x-ms-correlation-request-id": [ + "ac927c3e-0653-4314-91ee-735d7dd0a88e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164756Z:ac927c3e-0653-4314-91ee-735d7dd0a88e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:47:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-request-id": [ + "cef0ab82-789c-4468-a40e-aa563cdc7dd9" + ], + "x-ms-correlation-request-id": [ + "cef0ab82-789c-4468-a40e-aa563cdc7dd9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164811Z:cef0ab82-789c-4468-a40e-aa563cdc7dd9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:48:11 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-request-id": [ + "42a778c6-bf9d-40c3-a5b6-9083d02f447e" + ], + "x-ms-correlation-request-id": [ + "42a778c6-bf9d-40c3-a5b6-9083d02f447e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164826Z:42a778c6-bf9d-40c3-a5b6-9083d02f447e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:48:25 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/8313371e-0879-428e-b1da-6353575a9192/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzcyNTktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODMxMzM3MWUtMDg3OS00MjhlLWIxZGEtNjM1MzU3NWE5MTkyL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjeU5Ua3RWMFZUVkVORlRsUlNRVXhWVXlJc0ltcHZZa3h2WTJGMGFXOXVJam9pZDJWemRHTmxiblJ5WVd4MWN5Sjk/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.58" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-request-id": [ + "c01e566b-d32b-485f-81a9-9f42e3e63c60" + ], + "x-ms-correlation-request-id": [ + "c01e566b-d32b-485f-81a9-9f42e3e63c60" + ], + "x-ms-routing-request-id": [ + "UKSOUTH:20220606T164827Z:c01e566b-d32b-485f-81a9-9f42e3e63c60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 06 Jun 2022 16:48:26 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-CancelManagedDatabaseLogReplayFailForWrongDatabase": [ + "ps7259", + "ps7785", + "ps153" + ] + }, + "Variables": { + "SubscriptionId": "8313371e-0879-428e-b1da-6353575a9192" + } +} \ No newline at end of file diff --git a/src/Sql/Sql/ChangeLog.md b/src/Sql/Sql/ChangeLog.md index a7a04f4e400c..a827dbd07de1 100644 --- a/src/Sql/Sql/ChangeLog.md +++ b/src/Sql/Sql/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Added additional input validation to `Stop-AzSqlInstanceDatabaseLogReplay` cmdlet to ensure the target database was created by log replay service ## Version 3.9.0 * Added new cmdlet `Get-AzSqlInstanceEndpointCertificate` diff --git a/src/Sql/Sql/ManagedDatabase/Services/AzureSqlManagedDatabaseAdapter.cs b/src/Sql/Sql/ManagedDatabase/Services/AzureSqlManagedDatabaseAdapter.cs index 1909cc2c4ede..421b8e1bb52b 100644 --- a/src/Sql/Sql/ManagedDatabase/Services/AzureSqlManagedDatabaseAdapter.cs +++ b/src/Sql/Sql/ManagedDatabase/Services/AzureSqlManagedDatabaseAdapter.cs @@ -13,16 +13,14 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure.Commands.Common.Authentication.Abstractions; -using Microsoft.Azure.Commands.Common.Authentication.Models; using Microsoft.Azure.Commands.Sql.ManagedDatabase.Model; +using Microsoft.Azure.Commands.Sql.ManagedDatabaseBackup.Services; using Microsoft.Azure.Commands.Sql.ManagedInstance.Adapter; -using Microsoft.Azure.Commands.Sql.Services; +using Microsoft.Azure.Management.Sql.Models; using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; -using Microsoft.Azure.Management.Sql.Models; -using Microsoft.Azure.Commands.Sql.ManagedDatabaseBackup.Services; +using System.Management.Automation; namespace Microsoft.Azure.Commands.Sql.ManagedDatabase.Services { @@ -231,16 +229,29 @@ public void CompleteManagedDatabaseLogReplay(AzureSqlManagedDatabaseModel parame parameters.LastBackupName); } + private bool isLRSRestore(ManagedDatabaseRestoreDetailsResult restoreDetails) { + var restoreType = restoreDetails.GetType().GetProperty("ManagedDatabaseRestoreDetailsResultType"); + // 1) no property => old api => it's log replay as the API only works for such dbs + // 2) property is there => new api => property value will tell us if its LRS + return (restoreType == null) || ((string)restoreType.GetValue(restoreDetails)).Equals("lrsrestore", StringComparison.OrdinalIgnoreCase); + } + /// /// Removes managed database in order to stop log replay service /// /// The parameters for log replay cancel action public void StopManagedDatabaseLogReplay(AzureSqlManagedDatabaseModel parameters) { - Communicator.Remove( - parameters.ResourceGroupName, - parameters.ManagedInstanceName, - parameters.Name); + // Check if the database provided by the caller is indeed created by Log Replay migration + var dbRestoreDetails = Communicator.GetLogReplayStatus(parameters.ResourceGroupName, parameters.ManagedInstanceName, parameters.Name); + if (isLRSRestore(dbRestoreDetails)) + { + Communicator.Remove(parameters.ResourceGroupName, parameters.ManagedInstanceName, parameters.Name); + } + else + { + throw new PSArgumentException(string.Format(Properties.Resources.StopLogReplayErrorDatabaseOrigin, parameters.Name, parameters.ManagedInstanceName, parameters.ResourceGroupName), "InstanceDatabaseName"); + } } /// diff --git a/src/Sql/Sql/Properties/Resources.Designer.cs b/src/Sql/Sql/Properties/Resources.Designer.cs index bb98408202a5..7ad59c4a9fe6 100644 --- a/src/Sql/Sql/Properties/Resources.Designer.cs +++ b/src/Sql/Sql/Properties/Resources.Designer.cs @@ -349,7 +349,7 @@ internal static string ChangingHardwareFamilyIsIrreversable { } /// - /// Looks up a localized string similar to Creating a new Managed Instance Hybrid Link in resource group '{0}' under managed instance '{1}' with name '{2}'.. + /// Looks up a localized string similar to Creating a new instance link named '{2}' on managed instance '{1}' located in resource group '{0}'.. /// internal static string CreateAzureSqlInstanceLinkDescription { get { @@ -358,7 +358,7 @@ internal static string CreateAzureSqlInstanceLinkDescription { } /// - /// Looks up a localized string similar to Are you sure you want to create a new Managed Instance Hybrid Link in resource group '{0}' under managed instance '{1}' with name '{2}'?. + /// Looks up a localized string similar to Are you sure you want to create a new instance link named '{2}' on managed instance '{1}' located in resource group '{0}'?. /// internal static string CreateAzureSqlInstanceLinkWarning { get { @@ -367,7 +367,7 @@ internal static string CreateAzureSqlInstanceLinkWarning { } /// - /// Looks up a localized string similar to Creating a new Server Trust Certificate in resource group '{0}' under managed instance '{1}' with name '{2}'.. + /// Looks up a localized string similar to Creating a new SQL Server trust certificate named '{2}' on managed instance '{1}' located in resource group '{0}'.. /// internal static string CreateAzureSqlInstanceServerTrustCertificateDescription { get { @@ -376,7 +376,7 @@ internal static string CreateAzureSqlInstanceServerTrustCertificateDescription { } /// - /// Looks up a localized string similar to Are you sure you want to create a new Server Trust Certificate in resource group '{0}' under managed instance '{1}' with name '{2}'?. + /// Looks up a localized string similar to Are you sure you want to create a new SQL Server trust certificate named '{2}' on managed instance '{1}' located in resource group '{0}'?. /// internal static string CreateAzureSqlInstanceServerTrustCertificateWarning { get { @@ -756,7 +756,7 @@ internal static string ManagedInstanceAdvancedDataSecurityIsNotDefined { } /// - /// Looks up a localized string similar to Managed instance link with name '{0}' already exists on Azure Sql Managed Instance '{1}'. + /// Looks up a localized string similar to Instance link with name '{0}' already exists on managed instance '{1}'. /// internal static string ManagedInstanceLinkAlreadyExists { get { @@ -999,7 +999,7 @@ internal static string RemoveAzureSqlInstanceDatabaseLongTermRetentionBackupWarn } /// - /// Looks up a localized string similar to This operation may cause data loss if replicas last hardened LSNs are not in sync, are you sure you want to continue?. + /// Looks up a localized string similar to This operation may cause data loss if replica's last hardened LSN is not in sync with the primary. Are you sure you want to proceed?. /// internal static string RemoveAzureSqlInstanceLinkAllowDataLoss { get { @@ -1008,7 +1008,7 @@ internal static string RemoveAzureSqlInstanceLinkAllowDataLoss { } /// - /// Looks up a localized string similar to Permanently removing Azure Sql Managed Instance Link in resource group '{0}' under managed instance '{1}' with name '{2}'.. + /// Looks up a localized string similar to Permanently removing instance link named '{2}' from managed instance '{1}' in resource group '{0}'.. /// internal static string RemoveAzureSqlInstanceLinkDescription { get { @@ -1017,7 +1017,7 @@ internal static string RemoveAzureSqlInstanceLinkDescription { } /// - /// Looks up a localized string similar to Are you sure you want to remove the Azure Sql Instance Managed Instance Link in resource group '{0}' under managed instance '{1}' with name '{2}'?. + /// Looks up a localized string similar to Are you sure you want to remove the instance link named '{2}' from managed instance '{1}' located in resource group '{0}'?. /// internal static string RemoveAzureSqlInstanceLinkWarning { get { @@ -1026,7 +1026,7 @@ internal static string RemoveAzureSqlInstanceLinkWarning { } /// - /// Looks up a localized string similar to Permanently removing Azure Sql Instance Server Trust Certificate in resource group '{0}' under managed instance '{1}' with name '{2}'.. + /// Looks up a localized string similar to Permanently removing SQL Server trust certificate named '{2}' from managed instance '{1}' located in resource group '{0}'.. /// internal static string RemoveAzureSqlInstanceServerTrustCertificateDescription { get { @@ -1035,7 +1035,7 @@ internal static string RemoveAzureSqlInstanceServerTrustCertificateDescription { } /// - /// Looks up a localized string similar to Are you sure you want to remove the Azure Sql Instance Server Trust Certificate in resource group '{0}' under managed instance '{1}' with name '{2}'?. + /// Looks up a localized string similar to Are you sure you want to remove SQL Server trust certificate named '{2}' from managed instance '{1}' located in resource group '{0}'?. /// internal static string RemoveAzureSqlInstanceServerTrustCertificateWarning { get { @@ -1476,7 +1476,7 @@ internal static string ServerOutboundFirewallRuleFQDNExists { } /// - /// Looks up a localized string similar to Certificate with name '{0}' already exists on Azure Sql Managed Instance '{1}'.. + /// Looks up a localized string similar to Certificate with name '{0}' already exists on managed instance '{1}'.. /// internal static string ServerTrustCertificateAlreadyExists { get { @@ -1539,7 +1539,7 @@ internal static string SetAzureSqlInstanceDescription { } /// - /// Looks up a localized string similar to Updating Managed Instance Hybrid Link in resource group '{0}' under managed instance '{1}' with name '{2}'.. + /// Looks up a localized string similar to Updating instance link named '{2}' on managed instance '{1}' located in resource group '{0}'.. /// internal static string SetAzureSqlInstanceLinkDescription { get { @@ -1548,7 +1548,7 @@ internal static string SetAzureSqlInstanceLinkDescription { } /// - /// Looks up a localized string similar to Are you sure you want to update Managed Instance Hybrid Link in resource group '{0}' under managed instance '{1}' with name '{2}'?. + /// Looks up a localized string similar to Are you sure you want to update instance link named '{2}' on managed instance '{1}' located in resource group '{0}'?. /// internal static string SetAzureSqlInstanceLinkWarning { get { @@ -1736,6 +1736,15 @@ internal static string StopDatabaseActivityWarning { } } + /// + /// Looks up a localized string similar to Cannot stop the log replay as database {0} on the instance {1} in the resource group {2} was not created with log replay service.. + /// + internal static string StopLogReplayErrorDatabaseOrigin { + get { + return ResourceManager.GetString("StopLogReplayErrorDatabaseOrigin", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot find a storage account with the name '{0}'. It either does not exist, associated with a different subscription or you do not have the appropriate credentials to access it.. /// diff --git a/src/Sql/Sql/Properties/Resources.resx b/src/Sql/Sql/Properties/Resources.resx index dc891e7237ab..81a7e929d391 100644 --- a/src/Sql/Sql/Properties/Resources.resx +++ b/src/Sql/Sql/Properties/Resources.resx @@ -733,4 +733,7 @@ Are you sure you want to update instance link named '{2}' on managed instance '{1}' located in resource group '{0}'? + + Cannot stop the log replay as database {0} on the instance {1} in the resource group {2} was not created with log replay service. + \ No newline at end of file