diff --git a/ChangeLog.md b/ChangeLog.md index 76bf06d02884..7e4a77bef9cc 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,4 +1,4 @@ -##2016.03.08 version 1.3.0 +##2016.03.08 version 1.3.0 * Azure LogicApp: New cmdlets for managing LogicApps * Get-AzureLogicAppAccessKey * Get-AzureLogicApp @@ -22,6 +22,11 @@ - New-AzureStorageShareSASToken - New-AzureStorageQueueSASToken - New-AzureStorageTableSASToken +* Azure SQL DB Backup/restore + * Get-AzureRmSqlDatabaseGeoBackup + * Get-AzureRmSqlDeletedDatabaseBackup + * Restore-AzureRmSqlDatabase + * This cmdlet accepts as pipelined input the result of one of the first two cmdlets (or Get-AzureRmSqlDatabase if restoring a live DB to a point-in-time) ## 2016.02.04 version 1.2.1 * Fix installer issue - remove PSGallery modules on install diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj index 8f7e5aee5d99..68e0481580b1 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj @@ -71,7 +71,7 @@ False - ..\..\..\packages\Microsoft.Azure.Management.Sql.0.44.0-prerelease\lib\net40\Microsoft.Azure.Management.Sql.dll + ..\..\..\packages\Microsoft.Azure.Management.Sql.0.45.0-prerelease\lib\net40\Microsoft.Azure.Management.Sql.dll ..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll @@ -223,7 +223,7 @@ PreserveNewest - PreserveNewest + Always Always @@ -414,6 +414,15 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + Always diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.cs b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.cs index 36a4bb78d185..a939ea0139cb 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.cs +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.cs @@ -26,5 +26,23 @@ public void TestListDatabaseRestorePoints() { RunPowerShellTest("Test-ListDatabaseRestorePoints"); } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestRestoreGeoBackup() + { + RunPowerShellTest("Test-RestoreGeoBackup"); + } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestRestoreDeletedDatabaseBackup() + { + RunPowerShellTest("Test-RestoreDeletedDatabaseBackup"); + } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestRestorePointInTimeBackup() + { + RunPowerShellTest("Test-RestorePointInTimeBackup"); + } } } diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 index 6a393af6bd47..ce28528a8382 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 @@ -52,4 +52,43 @@ function Test-ListDatabaseRestorePoints { Remove-ResourceGroupForTest $rg } +} + +function Test-RestoreGeoBackup +{ + # Setup + $location = "Southeast Asia" + $serverVersion = "12.0" + $rg = Get-AzureRmResourceGroup -ResourceGroupName hchung-test2 + $server = Get-AzureRmSqlServer -ServerName hchung-testsvr2 -ResourceGroupName $rg.ResourceGroupName + $db = Get-AzureRmSqlDatabase -ServerName $server.ServerName -DatabaseName hchung-testdb-geo2 -ResourceGroupName $rg.ResourceGroupName + $restoredDbName = "powershell_db_georestored" + + Get-AzureRmSqlDatabaseGeoBackup -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseName $db.DatabaseName | Restore-AzureRmSqlDatabase -FromGeoBackup -TargetDatabaseName $restoredDbName +} + +function Test-RestoreDeletedDatabaseBackup +{ + # Setup + $location = "Southeast Asia" + $serverVersion = "12.0" + $rg = Get-AzureRmResourceGroup -ResourceGroupName hchung-test2 + $server = Get-AzureRmSqlServer -ServerName hchung-testsvr2 -ResourceGroupName $rg.ResourceGroupName + $droppedDbName = "powershell_db_georestored" + $restoredDbName = "powershell_db_deleted" + + Get-AzureRmSqlDeletedDatabaseBackup -ResourceGroupName $server.ResourceGroupName -ServerName $server.ServerName -DatabaseName $droppedDbName -DeletionDate "2016-02-23T00:21:22.847Z" | Restore-AzureRmSqlDatabase -FromDeletedDatabaseBackup -TargetDatabaseName $restoredDbName +} + +function Test-RestorePointInTimeBackup +{ + # Setup + $location = "Southeast Asia" + $serverVersion = "12.0" + $rg = Get-AzureRmResourceGroup -ResourceGroupName hchung-test + $server = Get-AzureRmSqlServer -ServerName hchung-testsvr -ResourceGroupName $rg.ResourceGroupName + $db = Get-AzureRmSqlDatabase -ServerName $server.ServerName -DatabaseName hchung-testdb -ResourceGroupName $rg.ResourceGroupName + $restoredDbName = "powershell_db_restored" + + Get-AzureRmSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $db.DatabaseName | Restore-AzureRmSqlDatabase -FromPointInTimeBackup -PointInTime "2016-02-20T00:06:00Z" -TargetDatabaseName $restoredDbName } \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestoreDeletedDatabaseBackup.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestoreDeletedDatabaseBackup.json new file mode 100644 index 000000000000..136e4acdc6a6 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestoreDeletedDatabaseBackup.json @@ -0,0 +1,2426 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourcegroups/hchung-test2?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlZ3JvdXBzL2hjaHVuZy10ZXN0Mj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2\",\r\n \"name\": \"hchung-test2\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "184" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14719" + ], + "x-ms-request-id": [ + "ac8088b1-439a-4750-a916-c55163e6a236" + ], + "x-ms-correlation-request-id": [ + "ac8088b1-439a-4750-a916-c55163e6a236" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032015Z:ac8088b1-439a-4750-a916-c55163e6a236" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:20:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "bd67b867-01f0-4f2e-87ec-f4fd7b165851" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2\",\r\n \"name\": \"hchung-testsvr2\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Southeast Asia\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"hchung-testsvr2.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"hchung\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "480" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "fbeac0ce-8477-4c9e-baa8-bddecdf47114" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14885" + ], + "x-ms-correlation-request-id": [ + "f53a9af3-2f2c-4aae-b9ad-ab79860165ce" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032016Z:f53a9af3-2f2c-4aae-b9ad-ab79860165ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:20:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "aa8f6583-2fc3-4076-afa1-a9c5c4279809" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2\",\r\n \"name\": \"hchung-testsvr2\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Southeast Asia\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"hchung-testsvr2.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"hchung\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "480" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "8c5aba3f-7dcb-4f0c-a226-ae5f27eb2479" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14883" + ], + "x-ms-correlation-request-id": [ + "9279c7fc-567d-4113-998b-1fef3b3845f7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032018Z:9279c7fc-567d-4113-998b-1fef3b3845f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:20:17 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/restorabledroppeddatabases/powershell_db_georestored%2C131006604828470000?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9yZXN0b3JhYmxlZHJvcHBlZGRhdGFiYXNlcy9wb3dlcnNoZWxsX2RiX2dlb3Jlc3RvcmVkJTJDMTMxMDA2NjA0ODI4NDcwMDAwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "7f5c788e-59a8-43a4-a94a-f58287b52ce3" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/restorableDroppedDatabases/powershell_db_georestored,131006604828470000\",\r\n \"name\": \"powershell_db_georestored,131006604828470000\",\r\n \"type\": \"Microsoft.Sql/servers/restorableDroppedDatabases\",\r\n \"location\": \"SouthEast Asia\",\r\n \"properties\": {\r\n \"databaseName\": \"powershell_db_georestored\",\r\n \"edition\": \"Standard\",\r\n \"maxSizeBytes\": \"268435456000\",\r\n \"serviceLevelObjective\": \"S0\",\r\n \"elasticPoolName\": null,\r\n \"creationDate\": \"2016-02-22T22:32:23.56Z\",\r\n \"deletionDate\": \"2016-02-23T00:21:22.847Z\",\r\n \"earliestRestoreDate\": \"2016-02-23T00:21:22.847Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "641" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "c24c8c63-5a0e-48fa-ae3f-a423a4c452c6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14884" + ], + "x-ms-correlation-request-id": [ + "5db573fb-404d-4590-b92b-b92321b37f5c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032017Z:5db573fb-404d-4590-b92b-b92321b37f5c" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:20:17 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"edition\": \"Standard\",\r\n \"sourceDatabaseId\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/restorableDroppedDatabases/powershell_db_georestored,131006604828470000\",\r\n \"createMode\": \"Restore\",\r\n \"restorePointInTime\": \"2016-02-23T00:21:22.847Z\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "416" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-22T19:20:20.473-08:00\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "abd7f691-6a65-4e40-8aa1-61b9c82e7a7b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "350d5ce6-4ded-4c77-bc7b-493d4490179c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032020Z:350d5ce6-4ded-4c77-bc7b-493d4490179c" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:20:20 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b6c8ddde-06db-4b18-ab6e-60d9cc1bb9a1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14882" + ], + "x-ms-correlation-request-id": [ + "56f46b8a-e126-4bb3-9520-6abfa3ab80b1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032022Z:56f46b8a-e126-4bb3-9520-6abfa3ab80b1" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:20:21 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "5cfb2bc3-35aa-445f-9b88-dbe674551485" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14878" + ], + "x-ms-correlation-request-id": [ + "976b5b16-990f-4f23-948d-759c484dc840" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032053Z:976b5b16-990f-4f23-948d-759c484dc840" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:20:53 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "988dfebc-a30b-48e3-8a59-757549e4a75a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14876" + ], + "x-ms-correlation-request-id": [ + "6b815ff3-8d62-498f-a414-cf7985199a2c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032109Z:6b815ff3-8d62-498f-a414-cf7985199a2c" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:21:08 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "5731617a-2f1c-4f90-97d9-edb988fef9ab" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14874" + ], + "x-ms-correlation-request-id": [ + "66db5e9b-89d5-4fe4-9a8b-ded1c78a105b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032125Z:66db5e9b-89d5-4fe4-9a8b-ded1c78a105b" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:21:25 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "40142ac4-bf44-42a9-97ba-941d29077900" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14872" + ], + "x-ms-correlation-request-id": [ + "9d57da02-cf3f-4a98-9a60-813f77b56ade" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032142Z:9d57da02-cf3f-4a98-9a60-813f77b56ade" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:21:41 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "d28a2306-c362-4fa6-945c-5bfdcd88ebef" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14871" + ], + "x-ms-correlation-request-id": [ + "b4447377-dcee-42af-928e-386deb5e0a31" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032158Z:b4447377-dcee-42af-928e-386deb5e0a31" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:21:58 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "e1cf4669-a29e-40c1-b694-598294f83f95" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14870" + ], + "x-ms-correlation-request-id": [ + "6dae13cd-f2dd-4acf-9c9a-0054680dee29" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032214Z:6dae13cd-f2dd-4acf-9c9a-0054680dee29" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:22:14 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "6d702519-2849-4964-ae98-9f3931ebaf9b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14868" + ], + "x-ms-correlation-request-id": [ + "257a0e36-419f-4fd4-85f7-376f9ea77381" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032231Z:257a0e36-419f-4fd4-85f7-376f9ea77381" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:22:31 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "074d6afa-4f1c-4934-8107-23effd584bfd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14866" + ], + "x-ms-correlation-request-id": [ + "f190d8e2-7a46-4ba7-9aa2-9f0ee09e9491" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032247Z:f190d8e2-7a46-4ba7-9aa2-9f0ee09e9491" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:22:47 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "061f54ce-7ccd-4ff2-86e0-a9f6d46b2c15" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14865" + ], + "x-ms-correlation-request-id": [ + "0aa1ac4f-5b4a-4c75-b1ad-0a252ca9fead" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032304Z:0aa1ac4f-5b4a-4c75-b1ad-0a252ca9fead" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:23:04 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "ede084b7-23d3-47b2-8bde-e90ac66bbe9f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14864" + ], + "x-ms-correlation-request-id": [ + "9c7cb033-08e7-41cd-ab78-fcdd576ece74" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032320Z:9c7cb033-08e7-41cd-ab78-fcdd576ece74" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:23:20 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "dea43d2b-3b3d-4ee0-a983-b14d16f144c6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14861" + ], + "x-ms-correlation-request-id": [ + "dd6e4c56-a3cc-4c6d-808b-80eaa07bfb5d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032337Z:dd6e4c56-a3cc-4c6d-808b-80eaa07bfb5d" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:23:36 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "7b8e94ce-7610-4d32-8979-c56773609315" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14859" + ], + "x-ms-correlation-request-id": [ + "3d67eded-2359-47d0-97b2-75fa65aab105" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032353Z:3d67eded-2359-47d0-97b2-75fa65aab105" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:23:53 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "7ac1e639-d9f2-4ec3-891f-5e5eccce8476" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14855" + ], + "x-ms-correlation-request-id": [ + "7186e3f8-de30-442c-baab-a320bb99899f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032410Z:7186e3f8-de30-442c-baab-a320bb99899f" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:24:09 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b54bcca2-cef9-4446-a587-3057dc18bae8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14854" + ], + "x-ms-correlation-request-id": [ + "5fff6f15-d874-42b7-87f4-18f5b80c44b7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032426Z:5fff6f15-d874-42b7-87f4-18f5b80c44b7" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:24:26 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "5fb5e96f-3719-4dd9-9712-469df3e861e6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14850" + ], + "x-ms-correlation-request-id": [ + "a5391470-679c-479d-9033-8959dcf9a003" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032442Z:a5391470-679c-479d-9033-8959dcf9a003" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:24:41 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "e8590d1c-c6a8-4fad-8f7f-8a84fd0ef515" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14848" + ], + "x-ms-correlation-request-id": [ + "c70deeb0-2f37-45bd-af6b-3132fcdedb1b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032459Z:c70deeb0-2f37-45bd-af6b-3132fcdedb1b" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:24:58 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "f03bb488-dc98-420f-8e37-3230ec6fcb68" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14853" + ], + "x-ms-correlation-request-id": [ + "f079fd10-1bcf-4a2e-a129-54e50e314ef4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032515Z:f079fd10-1bcf-4a2e-a129-54e50e314ef4" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:25:15 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "7c52f584-850a-4c61-ba1b-46fd9aeb5919" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14850" + ], + "x-ms-correlation-request-id": [ + "a163c966-0d8f-40e5-a43d-44ecc0a9dc3e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032531Z:a163c966-0d8f-40e5-a43d-44ecc0a9dc3e" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:25:30 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "bbfc9363-07b4-4b9f-8348-512bcaa24bb7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14847" + ], + "x-ms-correlation-request-id": [ + "a675b6a6-f8cd-432f-b251-f970448cd33f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032548Z:a675b6a6-f8cd-432f-b251-f970448cd33f" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:25:47 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "61ba89fc-c09e-4c59-85ea-07ffa58166f6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14846" + ], + "x-ms-correlation-request-id": [ + "0b173f65-9bd7-4df0-b51e-ed0bc13e9962" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032604Z:0b173f65-9bd7-4df0-b51e-ed0bc13e9962" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:26:04 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "139dec7e-4970-4f0f-b9fd-e98b4b1bdb9c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14845" + ], + "x-ms-correlation-request-id": [ + "0639a60c-ed06-4619-9b5c-4a7e42b399af" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032621Z:0639a60c-ed06-4619-9b5c-4a7e42b399af" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:26:20 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b267ed9a-11ed-4624-8022-fc341dd892ff" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14842" + ], + "x-ms-correlation-request-id": [ + "4f5e9f81-2e9b-4b63-9a04-be94e889c986" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032637Z:4f5e9f81-2e9b-4b63-9a04-be94e889c986" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:26:37 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "167573cd-db24-430d-9717-d0d965623052" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14840" + ], + "x-ms-correlation-request-id": [ + "53256583-314d-43dc-81fb-26f32241ee05" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032654Z:53256583-314d-43dc-81fb-26f32241ee05" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:26:54 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "5d4d196c-09e1-4b3e-8313-d3182c0c2db7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14838" + ], + "x-ms-correlation-request-id": [ + "bf8ffb76-13f1-400a-a3b6-8d5b085fd615" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032711Z:bf8ffb76-13f1-400a-a3b6-8d5b085fd615" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:27:11 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "e76a5ac6-c597-4cf0-b7a7-3658ab7dfdfc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14837" + ], + "x-ms-correlation-request-id": [ + "6ba637ef-4439-486e-8b39-0ba70fc97e5d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032727Z:6ba637ef-4439-486e-8b39-0ba70fc97e5d" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:27:27 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "e7f78b9e-1760-400b-997e-a6cd8747da57" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14834" + ], + "x-ms-correlation-request-id": [ + "eb126d21-e149-43bf-8bf3-aa3721b66944" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032743Z:eb126d21-e149-43bf-8bf3-aa3721b66944" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:27:43 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "c2dceb10-6017-4a83-a5b2-a41dc995fafa" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14832" + ], + "x-ms-correlation-request-id": [ + "4f1a074f-ad7a-4a2c-8c4c-eb5621196185" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032800Z:4f1a074f-ad7a-4a2c-8c4c-eb5621196185" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:28:00 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "ca253cbe-b310-496b-938d-efe2c4d22eb9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14831" + ], + "x-ms-correlation-request-id": [ + "b5177915-a1be-42fb-8739-3a3322ba26c3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032816Z:b5177915-a1be-42fb-8739-3a3322ba26c3" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:28:16 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "981ade02-9b29-4b36-84d9-0830a1f122d6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14830" + ], + "x-ms-correlation-request-id": [ + "7a24ea38-2086-4bbf-8d6b-e2005b6b5ca0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032833Z:7a24ea38-2086-4bbf-8d6b-e2005b6b5ca0" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:28:33 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "3326ebe3-ce9c-4439-831c-3a0a3663aba1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14826" + ], + "x-ms-correlation-request-id": [ + "7dd53c86-4fb5-45eb-b524-9772ef01296b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032849Z:7dd53c86-4fb5-45eb-b524-9772ef01296b" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:28:48 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "61fd1e79-2ace-4b9e-b0c6-a626922eac5e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14825" + ], + "x-ms-correlation-request-id": [ + "66400e3c-e0cd-4f9a-a775-3f5a209e300f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032905Z:66400e3c-e0cd-4f9a-a775-3f5a209e300f" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:29:05 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreRequest\",\r\n \"startTime\": \"2016-02-23T03:20:20.457Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "459964e8-2832-4507-8c1f-7b7f63870ca7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/azureAsyncOperation/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14823" + ], + "x-ms-correlation-request-id": [ + "e6813e7c-2856-4be3-bfea-f914f8eb73cf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032922Z:e6813e7c-2856-4be3-bfea-f914f8eb73cf" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:29:21 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted/operationResults/abd7f691-6a65-4e40-8aa1-61b9c82e7a7b?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9kZWxldGVkL29wZXJhdGlvblJlc3VsdHMvYWJkN2Y2OTEtNmE2NS00ZTQwLThhYTEtNjFiOWM4MmU3YTdiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "27f68e5b-d5ee-4d47-8ea7-4fdc768748aa" + ] + }, + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_deleted\",\r\n \"name\": \"powershell_db_deleted\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"SouthEast Asia\",\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"3e3f3761-cd5d-43f7-8cd1-d7ddce909213\",\r\n \"edition\": \"Standard\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"S0\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"268435456000\",\r\n \"creationDate\": \"2016-02-23T03:20:20.863Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": null,\r\n \"defaultSecondaryLocation\": \"North Europe\",\r\n \"earliestRestoreDate\": \"2016-02-23T03:38:57.517Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "856" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "9bbcebae-e3cb-4d16-b11f-3772f1989393" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14821" + ], + "x-ms-correlation-request-id": [ + "11c534a4-0888-4ca6-878f-5f59c65025f3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T032938Z:11c534a4-0888-4ca6-878f-5f59c65025f3" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 03:29:37 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0a496442-635f-4974-bda4-2d339b9a6b3c", + "TenantId": "b98ac74f-3f88-40dd-a91d-9d48aab4bf1f", + "Domain": "aad18.ccsctp.net", + "User": "admin@aad18.ccsctp.net" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestoreGeoBackup.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestoreGeoBackup.json new file mode 100644 index 000000000000..20e1760f2a7e --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestoreGeoBackup.json @@ -0,0 +1,4118 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourcegroups/hchung-test2?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlZ3JvdXBzL2hjaHVuZy10ZXN0Mj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2\",\r\n \"name\": \"hchung-test2\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "184" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14816" + ], + "x-ms-request-id": [ + "d93341e9-9eac-43d6-a093-627b7d992bfd" + ], + "x-ms-correlation-request-id": [ + "d93341e9-9eac-43d6-a093-627b7d992bfd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004149Z:d93341e9-9eac-43d6-a093-627b7d992bfd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:41:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "41a3998e-4cf1-49ec-ba80-d1ff3dc97df4" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2\",\r\n \"name\": \"hchung-testsvr2\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Southeast Asia\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"hchung-testsvr2.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"hchung\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "480" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "be4b8bff-f01a-4493-91de-a5c2f315b091" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14796" + ], + "x-ms-correlation-request-id": [ + "96bc95c4-c0c1-4cfa-bb11-1b82358daed0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004150Z:96bc95c4-c0c1-4cfa-bb11-1b82358daed0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:41:49 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "fb030b6f-98da-43f4-a2a6-2d514875f284" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2\",\r\n \"name\": \"hchung-testsvr2\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"Southeast Asia\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"hchung-testsvr2.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"hchung\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "480" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "00b325e5-a0b0-48ac-a499-197ab4b1c8d8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14793" + ], + "x-ms-correlation-request-id": [ + "6bdf5cea-ddfd-4c0d-abeb-31543fa7aabe" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004204Z:6bdf5cea-ddfd-4c0d-abeb-31543fa7aabe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:42:03 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/hchung-testdb-geo2?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvaGNodW5nLXRlc3RkYi1nZW8yP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "881974ad-702f-4053-9a53-cfbdd2cae976" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/hchung-testdb-geo2\",\r\n \"name\": \"hchung-testdb-geo2\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"SouthEast Asia\",\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"2d14aa41-5ec8-4393-a813-a2cee0465cf6\",\r\n \"edition\": \"Standard\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"S0\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"268435456000\",\r\n \"creationDate\": \"2016-02-22T19:35:12.313Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": null,\r\n \"defaultSecondaryLocation\": \"North Europe\",\r\n \"earliestRestoreDate\": \"2016-02-22T19:46:11.22Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "839" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "e25df2c8-2b68-449f-951c-7ef8eca80fd0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14795" + ], + "x-ms-correlation-request-id": [ + "9184c8a2-f554-4f56-9d6c-9e716f3ec96f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004151Z:9184c8a2-f554-4f56-9d6c-9e716f3ec96f" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:41:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/recoverabledatabases/hchung-testdb-geo2?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9yZWNvdmVyYWJsZWRhdGFiYXNlcy9oY2h1bmctdGVzdGRiLWdlbzI/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "dafba08e-1607-4f3c-96d3-8836a9dad95b" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/recoverabledatabases/hchung-testdb-geo2\",\r\n \"name\": \"hchung-testdb-geo2\",\r\n \"type\": \"Microsoft.Sql/servers/recoverableDatabases\",\r\n \"properties\": {\r\n \"edition\": \"Standard\",\r\n \"lastAvailableBackupDate\": \"2016-02-22T23:42:03.8975335Z\",\r\n \"serviceLevelObjective\": \"S0\",\r\n \"elasticPoolName\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "401" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "6eaadcc8-bd24-4af1-902b-449f737e6b1d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14794" + ], + "x-ms-correlation-request-id": [ + "07423e62-abd2-4a13-8992-1c7854132116" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004204Z:07423e62-abd2-4a13-8992-1c7854132116" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:42:03 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"edition\": \"Standard\",\r\n \"sourceDatabaseId\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/recoverabledatabases/hchung-testdb-geo2\",\r\n \"createMode\": \"Recovery\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "380" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-22T16:42:07.232-08:00\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "6b868992-ae8f-45c4-8964-efb9a16c97f5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "6ff7eec9-9c88-4384-af64-d6f8789d208d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004207Z:6ff7eec9-9c88-4384-af64-d6f8789d208d" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:42:07 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "015ce8d8-1cde-4439-8d22-255dad230a26" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14792" + ], + "x-ms-correlation-request-id": [ + "44d03663-1947-40bc-941a-180523ddb8a9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004209Z:44d03663-1947-40bc-941a-180523ddb8a9" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:42:08 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "5da4844b-db19-42f5-a60b-caa0c5085456" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14787" + ], + "x-ms-correlation-request-id": [ + "d6d77550-53a6-498b-9f48-c327efb721f1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004240Z:d6d77550-53a6-498b-9f48-c327efb721f1" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:42:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "801358ab-a174-4aae-8b74-c41969ea660c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14786" + ], + "x-ms-correlation-request-id": [ + "fe6ee2d4-aa85-4c44-9e14-ae0f83f7abba" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004256Z:fe6ee2d4-aa85-4c44-9e14-ae0f83f7abba" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:42:56 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "6d6ed89b-4684-4b94-ade2-4ccb1c095226" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14785" + ], + "x-ms-correlation-request-id": [ + "f179d238-183c-413b-b097-89b0a2281f79" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004313Z:f179d238-183c-413b-b097-89b0a2281f79" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:43:12 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b224e4ff-c17d-4768-905e-307aab476c27" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14782" + ], + "x-ms-correlation-request-id": [ + "4b5b399c-e2ec-4611-88a9-115cd6198f73" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004329Z:4b5b399c-e2ec-4611-88a9-115cd6198f73" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:43:29 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "618e0cd5-5ffd-43c6-a5a2-b8299c188d5b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14781" + ], + "x-ms-correlation-request-id": [ + "9e4b85dc-7983-431b-91d1-e216e44fc5a6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004345Z:9e4b85dc-7983-431b-91d1-e216e44fc5a6" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:43:44 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b460bf71-ea88-4c82-bca2-ac2c89a8a8d5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14780" + ], + "x-ms-correlation-request-id": [ + "0fe03c04-e2ed-45b4-8007-8257fbb316b9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004402Z:0fe03c04-e2ed-45b4-8007-8257fbb316b9" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:44:01 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "caaa6a26-8916-4c8a-8201-ff867a153623" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14779" + ], + "x-ms-correlation-request-id": [ + "6e7a08b7-5642-4cdb-98c9-01682fbf2083" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004418Z:6e7a08b7-5642-4cdb-98c9-01682fbf2083" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:44:18 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "df16e6b6-8bea-45b6-8b19-55c678e39ff7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14776" + ], + "x-ms-correlation-request-id": [ + "63910c5b-ec62-4ce8-bcf4-4b29baaa0a92" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004434Z:63910c5b-ec62-4ce8-bcf4-4b29baaa0a92" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:44:34 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "4e01c9d4-af2c-4972-b4ea-c3adcab61022" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14775" + ], + "x-ms-correlation-request-id": [ + "bff0a95e-01cd-42eb-b2d4-9c58747ea251" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004451Z:bff0a95e-01cd-42eb-b2d4-9c58747ea251" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:44:50 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "99d59d6f-2682-4b07-9366-b6108e100149" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14793" + ], + "x-ms-correlation-request-id": [ + "9d792cd4-7fb1-422a-bedc-1dd1010fcfb1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004507Z:9d792cd4-7fb1-422a-bedc-1dd1010fcfb1" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:45:06 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "2f975686-272c-4fa6-abe6-58ac3844beeb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14791" + ], + "x-ms-correlation-request-id": [ + "c6a1f11f-ad58-42f7-9106-c849f09a0874" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004523Z:c6a1f11f-ad58-42f7-9106-c849f09a0874" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:45:23 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "4bee0138-5a5c-41ba-882e-302e1914070b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14788" + ], + "x-ms-correlation-request-id": [ + "6055869f-40ca-405c-a4e3-4d167a8666c9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004540Z:6055869f-40ca-405c-a4e3-4d167a8666c9" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:45:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "029b1c92-a8f8-4753-a4a9-c87c2659855c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14787" + ], + "x-ms-correlation-request-id": [ + "18c7a9e7-f7a0-4685-ac1b-64a2698c8635" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004556Z:18c7a9e7-f7a0-4685-ac1b-64a2698c8635" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:45:56 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b7d46ace-4abb-4e70-91cb-91670b12e6f9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14786" + ], + "x-ms-correlation-request-id": [ + "78678eef-8897-4bda-affa-ea569f1a4e1b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004613Z:78678eef-8897-4bda-affa-ea569f1a4e1b" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:46:12 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "7a91a652-6483-4812-b3df-87dc206ea25e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14784" + ], + "x-ms-correlation-request-id": [ + "d623ae5a-5991-4b45-8819-a46643f30c64" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004629Z:d623ae5a-5991-4b45-8819-a46643f30c64" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:46:28 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "0a7e4e51-ca63-495d-880e-629d2e9d479b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14781" + ], + "x-ms-correlation-request-id": [ + "7ebca54b-290e-45b0-8567-967c80bdbfce" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004645Z:7ebca54b-290e-45b0-8567-967c80bdbfce" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:46:45 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "a036009a-f12c-4535-8bd7-a302eddf0dca" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14780" + ], + "x-ms-correlation-request-id": [ + "c3bbcf31-c738-4d19-9f7d-68233e8a7778" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004702Z:c3bbcf31-c738-4d19-9f7d-68233e8a7778" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:47:02 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "694d1d3f-2f7c-45a3-a9f9-6c3589627035" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14778" + ], + "x-ms-correlation-request-id": [ + "2fa25f3d-08f3-43e2-98f0-5206c45b13a5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004718Z:2fa25f3d-08f3-43e2-98f0-5206c45b13a5" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:47:17 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "a3cd649b-c166-4b69-96ed-3238ef69921e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14775" + ], + "x-ms-correlation-request-id": [ + "1e66923d-3966-4a3e-9f88-c2652a1a6407" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004734Z:1e66923d-3966-4a3e-9f88-c2652a1a6407" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:47:34 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "2dd421bc-2e6b-4917-92b7-55b9c7970764" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14774" + ], + "x-ms-correlation-request-id": [ + "f741d4c4-ef4d-45c0-ac44-75b12ccdc941" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004751Z:f741d4c4-ef4d-45c0-ac44-75b12ccdc941" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:47:50 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "55987d05-c06a-4913-8c4f-fa8329a1565a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14773" + ], + "x-ms-correlation-request-id": [ + "6d3b0d92-2a28-413f-adc4-90b614253562" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004807Z:6d3b0d92-2a28-413f-adc4-90b614253562" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:48:06 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "e6d3ae4a-5fb5-4bb3-a032-11645246e157" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14771" + ], + "x-ms-correlation-request-id": [ + "e5ecca56-e26b-44d7-86f7-cea01ff13ef6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004823Z:e5ecca56-e26b-44d7-86f7-cea01ff13ef6" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:48:22 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "d8215b0c-4830-4f51-b1f5-916f28d43026" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14768" + ], + "x-ms-correlation-request-id": [ + "79a16e30-6940-424d-99ec-24820fe0821e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004840Z:79a16e30-6940-424d-99ec-24820fe0821e" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:48:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "0b3a8143-8f1b-4e0e-809f-bd04b92e32e8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14767" + ], + "x-ms-correlation-request-id": [ + "ff7241ba-876c-4fd9-8de4-59d598a8008d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004856Z:ff7241ba-876c-4fd9-8de4-59d598a8008d" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:48:55 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "7b760cb1-8b21-4046-9c12-112b2e3bb1c1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14766" + ], + "x-ms-correlation-request-id": [ + "5046889a-b15f-4a57-af0e-07737e17162e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004912Z:5046889a-b15f-4a57-af0e-07737e17162e" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:49:12 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "9a134683-d97d-4ce8-90bb-6ad8514bde4f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14765" + ], + "x-ms-correlation-request-id": [ + "b36f87f3-0421-4f17-aa12-90d326cef5f1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004929Z:b36f87f3-0421-4f17-aa12-90d326cef5f1" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:49:29 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "0f8b8ec4-a33a-481d-b733-0a45d685a364" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14763" + ], + "x-ms-correlation-request-id": [ + "7b9513a2-7e75-4b5d-8ba5-3e7a2ba09add" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T004945Z:7b9513a2-7e75-4b5d-8ba5-3e7a2ba09add" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:49:45 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "99af40d8-8d2e-4813-8e7d-dc1974784d29" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14778" + ], + "x-ms-correlation-request-id": [ + "549413dd-f3be-4978-996d-b1528fc79248" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005034Z:549413dd-f3be-4978-996d-b1528fc79248" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:50:33 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "a448e1f3-f7fe-4667-b5f9-a6aa66f38d65" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14774" + ], + "x-ms-correlation-request-id": [ + "fe6d9d29-e1c0-442e-94cf-fbfb22819a55" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005050Z:fe6d9d29-e1c0-442e-94cf-fbfb22819a55" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:50:50 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "959c8975-c914-4449-bd9a-ab950c6c9da2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14773" + ], + "x-ms-correlation-request-id": [ + "41d0cf1e-9309-454a-bf78-051125b78bfa" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005107Z:41d0cf1e-9309-454a-bf78-051125b78bfa" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:51:07 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "72253cf9-eaa8-474c-9fd4-3153c5f1c149" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14771" + ], + "x-ms-correlation-request-id": [ + "4896a7c0-6b8d-4b6d-9170-8ebcf23cc88f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005123Z:4896a7c0-6b8d-4b6d-9170-8ebcf23cc88f" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:51:23 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "2b1e7fa9-0796-46c2-a64c-5f6428770f85" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14768" + ], + "x-ms-correlation-request-id": [ + "355b1aac-1069-4065-b400-c1d205292b3e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005139Z:355b1aac-1069-4065-b400-c1d205292b3e" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:51:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "c8411932-ee8b-4df3-8191-d0f4f993fde8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14765" + ], + "x-ms-correlation-request-id": [ + "120fec99-420d-43da-a0d9-d51f9e503a4c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005156Z:120fec99-420d-43da-a0d9-d51f9e503a4c" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:51:55 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "a7a2363e-0d1f-4903-97fa-3a7c29315ba0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14764" + ], + "x-ms-correlation-request-id": [ + "b8e333db-58c0-4a78-8d58-ddd0935f9c88" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005212Z:b8e333db-58c0-4a78-8d58-ddd0935f9c88" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:52:12 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "20f8404d-f87a-49df-8fcc-439d2ef72632" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14763" + ], + "x-ms-correlation-request-id": [ + "f6b2fcae-ebf3-4884-ba2c-63be1c1ed967" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005228Z:f6b2fcae-ebf3-4884-ba2c-63be1c1ed967" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:52:28 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "c9c06f30-d3c7-4b3c-bbc0-e1a6329ac96f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14761" + ], + "x-ms-correlation-request-id": [ + "4771d1e4-d5ec-4503-a222-6252a886bc07" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005245Z:4771d1e4-d5ec-4503-a222-6252a886bc07" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:52:44 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "8ea28475-5de8-451d-8839-7b02e8728433" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14759" + ], + "x-ms-correlation-request-id": [ + "e5ce40ae-d6e8-4c8e-bd55-4aa61913ef9d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005301Z:e5ce40ae-d6e8-4c8e-bd55-4aa61913ef9d" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:53:00 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "54a18ace-b3bb-4795-96a4-7e9790f86735" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14758" + ], + "x-ms-correlation-request-id": [ + "f581995e-d4fb-4a6f-aec8-7dc3b1e53032" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005317Z:f581995e-d4fb-4a6f-aec8-7dc3b1e53032" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:53:17 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "12a1272a-0b68-48d7-9ae2-35869a66007f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14757" + ], + "x-ms-correlation-request-id": [ + "d8a37ae4-1836-4e91-bd35-bc3a8a6f7493" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005334Z:d8a37ae4-1836-4e91-bd35-bc3a8a6f7493" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:53:33 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "e5a3d1b2-6a8a-40ba-80e1-3bcfb377342f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14753" + ], + "x-ms-correlation-request-id": [ + "32f1138b-9ecd-4f02-ac06-04acd871d1fc" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005350Z:32f1138b-9ecd-4f02-ac06-04acd871d1fc" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:53:49 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "66cf4cb2-e293-4fd2-babb-75dce04d6547" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14752" + ], + "x-ms-correlation-request-id": [ + "e1fc9b3c-6e3e-434a-b915-5a9d53277df4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005406Z:e1fc9b3c-6e3e-434a-b915-5a9d53277df4" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:54:06 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "49b064a2-f9d2-4a09-b946-916bbc7a0b87" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14750" + ], + "x-ms-correlation-request-id": [ + "9245f956-b383-41df-aecd-cf97e56c8321" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005423Z:9245f956-b383-41df-aecd-cf97e56c8321" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:54:22 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "658e8c09-b7ff-4ab9-a303-d186f88a20b8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14749" + ], + "x-ms-correlation-request-id": [ + "31db52f2-66cf-4aa7-80ae-3463d5d9692d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005439Z:31db52f2-66cf-4aa7-80ae-3463d5d9692d" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:54:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "061048b5-f0cb-480e-979d-661f1cb67315" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14747" + ], + "x-ms-correlation-request-id": [ + "a2559df7-08fb-4849-9086-adc94ef5cd96" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005456Z:a2559df7-08fb-4849-9086-adc94ef5cd96" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:54:56 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b65b6b06-0820-472c-bf3f-6ddb46870796" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14767" + ], + "x-ms-correlation-request-id": [ + "1533ef41-27f1-40a8-b3c8-411c33af7a06" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005512Z:1533ef41-27f1-40a8-b3c8-411c33af7a06" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:55:11 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "030b6e6b-233e-4322-8820-8c26eb02c718" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14765" + ], + "x-ms-correlation-request-id": [ + "3c250544-51fd-4c9c-86c6-ecc287e18bc0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005528Z:3c250544-51fd-4c9c-86c6-ecc287e18bc0" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:55:28 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "579d24db-aa37-430a-ad30-1d3f9d6eaca2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14763" + ], + "x-ms-correlation-request-id": [ + "a2849395-858b-4b20-a532-cd5651ae0158" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005545Z:a2849395-858b-4b20-a532-cd5651ae0158" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:55:44 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "06b595fa-d3aa-4876-9a84-26519aae7a5e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14761" + ], + "x-ms-correlation-request-id": [ + "f7e63339-4bcd-4683-ba42-5db57cded652" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005601Z:f7e63339-4bcd-4683-ba42-5db57cded652" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:56:01 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "64f63f5f-27fd-49a0-8622-a8f88896660b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14760" + ], + "x-ms-correlation-request-id": [ + "1a92b8ec-b7bf-4954-978b-8efe40fc31cd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005618Z:1a92b8ec-b7bf-4954-978b-8efe40fc31cd" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:56:18 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "9e511b9a-0342-4d81-a553-2f9992513a9b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14759" + ], + "x-ms-correlation-request-id": [ + "77e9eb1a-b24e-4ae5-b62d-59fd875aafbf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005634Z:77e9eb1a-b24e-4ae5-b62d-59fd875aafbf" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:56:33 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "e5d5f83e-5bdc-40dd-b79e-aba4ee156c1c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14755" + ], + "x-ms-correlation-request-id": [ + "8bbe0b67-723e-4e14-bab3-817fa62600e3" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005650Z:8bbe0b67-723e-4e14-bab3-817fa62600e3" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:56:50 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "40277611-cc2c-4209-9b69-d83f56e531b4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14754" + ], + "x-ms-correlation-request-id": [ + "c2f466fd-172c-41cd-9d8a-3d07586a1180" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005707Z:c2f466fd-172c-41cd-9d8a-3d07586a1180" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:57:07 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "3cd00821-8219-43cb-8770-eeffba63d6e1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14753" + ], + "x-ms-correlation-request-id": [ + "dce5d768-edb3-4892-b3e4-54e56ab09272" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005723Z:dce5d768-edb3-4892-b3e4-54e56ab09272" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:57:23 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "310e31a7-196d-4fc7-b041-4c0d560ba452" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14752" + ], + "x-ms-correlation-request-id": [ + "ac231546-d17e-40eb-88d2-40e89fa3bd13" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005740Z:ac231546-d17e-40eb-88d2-40e89fa3bd13" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:57:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "d6167da0-aa59-45ff-b2b8-a74dd3e858e6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14749" + ], + "x-ms-correlation-request-id": [ + "6145ce64-6386-4d9c-a33f-aa29529034dd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005756Z:6145ce64-6386-4d9c-a33f-aa29529034dd" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:57:56 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b82392e2-8d3a-4d68-8ecd-4bd37317c47a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14748" + ], + "x-ms-correlation-request-id": [ + "879df2c3-2d0a-4319-8147-54284a7cbd1d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005812Z:879df2c3-2d0a-4319-8147-54284a7cbd1d" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:58:12 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "2a1ff937-b7ab-41f0-be61-01e68794254e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14747" + ], + "x-ms-correlation-request-id": [ + "9631c28c-30a9-4a63-a6f5-daff02705d97" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005829Z:9631c28c-30a9-4a63-a6f5-daff02705d97" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:58:28 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRecoverRequest\",\r\n \"startTime\": \"2016-02-23T00:42:07.17Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "5d05c9fa-d6e3-48ef-b3f8-8db3a87a07a8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/azureAsyncOperation/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14746" + ], + "x-ms-correlation-request-id": [ + "1b176d61-8eb4-4803-9e01-10a94c0a84cf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005845Z:1b176d61-8eb4-4803-9e01-10a94c0a84cf" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:58:45 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored/operationResults/6b868992-ae8f-45c4-8964-efb9a16c97f5?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlNxbC9zZXJ2ZXJzL2hjaHVuZy10ZXN0c3ZyMi9kYXRhYmFzZXMvcG93ZXJzaGVsbF9kYl9nZW9yZXN0b3JlZC9vcGVyYXRpb25SZXN1bHRzLzZiODY4OTkyLWFlOGYtNDVjNC04OTY0LWVmYjlhMTZjOTdmNT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "461cfda8-0f0b-4086-8a39-927b442d6e54" + ] + }, + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test2/providers/Microsoft.Sql/servers/hchung-testsvr2/databases/powershell_db_georestored\",\r\n \"name\": \"powershell_db_georestored\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"SouthEast Asia\",\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"ac6f66cb-cc8d-4167-b64f-beb5c60019e4\",\r\n \"edition\": \"Standard\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"S0\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"268435456000\",\r\n \"creationDate\": \"2016-02-23T00:42:08.593Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": null,\r\n \"defaultSecondaryLocation\": \"North Europe\",\r\n \"earliestRestoreDate\": \"2016-02-23T01:08:20.09Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "863" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "0ceb4ad5-18b5-4a2a-9f97-d234feea5b47" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14741" + ], + "x-ms-correlation-request-id": [ + "2db7a9c2-1e9e-4825-8aaf-0497fb8a1739" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160223T005902Z:2db7a9c2-1e9e-4825-8aaf-0497fb8a1739" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 23 Feb 2016 00:59:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0a496442-635f-4974-bda4-2d339b9a6b3c", + "TenantId": "b98ac74f-3f88-40dd-a91d-9d48aab4bf1f", + "Domain": "aad18.ccsctp.net", + "User": "admin@aad18.ccsctp.net" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestorePointInTimeBackup.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestorePointInTimeBackup.json new file mode 100644 index 000000000000..81396f21ed42 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.DatabaseBackupTests/TestRestorePointInTimeBackup.json @@ -0,0 +1,758 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourcegroups/hchung-test?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlZ3JvdXBzL2hjaHVuZy10ZXN0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test\",\r\n \"name\": \"hchung-test\",\r\n \"location\": \"southeastasia\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "182" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14958" + ], + "x-ms-request-id": [ + "b2ee2554-f200-404c-954a-d4b48e93cf1d" + ], + "x-ms-correlation-request-id": [ + "b2ee2554-f200-404c-954a-d4b48e93cf1d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003231Z:b2ee2554-f200-404c-954a-d4b48e93cf1d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:32:30 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnI/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "e8795202-336b-42a6-8a2b-e2ff724f5f35" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr\",\r\n \"name\": \"hchung-testsvr\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v2.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"hchung-testsvr.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"hchung\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"2.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "10b3f636-26de-43fc-ac36-df13996e2014" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14965" + ], + "x-ms-correlation-request-id": [ + "48d09521-1609-4739-98e5-6f9bca6ede0c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003232Z:48d09521-1609-4739-98e5-6f9bca6ede0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:32:31 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnI/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "09a83819-214e-409a-b2b5-aaff5b4b46a5" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr\",\r\n \"name\": \"hchung-testsvr\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v2.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"hchung-testsvr.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"hchung\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"2.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "b3fe70d3-36d3-4152-bb91-ec648b58063b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14962" + ], + "x-ms-correlation-request-id": [ + "59366391-817c-4d41-bf38-b6d64778c3b7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003234Z:59366391-817c-4d41-bf38-b6d64778c3b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:32:33 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/hchung-testdb?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL2hjaHVuZy10ZXN0ZGI/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "20b4fa47-32bf-43c8-a8a1-3f886ef0634b" + ] + }, + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/hchung-testdb\",\r\n \"name\": \"hchung-testdb\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v2.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"23704415-8913-4501-b7ce-e4cc92eba3e0\",\r\n \"edition\": \"Standard\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"S0\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"268435456000\",\r\n \"creationDate\": \"2016-02-19T23:18:17.883Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": null,\r\n \"defaultSecondaryLocation\": \"West Europe\",\r\n \"earliestRestoreDate\": \"2016-02-19T23:19:17.883Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "790" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "8e76cd9e-5e8a-4b3a-a27a-ecf5fc0377c2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14964" + ], + "x-ms-correlation-request-id": [ + "123b548c-c81a-41cc-a0e8-18a13ab59210" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003233Z:123b548c-c81a-41cc-a0e8-18a13ab59210" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:32:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/hchung-testdb?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL2hjaHVuZy10ZXN0ZGI/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "a4944c52-06be-4730-b189-8f23cdbf3fac" + ] + }, + "ResponseBody": "{\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/hchung-testdb\",\r\n \"name\": \"hchung-testdb\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v2.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"23704415-8913-4501-b7ce-e4cc92eba3e0\",\r\n \"edition\": \"Standard\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"S0\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"268435456000\",\r\n \"creationDate\": \"2016-02-19T23:18:17.883Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": null,\r\n \"defaultSecondaryLocation\": \"West Europe\",\r\n \"earliestRestoreDate\": \"2016-02-19T23:19:17.883Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "790" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "23dc35f3-dd86-4219-bb5a-7aeabae23a31" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14963" + ], + "x-ms-correlation-request-id": [ + "5064a33c-1ee5-4d02-bacc-8bca224b4144" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003234Z:5064a33c-1ee5-4d02-bacc-8bca224b4144" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:32:33 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL3Bvd2Vyc2hlbGxfZGJfcmVzdG9yZWQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"edition\": \"Standard\",\r\n \"sourceDatabaseId\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/hchung-testdb\",\r\n \"createMode\": \"PointInTimeRestore\",\r\n \"restorePointInTime\": \"2016-02-19T16:06:00-08:00\"\r\n },\r\n \"location\": \"North Europe\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "376" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4c83d3b2-4025-4dd2-81e9-71c4ed259563" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DATABASE RESTORE\",\r\n \"startTime\": \"2016-02-20T00:32:36.094Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "70" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "59093894-e39d-480c-8fce-748cf5d6d20e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "d0453023-d333-46f5-b8dd-010f83623fd8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003236Z:d0453023-d333-46f5-b8dd-010f83623fd8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:32:35 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL3Bvd2Vyc2hlbGxfZGJfcmVzdG9yZWQvb3BlcmF0aW9uUmVzdWx0cy8zMTAyZTE1ZS1hZWJhLTRjMTAtYmNlNi1iODEyMTk3ZDM3MTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4c83d3b2-4025-4dd2-81e9-71c4ed259563" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DATABASE RESTORE\",\r\n \"startTime\": \"2016-02-20T00:32:36.017Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "70" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "11ba885e-fe6b-4060-a955-d434ad6e1394" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14961" + ], + "x-ms-correlation-request-id": [ + "ddef6f53-335f-4037-8f05-a404dd21463b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003237Z:ddef6f53-335f-4037-8f05-a404dd21463b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:32:36 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL3Bvd2Vyc2hlbGxfZGJfcmVzdG9yZWQvb3BlcmF0aW9uUmVzdWx0cy8zMTAyZTE1ZS1hZWJhLTRjMTAtYmNlNi1iODEyMTk3ZDM3MTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4c83d3b2-4025-4dd2-81e9-71c4ed259563" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DATABASE RESTORE\",\r\n \"startTime\": \"2016-02-20T00:32:36.017Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "70" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "00316f67-557f-4b4b-996d-611d1fbe4408" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14960" + ], + "x-ms-correlation-request-id": [ + "a6c31663-e0c7-4290-9887-5f8451ed4fa9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003308Z:a6c31663-e0c7-4290-9887-5f8451ed4fa9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:33:08 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL3Bvd2Vyc2hlbGxfZGJfcmVzdG9yZWQvb3BlcmF0aW9uUmVzdWx0cy8zMTAyZTE1ZS1hZWJhLTRjMTAtYmNlNi1iODEyMTk3ZDM3MTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4c83d3b2-4025-4dd2-81e9-71c4ed259563" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DATABASE RESTORE\",\r\n \"startTime\": \"2016-02-20T00:32:36.017Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "70" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "cf44d17b-75d7-4336-8352-8c840c4dc2a9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14959" + ], + "x-ms-correlation-request-id": [ + "915ffb55-6b24-4011-bb9e-3270be564531" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003324Z:915ffb55-6b24-4011-bb9e-3270be564531" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:33:23 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL3Bvd2Vyc2hlbGxfZGJfcmVzdG9yZWQvb3BlcmF0aW9uUmVzdWx0cy8zMTAyZTE1ZS1hZWJhLTRjMTAtYmNlNi1iODEyMTk3ZDM3MTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4c83d3b2-4025-4dd2-81e9-71c4ed259563" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DATABASE RESTORE\",\r\n \"startTime\": \"2016-02-20T00:32:36.017Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "70" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "110a41a4-d87d-49ad-b3ca-02caad53539c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14958" + ], + "x-ms-correlation-request-id": [ + "64a291c4-f8e7-4ade-a477-6bc0aceba677" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003340Z:64a291c4-f8e7-4ade-a477-6bc0aceba677" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:33:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL3Bvd2Vyc2hlbGxfZGJfcmVzdG9yZWQvb3BlcmF0aW9uUmVzdWx0cy8zMTAyZTE1ZS1hZWJhLTRjMTAtYmNlNi1iODEyMTk3ZDM3MTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4c83d3b2-4025-4dd2-81e9-71c4ed259563" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DATABASE RESTORE\",\r\n \"startTime\": \"2016-02-20T00:32:36.017Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "70" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "15bb7b8b-f816-4957-b4ba-08de0f422ba9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14957" + ], + "x-ms-correlation-request-id": [ + "9e96a0d0-98dc-483b-9b36-fc2b7cce25bd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003355Z:9e96a0d0-98dc-483b-9b36-fc2b7cce25bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:33:55 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL3Bvd2Vyc2hlbGxfZGJfcmVzdG9yZWQvb3BlcmF0aW9uUmVzdWx0cy8zMTAyZTE1ZS1hZWJhLTRjMTAtYmNlNi1iODEyMTk3ZDM3MTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4c83d3b2-4025-4dd2-81e9-71c4ed259563" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DATABASE RESTORE\",\r\n \"startTime\": \"2016-02-20T00:32:36.017Z\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "70" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b1ba93c7-be31-433e-bd7c-ee288939d031" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14956" + ], + "x-ms-correlation-request-id": [ + "6b0ca03b-1cc6-445a-ab95-d13641f31036" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003411Z:6b0ca03b-1cc6-445a-ab95-d13641f31036" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:34:10 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored/operationResults/3102e15e-aeba-4c10-bce6-b812197d3711?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMGE0OTY0NDItNjM1Zi00OTc0LWJkYTQtMmQzMzliOWE2YjNjL3Jlc291cmNlR3JvdXBzL2hjaHVuZy10ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL3NlcnZlcnMvaGNodW5nLXRlc3RzdnIvZGF0YWJhc2VzL3Bvd2Vyc2hlbGxfZGJfcmVzdG9yZWQvb3BlcmF0aW9uUmVzdWx0cy8zMTAyZTE1ZS1hZWJhLTRjMTAtYmNlNi1iODEyMTk3ZDM3MTE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4c83d3b2-4025-4dd2-81e9-71c4ed259563" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0a496442-635f-4974-bda4-2d339b9a6b3c/resourceGroups/hchung-test/providers/Microsoft.Sql/servers/hchung-testsvr/databases/powershell_db_restored\",\r\n \"name\": \"powershell_db_restored\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v2.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"ab70d59d-5460-4db8-bb81-f67b3d3ace50\",\r\n \"edition\": \"Standard\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"S0\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"268435456000\",\r\n \"creationDate\": \"2016-02-20T00:33:03.3Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": null,\r\n \"defaultSecondaryLocation\": \"West Europe\",\r\n \"earliestRestoreDate\": \"2016-02-20T00:34:03.3Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "794" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "378ec83f-a195-4b5b-8348-12cf428820e7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14954" + ], + "x-ms-correlation-request-id": [ + "f98f6efb-1f5e-45af-ae31-2b69438fb2e2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160220T003427Z:f98f6efb-1f5e-45af-ae31-2b69438fb2e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Sat, 20 Feb 2016 00:34:27 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0a496442-635f-4974-bda4-2d339b9a6b3c", + "TenantId": "b98ac74f-3f88-40dd-a91d-9d48aab4bf1f", + "Domain": "aad18.ccsctp.net", + "User": "admin@aad18.ccsctp.net" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj index df01c766c748..2e355c6e07bf 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj +++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj @@ -51,6 +51,13 @@ false + + + + + + + @@ -290,7 +297,7 @@ False - ..\..\..\packages\Microsoft.Azure.Management.Sql.0.44.0-prerelease\lib\net40\Microsoft.Azure.Management.Sql.dll + ..\..\..\packages\Microsoft.Azure.Management.Sql.0.45.0-prerelease\lib\net40\Microsoft.Azure.Management.Sql.dll True diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDatabaseGeoBackupCmdletBase.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDatabaseGeoBackupCmdletBase.cs new file mode 100644 index 000000000000..b36c08b56e4b --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDatabaseGeoBackupCmdletBase.cs @@ -0,0 +1,59 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Common.Authentication.Models; +using Microsoft.Azure.Commands.Sql.Backup.Model; +using Microsoft.Azure.Commands.Sql.Backup.Services; +using Microsoft.Azure.Commands.Sql.Common; +using Microsoft.Azure.Commands.Sql.Database.Model; +using Microsoft.Azure.Commands.Sql.Database.Services; + +namespace Microsoft.Azure.Commands.Sql.Backup.Cmdlet +{ + public abstract class AzureSqlDatabaseGeoBackupCmdletBase + : AzureSqlCmdletBase, AzureSqlDatabaseBackupAdapter> + { + /// + /// Gets or sets the name of the database server to use. + /// + [Parameter(Mandatory = true, + ValueFromPipelineByPropertyName = true, + Position = 1, + HelpMessage = "The name of the Azure SQL Server the database is in.")] + [ValidateNotNullOrEmpty] + public string ServerName { get; set; } + + /// + /// Gets or sets the name of the database to use. + /// + [Parameter(Mandatory = false, + ValueFromPipelineByPropertyName = true, + Position = 2, + HelpMessage = "The name of the Azure SQL Database to retrieve geo backups for.")] + [ValidateNotNullOrEmpty] + public string DatabaseName { get; set; } + + /// + /// Initializes the adapter + /// + /// The subscription to operate on + /// + protected override AzureSqlDatabaseBackupAdapter InitModelAdapter(AzureSubscription subscription) + { + return new AzureSqlDatabaseBackupAdapter(DefaultProfile.Context); + } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDatabaseRestorePointCmdletBase.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDatabaseRestorePointCmdletBase.cs index 717d3e5bc219..6d39b58bca7d 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDatabaseRestorePointCmdletBase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDatabaseRestorePointCmdletBase.cs @@ -32,7 +32,7 @@ public abstract class AzureSqlDatabaseRestorePointCmdletBase [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, Position = 1, - HelpMessage = "The name of the Azure SQL Database Server the database is in.")] + HelpMessage = "The name of the Azure SQL Server the database is in.")] [ValidateNotNullOrEmpty] public string ServerName { get; set; } diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDeletedDatabaseBackupCmdletBase.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDeletedDatabaseBackupCmdletBase.cs new file mode 100644 index 000000000000..26efa6c64c66 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/AzureSqlDeletedDatabaseBackupCmdletBase.cs @@ -0,0 +1,70 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Common.Authentication.Models; +using Microsoft.Azure.Commands.Sql.Backup.Model; +using Microsoft.Azure.Commands.Sql.Backup.Services; +using Microsoft.Azure.Commands.Sql.Common; +using Microsoft.Azure.Commands.Sql.Database.Model; +using Microsoft.Azure.Commands.Sql.Database.Services; + +namespace Microsoft.Azure.Commands.Sql.Backup.Cmdlet +{ + public abstract class AzureSqlDeletedDatabaseBackupCmdletBase + : AzureSqlCmdletBase, AzureSqlDatabaseBackupAdapter> + { + /// + /// Gets or sets the name of the database server to use. + /// + [Parameter(Mandatory = true, + ValueFromPipelineByPropertyName = true, + Position = 1, + HelpMessage = "The name of the Azure SQL Server the database is in.")] + [ValidateNotNullOrEmpty] + public string ServerName { get; set; } + + /// + /// Gets or sets the name of the database to use. + /// + [Parameter(Mandatory = false, + ValueFromPipelineByPropertyName = true, + Position = 2, + HelpMessage = "The name of the Azure SQL Database to retrieve backups for.")] + [ValidateNotNullOrEmpty] + public string DatabaseName { get; set; } + + /// + /// Gets or sets the deletion date of the database to use. + /// + [Parameter(Mandatory = false, + ValueFromPipelineByPropertyName = true, + Position = 3, + HelpMessage = "The deletion date of the Azure SQL Database to retrieve backups for, with millisecond precision (e.g. 2016-02-23T00:21:22.847Z)")] + [ValidateNotNullOrEmpty] + public DateTime? DeletionDate { get; set; } + + /// + /// Initializes the adapter + /// + /// The subscription to operate on + /// + protected override AzureSqlDatabaseBackupAdapter InitModelAdapter(AzureSubscription subscription) + { + return new AzureSqlDatabaseBackupAdapter(DefaultProfile.Context); + } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureRMSqlDatabaseGeoBackup.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureRMSqlDatabaseGeoBackup.cs new file mode 100644 index 000000000000..dab6f5da580e --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureRMSqlDatabaseGeoBackup.cs @@ -0,0 +1,68 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Linq; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Sql.Backup.Model; +using Microsoft.Azure.Commands.Sql.Database.Model; + +namespace Microsoft.Azure.Commands.Sql.Backup.Cmdlet +{ + [Cmdlet(VerbsCommon.Get, "AzureRMSqlDatabaseGeoBackup", + ConfirmImpact = ConfirmImpact.None)] + public class GetAzureRMSqlDatabaseGeoBackup : AzureSqlDatabaseGeoBackupCmdletBase + { + /// + /// Get the entities from the service + /// + /// The list of entities + protected override IEnumerable GetEntity() + { + ICollection results; + + if (MyInvocation.BoundParameters.ContainsKey("DatabaseName")) + { + results = new List(); + results.Add(ModelAdapter.GetGeoBackup(this.ResourceGroupName, this.ServerName, this.DatabaseName)); + } + else + { + results = ModelAdapter.ListGeoBackups(this.ResourceGroupName, this.ServerName); + } + + return results; + } + + /// + /// No user input to apply to model + /// + /// Model retrieved from service + /// The model that was passed in + protected override IEnumerable ApplyUserInputToModel(IEnumerable model) + { + return model; + } + + /// + /// No changes to persist to server + /// + /// The output of apply user input to model + /// The input entity + protected override IEnumerable PersistChanges(IEnumerable entity) + { + return entity; + } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureRMSqlDeletedDatabaseBackup.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureRMSqlDeletedDatabaseBackup.cs new file mode 100644 index 000000000000..ad53924307ab --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/GetAzureRMSqlDeletedDatabaseBackup.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Linq; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Sql.Backup.Model; +using Microsoft.Azure.Commands.Sql.Database.Model; + +namespace Microsoft.Azure.Commands.Sql.Backup.Cmdlet +{ + [Cmdlet(VerbsCommon.Get, "AzureRMSqlDeletedDatabaseBackup", + ConfirmImpact = ConfirmImpact.None)] + public class GetAzureRMSqlDeletedDatabaseBackup : AzureSqlDeletedDatabaseBackupCmdletBase + { + /// + /// Get the entities from the service + /// + /// The list of entities + protected override IEnumerable GetEntity() + { + ICollection results; + + if (MyInvocation.BoundParameters.ContainsKey("DatabaseName")) + { + if (MyInvocation.BoundParameters.ContainsKey("DeletionDate")) + { + results = new List(); + // The server expects a deleted database entity ID that consists of the database name and deletion time as a windows file time separated by a comma. + results.Add(ModelAdapter.GetDeletedDatabaseBackup(this.ResourceGroupName, this.ServerName, this.DatabaseName + "," + this.DeletionDate.Value.ToFileTimeUtc().ToString())); + } + else + { + results = ModelAdapter.ListDeletedDatabaseBackups(this.ResourceGroupName, this.ServerName).Where(backup => backup.DatabaseName == DatabaseName).ToList(); + } + } + else + { + results = ModelAdapter.ListDeletedDatabaseBackups(this.ResourceGroupName, this.ServerName); + } + + return results; + } + + /// + /// No user input to apply to model + /// + /// Model retrieved from service + /// The model that was passed in + protected override IEnumerable ApplyUserInputToModel(IEnumerable model) + { + return model; + } + + /// + /// No changes to persist to server + /// + /// The output of apply user input to model + /// The input entity + protected override IEnumerable PersistChanges(IEnumerable entity) + { + return entity; + } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/RestoreAzureRMSqlDatabase.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/RestoreAzureRMSqlDatabase.cs new file mode 100644 index 000000000000..66be687ea18f --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Cmdlet/RestoreAzureRMSqlDatabase.cs @@ -0,0 +1,184 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Common.Authentication.Models; +using Microsoft.Azure.Commands.Sql.Backup.Model; +using Microsoft.Azure.Commands.Sql.Backup.Services; +using Microsoft.Azure.Commands.Sql.Common; +using Microsoft.Azure.Commands.Sql.Database.Model; +using Microsoft.Azure.Commands.Sql.Database.Services; + +namespace Microsoft.Azure.Commands.Sql.Backup.Cmdlet +{ + [Cmdlet(VerbsData.Restore, "AzureRmSqlDatabase", + ConfirmImpact = ConfirmImpact.None)] + public class RestoreAzureRmSqlDatabase + : AzureSqlCmdletBase + { + + private const string FromPointInTimeBackupSetName = "FromPointInTimeBackup"; + private const string FromDeletedDatabaseBackupSetName = "FromDeletedDatabaseBackup"; + private const string FromGeoBackupSetName = "FromGeoBackup"; + + /// + /// Gets or sets flag indicating a restore from a point-in-time backup. + /// + [Parameter( + ParameterSetName = FromPointInTimeBackupSetName, + Mandatory = true, + HelpMessage = "Restore from a point-in-time backup.")] + public SwitchParameter FromPointInTimeBackup { get; set; } + + /// + /// Gets or sets flag indicating a restore of a deleted database. + /// + [Parameter( + ParameterSetName = FromDeletedDatabaseBackupSetName, + Mandatory = true, + HelpMessage = "Restore a deleted database.")] + public SwitchParameter FromDeletedDatabaseBackup { get; set; } + + /// + /// Gets or sets flag indicating a geo-restore (recover) request + /// + [Parameter( + ParameterSetName = FromGeoBackupSetName, + Mandatory = true, + HelpMessage = "Restore from a geo backup.")] + public SwitchParameter FromGeoBackup { get; set; } + + /// + /// Gets or sets the point in time to restore the database to + /// + [Parameter( + ParameterSetName = FromPointInTimeBackupSetName, + Mandatory = true, + HelpMessage = "The point in time to restore the database to.")] + public DateTime PointInTime { get; set; } + + /// + /// Gets or sets the deletion time of the deleted database to restore. + /// + [Parameter( + ParameterSetName = FromDeletedDatabaseBackupSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The deletion date of the deleted database to restore.")] + public DateTime DeletionDate { get; set; } + + /// + /// Gets or sets the name of the database server to use. + /// + [Parameter(Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The name of the Azure SQL Server to restore the database to.")] + [ValidateNotNullOrEmpty] + public string ServerName { get; set; } + + /// + /// Gets or sets the name of the target database to restore to + /// + [Parameter(Mandatory = true, + HelpMessage = "The name of the target database to restore to.")] + public string TargetDatabaseName { get; set; } + + /// + /// The resource ID of the database to restore (deleted DB, geo backup DB, live DB) + /// + [Parameter(Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource ID of the database to restore.")] + public string ResourceId { get; set; } + + /// + /// Gets or sets the target edition of the database to restore + /// + [Parameter(Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The database edition to use for the restored database.")] + public DatabaseEdition Edition { get; set; } + + /// + /// Gets or sets the SLO of the database to restore + /// + [Parameter(Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The service level objective to use for the restored database.")] + public string ServiceObjectiveName { get; set; } + + /// + /// Gets or sets the target elastic pool name + /// + [Parameter(Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The name of the elastic pool into which the database should be restored.")] + public string ElasticPoolName { get; set; } + + /// + /// Initializes the adapter + /// + /// The subscription ID to operate on + /// + protected override AzureSqlDatabaseBackupAdapter InitModelAdapter(AzureSubscription subscription) + { + return new AzureSqlDatabaseBackupAdapter(DefaultProfile.Context); + } + + /// + /// Send the restore request + /// + /// The list of entities + protected override AzureSqlDatabaseModel GetEntity() + { + AzureSqlDatabaseModel model; + DateTime restorePointInTime = DateTime.MinValue; + string createMode; + string location = ModelAdapter.GetServerLocation(ResourceGroupName, ServerName); + switch (ParameterSetName) + { + case FromPointInTimeBackupSetName: + createMode = "PointInTimeRestore"; + restorePointInTime = PointInTime; + break; + case FromDeletedDatabaseBackupSetName: + createMode = "Restore"; + // Use DeletionDate as RestorePointInTime for restore of deleted DB + restorePointInTime = DeletionDate; + break; + case FromGeoBackupSetName: + createMode = "Recovery"; + break; + default: + throw new ArgumentException("No ParameterSet name"); + } + + model = new AzureSqlDatabaseModel() + { + Location = location, + ResourceGroupName = ResourceGroupName, + ServerName = ServerName, + DatabaseName = TargetDatabaseName, + Edition = Edition, + RequestedServiceObjectiveName = ServiceObjectiveName, + ElasticPoolName = ElasticPoolName, + CreateMode = createMode + }; + + return ModelAdapter.RestoreDatabase(this.ResourceGroupName, restorePointInTime, ResourceId, model); + } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Model/AzureSqlDatabaseGeoBackupModel.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Model/AzureSqlDatabaseGeoBackupModel.cs new file mode 100644 index 000000000000..c62ceb034f60 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Model/AzureSqlDatabaseGeoBackupModel.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Sql.Backup.Model +{ + /// + /// Represents an Azure Sql Database geo backup + /// + public class AzureSqlDatabaseGeoBackupModel + { + /// + /// Gets or sets the name of the resource group + /// + public string ResourceGroupName { get; set; } + + /// + /// Gets or sets the name of the server + /// + public string ServerName { get; set; } + + /// + /// Gets or sets the name of the database + /// + public string DatabaseName { get; set; } + + /// + /// Gets or sets the edition of the backup + /// + public string Edition { get; set; } + + /// + /// Gets or sets a unique ID incorporating name and deletion date + /// + public string EntityId { get; set; } + + /// + /// Gets or sets UTC time of the last available backup + /// + public DateTime LastAvailableBackupDate { get; set; } + + /// + /// Gets or sets the resource ID + /// + public string ResourceId { get; set; } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Model/AzureSqlDeletedDatabaseBackupModel.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Model/AzureSqlDeletedDatabaseBackupModel.cs new file mode 100644 index 000000000000..f7b4355ba504 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Model/AzureSqlDeletedDatabaseBackupModel.cs @@ -0,0 +1,85 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Sql.Backup.Model +{ + /// + /// Represents an Azure Sql Database restorable deleted database + /// + public class AzureSqlDeletedDatabaseBackupModel + { + /// + /// Gets or sets the name of the resource group + /// + public string ResourceGroupName { get; set; } + + /// + /// Gets or sets the name of the server + /// + public string ServerName { get; set; } + + /// + /// Gets or sets the name of the database + /// + public string DatabaseName { get; set; } + + /// + /// Gets or sets the edition of the backup + /// + public string Edition { get; set; } + + /// + /// Gets or sets maxSize in bytes + /// + public long MaxSizeBytes { get; set; } + + /// + /// Gets or sets the current service level objective name for the database. + /// + public string ServiceLevelObjective { get; set; } + + /// + /// Gets or sets the elastic pool name for the database. + /// + public string ElasticPoolName { get; set; } + + /// + /// Gets or sets creation Date + /// + public DateTime CreationDate { get; set; } + + /// + /// Gets or sets deletion Date + /// + public DateTime DeletionDate { get; set; } + + /// + /// Gets or sets earliestRestoreDate + /// + public DateTime? RecoveryPeriodStartDate { get; set; } + + /// + /// Gets or sets a unique ID incorporating name and deletion date + /// + public string EntityId { get; set; } + + /// + /// Gets or sets the resource ID + /// + public string ResourceId { get; set; } + } +} diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupAdapter.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupAdapter.cs index b0a9816a63ed..21f4d243ecf1 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupAdapter.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupAdapter.cs @@ -84,8 +84,161 @@ internal IEnumerable ListRestorePoints(string RestorePointType = restorePoint.Properties.RestorePointType, RestorePointCreationDate = restorePoint.Properties.RestorePointCreationDate, EarliestRestoreDate = restorePoint.Properties.EarliestRestoreDate - }; + }; }).ToList(); } + + /// + /// Lists the recoverable databases (geo backups) for a given Sql Azure Server. + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// List of geo backups + internal ICollection ListGeoBackups(string resourceGroup, string serverName) + { + var resp = Communicator.ListGeoBackups(resourceGroup, serverName, Util.GenerateTracingId()); + return resp.Select((geoBackup) => + { + return new AzureSqlDatabaseGeoBackupModel() + { + ResourceGroupName = resourceGroup, + DatabaseName = geoBackup.Name, + ServerName = serverName, + ResourceId = geoBackup.Id, + Edition = geoBackup.Properties.Edition, + LastAvailableBackupDate = geoBackup.Properties.LastAvailableBackupDate + }; + }).ToList(); + } + + /// + /// Lists the restorable deleted databases for a given Sql Azure Server. + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// List of restorable deleted databases + internal ICollection ListDeletedDatabaseBackups(string resourceGroup, string serverName) + { + var resp = Communicator.ListDeletedDatabaseBackups(resourceGroup, serverName, Util.GenerateTracingId()); + return resp.Select((deletedDatabaseBackup) => + { + return new AzureSqlDeletedDatabaseBackupModel() + { + ResourceGroupName = resourceGroup, + ServerName = serverName, + DatabaseName = deletedDatabaseBackup.Properties.DatabaseName, + Edition = deletedDatabaseBackup.Properties.Edition, + MaxSizeBytes = deletedDatabaseBackup.Properties.MaxSizeBytes, + ServiceLevelObjective = deletedDatabaseBackup.Properties.ServiceLevelObjective, + ElasticPoolName = deletedDatabaseBackup.Properties.ElasticPoolName, + CreationDate = deletedDatabaseBackup.Properties.CreationDate, + DeletionDate = deletedDatabaseBackup.Properties.DeletionDate, + RecoveryPeriodStartDate = deletedDatabaseBackup.Properties.EarliestRestoreDate, + ResourceId = deletedDatabaseBackup.Id + }; + }).ToList(); + } + + /// + /// Get a recoverable databases (geo backup) for a given Sql Azure Database. + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// The name of the Azure SQL Database + /// List of geo backups + internal AzureSqlDatabaseGeoBackupModel GetGeoBackup(string resourceGroup, string serverName, string databaseName) + { + var geoBackup = Communicator.GetGeoBackup(resourceGroup, serverName, databaseName, Util.GenerateTracingId()); + return new AzureSqlDatabaseGeoBackupModel() + { + ResourceGroupName = resourceGroup, + DatabaseName = geoBackup.Name, + ServerName = serverName, + ResourceId = geoBackup.Id, + Edition = geoBackup.Properties.Edition, + LastAvailableBackupDate = geoBackup.Properties.LastAvailableBackupDate + }; + } + + /// + /// Get a restorable deleted databases for a given Sql Azure Database. + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// The name of the Azure SQL Database + /// List of restorable deleted databases + internal AzureSqlDeletedDatabaseBackupModel GetDeletedDatabaseBackup(string resourceGroup, string serverName, string databaseName) + { + var deletedDatabaseBackup = Communicator.GetDeletedDatabaseBackup(resourceGroup, serverName, databaseName, Util.GenerateTracingId()); + return new AzureSqlDeletedDatabaseBackupModel() + { + ResourceGroupName = resourceGroup, + ServerName = serverName, + DatabaseName = deletedDatabaseBackup.Properties.DatabaseName, + Edition = deletedDatabaseBackup.Properties.Edition, + MaxSizeBytes = deletedDatabaseBackup.Properties.MaxSizeBytes, + ServiceLevelObjective = deletedDatabaseBackup.Properties.ServiceLevelObjective, + ElasticPoolName = deletedDatabaseBackup.Properties.ElasticPoolName, + CreationDate = deletedDatabaseBackup.Properties.CreationDate, + DeletionDate = deletedDatabaseBackup.Properties.DeletionDate, + RecoveryPeriodStartDate = deletedDatabaseBackup.Properties.EarliestRestoreDate, + ResourceId = deletedDatabaseBackup.Id + }; + } + + /// + /// Restore a given Sql Azure Database + /// + /// The name of the resource group + /// A point to time to restore to (for PITR and dropped DB restore) + /// The resource ID of the DB to restore (live, geo backup, or deleted database) + /// An object modeling the database to create via restore + /// Parameters describing the database restore request + /// Restored database object + internal AzureSqlDatabaseModel RestoreDatabase(string resourceGroup, DateTime restorePointInTime, string resourceId, AzureSqlDatabaseModel model) + { + DatabaseCreateOrUpdateParameters parameters = new DatabaseCreateOrUpdateParameters() + { + Location = model.Location, + Properties = new DatabaseCreateOrUpdateProperties() + { + Edition = model.Edition == DatabaseEdition.None ? null : model.Edition.ToString(), + RequestedServiceObjectiveId = model.RequestedServiceObjectiveId, + ElasticPoolName = model.ElasticPoolName, + RequestedServiceObjectiveName = model.RequestedServiceObjectiveName, + SourceDatabaseId = resourceId, + RestorePointInTime = restorePointInTime, + CreateMode = model.CreateMode + } + }; + var resp = Communicator.RestoreDatabase(resourceGroup, model.ServerName, model.DatabaseName, Util.GenerateTracingId(), parameters); + return AzureSqlDatabaseAdapter.CreateDatabaseModelFromResponse(resourceGroup, model.ServerName, resp); + } + + /// + /// Gets the Location of the server. + /// + /// The resource group the server is in + /// The name of the server + /// + public string GetServerLocation(string resourceGroupName, string serverName) + { + AzureSqlServerAdapter serverAdapter = new AzureSqlServerAdapter(Context); + var server = serverAdapter.GetServer(resourceGroupName, serverName); + return server.Location; + } + + /// + /// Gets a SQL database by name + /// + /// The resource group the database is in + /// The name of the server + /// The name of the database + /// + public AzureSqlDatabaseModel GetDatabase(string resourceGroupName, string serverName, string databaseName) + { + AzureSqlDatabaseAdapter databaseAdapter = new AzureSqlDatabaseAdapter(Context); + return databaseAdapter.GetDatabase(resourceGroupName, serverName, databaseName); + } } } diff --git a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupCommunicator.cs b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupCommunicator.cs index e9d1a89260be..40a28c1e2f27 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupCommunicator.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database Backup/Services/AzureSqlDatabaseBackupCommunicator.cs @@ -73,6 +73,65 @@ public AzureSqlDatabaseBackupCommunicator(AzureContext context) return GetCurrentSqlClient(clientRequestId).DatabaseBackup.ListRestorePoints(resourceGroupName, serverName, databaseName).RestorePoints; } + /// + /// Lists the geo backups for a given Sql Azure Server + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// List of restore points + public IList ListGeoBackups(string resourceGroupName, string serverName, string clientRequestId) + { + return GetCurrentSqlClient(clientRequestId).DatabaseBackup.ListGeoBackups(resourceGroupName, serverName).GeoBackups; + } + + /// + /// Lists the restorable deleted databases for a given Sql Azure Server + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// List of restore points + public IList ListDeletedDatabaseBackups(string resourceGroupName, string serverName, string clientRequestId) + { + return GetCurrentSqlClient(clientRequestId).DatabaseBackup.ListDeletedDatabaseBackups(resourceGroupName, serverName).DeletedDatabaseBackups; + } + + /// + /// Get a geo backup for a given Sql Azure Database + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// The name of the Azure SQL database + /// List of restore points + public Management.Sql.Models.GeoBackup GetGeoBackup(string resourceGroupName, string serverName, string databaseName, string clientRequestId) + { + return GetCurrentSqlClient(clientRequestId).DatabaseBackup.GetGeoBackup(resourceGroupName, serverName, databaseName).GeoBackup; + } + + /// + /// Get a restorable deleted database for a given Sql Azure Database + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// The name of the Azure SQL database + /// List of restore points + public Management.Sql.Models.DeletedDatabaseBackup GetDeletedDatabaseBackup(string resourceGroupName, string serverName, string databaseName, string clientRequestId) + { + return GetCurrentSqlClient(clientRequestId).DatabaseBackup.GetDeletedDatabaseBackup(resourceGroupName, serverName, databaseName).DeletedDatabaseBackup; + } + + /// + /// Restore a given Sql Azure Database + /// + /// The name of the resource group + /// The name of the Azure SQL Server + /// The name of the Azure SQL database + /// Parameters describing the database restore request + /// Restored database object + public Management.Sql.Models.Database RestoreDatabase(string resourceGroupName, string serverName, string databaseName, string clientRequestId, DatabaseCreateOrUpdateParameters parameters) + { + return GetCurrentSqlClient(clientRequestId).Databases.CreateOrUpdate(resourceGroupName, serverName, databaseName, parameters).Database; + } + /// /// Retrieve the SQL Management client for the currently selected subscription, adding the session and request /// id tracing headers for the current cmdlet invocation. diff --git a/src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs b/src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs index ffbe48f47311..924ca466ce1c 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Database/Model/AzureSqlDatabaseModel.cs @@ -112,6 +112,16 @@ public class AzureSqlDatabaseModel /// public Dictionary Tags { get; set; } + /// + /// Gets or sets the resource ID of the database. + /// + public string ResourceId { get; set; } + + /// + /// Gets or sets the create mode of the database. + /// + public string CreateMode { get; set; } + /// /// Construct AzureSqlDatabaseModel /// @@ -141,6 +151,9 @@ public AzureSqlDatabaseModel(string resourceGroup, string serverName, Management Tags = database.Tags as Dictionary; ElasticPoolName = database.Properties.ElasticPoolName; Location = database.Location; + ResourceId = database.Id; + CreateMode = database.Properties.CreateMode; + EarliestRestoreDate = database.Properties.EarliestRestoreDate; Guid.TryParse(database.Properties.CurrentServiceObjectiveId, out id); CurrentServiceObjectiveId = id; diff --git a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml index 81bb2b6d8dba..495a73922280 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml +++ b/src/ResourceManager/Sql/Commands.Sql/Microsoft.Azure.Commands.Sql.dll-Help.xml @@ -1,406 +1,484 @@ - - - - - - Get-AzureRmSqlCapability - - Gets SQL Database capabilities for the current subscription. - - - - - Get - AzureRMSqlCapability - - - - The Get-AzureRmSqlCapability cmdlet gets the Azure SQL Database capabilities available on the current subscription for a region. If you specify the ServerVersionName, EditionName, or ServiceObjectiveName parameters, this cmdlet returns the specified values and their predecessors. - - - - Get-AzureRmSqlCapability - - LocationName - - Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/). - - String - - - Defaults - - Indicates that this cmdlet gets only defaults. - - SwitchParameter - - - - Get-AzureRmSqlCapability - - LocationName - - Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/). - - String - - - ServerVersionName - - Specifies the name of the server version for which this cmdlet gets capabilities. - - String - - - EditionName - - Specifies the name of the database edition for which this cmdlet gets capabilities. - - String - - - ServiceObjectiveName - - Specifies the name of the service objective for which this cmdlet gets capabilities. - - String - - - - - - LocationName - - Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/). - - String - - String - - - none - - - ServerVersionName - - Specifies the name of the server version for which this cmdlet gets capabilities. - - String - - String - - - none - - - EditionName - - Specifies the name of the database edition for which this cmdlet gets capabilities. - - String - - String - - - none - - - ServiceObjectiveName - - Specifies the name of the service objective for which this cmdlet gets capabilities. - - String - - String - - - none - - - Defaults - - Indicates that this cmdlet gets only defaults. - - SwitchParameter - - SwitchParameter - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Location_Capabilities.Model.LocationCapabilityModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get capabilities for the current subscription for a region -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlCapability -LocationName "Central US" - - This command returns the capabilities for SQL Database on the current subscription for the Central US region. - - - Location : Central US + + + + + Get-AzureRmSqlCapability + + Gets SQL Database capabilities for the current subscription. + + + + + Get + AzureRmSqlCapability + + + + The Get-AzureRmSqlCapability cmdlet gets the Azure SQL Database capabilities available on the current subscription for a region. If you specify the ServerVersionName, EditionName, or ServiceObjectiveName parameters, this cmdlet returns the specified values and their predecessors. + + + + Get-AzureRmSqlCapability + + LocationName + + Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/). + + String + + + ServerVersionName + + Specifies the name of the server version for which this cmdlet gets capabilities. + + String + + + EditionName + + Specifies the name of the database edition for which this cmdlet gets capabilities. + + String + + + ServiceObjectiveName + + Specifies the name of the service objective for which this cmdlet gets capabilities. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Get-AzureRmSqlCapability + + LocationName + + Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/). + + String + + + Defaults + + Indicates that this cmdlet gets only defaults. + + SwitchParameter + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + LocationName + + Specifies the name of the Location for which this cmdlet gets capabilities. For more information, see Azure Regions (http://azure.microsoft.com/en-us/regions/). + + String + + String + + + none + + + ServerVersionName + + Specifies the name of the server version for which this cmdlet gets capabilities. + + String + + String + + + none + + + EditionName + + Specifies the name of the database edition for which this cmdlet gets capabilities. + + String + + String + + + none + + + ServiceObjectiveName + + Specifies the name of the service objective for which this cmdlet gets capabilities. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Defaults + + Indicates that this cmdlet gets only defaults. + + SwitchParameter + + SwitchParameter + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Location_Capabilities.Model.LocationCapabilityModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get capabilities for the current subscription for a region -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlCapability -LocationName "Central US" + + This command returns the capabilities for SQL Database on the current subscription for the Central US region. + + + Location : Central US Status : Available SupportedServerVersions : {12.0, 2.0} - - - - - - - - - - - -------------------------- Example 2: Get default capabilities for the current subscription for a region -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlCapability -LocationName "Central US" -Defaults - - This command returns the default capabilities for SQL Database on the current subscription in the Central US region. - - - Location : Central US + + + + + + + + + + + -------------------------- Example 2: Get default capabilities for the current subscription for a region -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlCapability -LocationName "Central US" -Defaults + + This command returns the default capabilities for SQL Database on the current subscription in the Central US region. + + + Location : Central US Status : Available ExpandedDetails : Version: 2.0 (Default) -> Edition: Standard (Default) -> Service Objective: S0 (Default) - - - - - - - - - - - -------------------------- Example 3: Get details for a service objective -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlCapability -LocationName "Central US" -ServiceObjectiveName "S1" - - This command gets default capabilities for SQL Database for the specified service objective on the current subscription. - - - Location : Central US + + + + + + + + + + + -------------------------- Example 3: Get details for a service objective -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlCapability -LocationName "Central US" -ServiceObjectiveName "S1" + + This command gets default capabilities for SQL Database for the specified service objective on the current subscription. + + + Location : Central US Status : Available ExpandedDetails : Version: 12.0 (Available) -> Edition: Standard (Default) -> Service Objective: S1 (Available) Version: 2.0 (Default) -> Edition: Standard (Default) -> Service Objective: S1 (Available) - - - - - - - - - - - - - Azure SQL Database Cmdlets - - - - - - - - - Get-AzureRmSqlDatabase - - Gets one or more Azure SQL databases. - - - - - Get - AzureRMSqlDatabase - - - - The Get-AzureRmSqlDatabase cmdlet gets one or more Azure SQL databases from an Azure SQL Database Server. - - - - Get-AzureRmSqlDatabase - - DatabaseName - - Specifies the name of the database to retrieve. - - String - - - ServerName - - Specifies the name of the server the database is in. - - String - - - ResourceGroupName - - Specifies the name of the resource group of the server that contains the database. - - String - - - - - - DatabaseName - - Specifies the name of the database to retrieve. - - String - - String - - - none - - - ServerName - - Specifies the name of the server the database is in. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group of the server that contains the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get all databases on a server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command gets all databases on the server named server01. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + + + + + Azure SQL Database Cmdlets + + + + + + + + Get-AzureRmSqlDatabase + + Gets one or more Azure SQL databases. + + + + + Get + AzureRmSqlDatabase + + + + The Get-AzureRmSqlDatabase cmdlet gets one or more Azure SQL databases from an Azure SQL Database Server. + + + + Get-AzureRmSqlDatabase + + DatabaseName + + Specifies the name of the database to retrieve. + + String + + + ServerName + + Specifies the name of the server the database is in. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the server that contains the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DatabaseName + + Specifies the name of the database to retrieve. + + String + + String + + + none + + + ServerName + + Specifies the name of the server the database is in. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group of the server that contains the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get all databases on a server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command gets all databases on the server named server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : master Location : Central US @@ -437,26 +515,26 @@ RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : Tags : - - - - - - - - - - - -------------------------- Example 2: Get a database by name on a server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command gets a database named Database02 from a server named Server01. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + + + -------------------------- Example 2: Get a database by name on a server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command gets a database named Database02 from a server named Server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US @@ -474,389 +552,448 @@ RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : Tags : - - - - - - - - - - - - - New-AzureRmSqlDatabase - - - - - Remove-AzureRmSqlDatabase - - - - - Resume-AzureRmSqlDatabase - - - - - Set-AzureRmSqlDatabase - - - - - Suspend-AzureRmSqlDatabase - - - - - Azure SQL Database - - - - - - - - - Get-AzureRmSqlDatabaseActivity - - Gets the status of moving elastic databases. - - - - - Get - AzureRMSqlDatabaseActivity - - - - The Get-AzureRmSqlDatabaseActivity cmdlet gets the status of moving elastic databases into or out of an elastic database pool in Azure SQL Database. - - - - Get-AzureRmSqlDatabaseActivity - - ServerName - - Specifies the name of the SQL Server that hosts the elastic database pool. - - String - - - ElasticPoolName - - Specifies the name of the elastic database pool for which this cmdlet gets status. - - String - - - DatabaseName - - Specifies the name of the database for which this cmdlet gets status. - - String - - - OperationId - - Specifies the ID of the operation that this cmdlet gets. - - Nullable`1[Guid] - - - ResourceGroupName - - Specifies the name of the resource group that contains the database for which this cmdlet gets status. - - String - - - - - - ServerName - - Specifies the name of the SQL Server that hosts the elastic database pool. - - String - - String - - - none - - - ElasticPoolName - - Specifies the name of the elastic database pool for which this cmdlet gets status. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database for which this cmdlet gets status. - - String - - String - - - none - - - OperationId - - Specifies the ID of the operation that this cmdlet gets. - - Nullable`1[Guid] - - Nullable`1[Guid] - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database for which this cmdlet gets status. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseActivityModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get status for all SQL Database instances -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseActivity -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticPool01" - - This command returns the operation status of all SQL Database instances in an elastic pool named elasticPool01. - - - - - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseAuditingPolicy - - Gets the auditing policy of an Azure SQL database. - - - - - Get - AzureRMSqlDatabaseAuditingPolicy - - - - The Get-AzureRmSqlDatabaseAuditingPolicy cmdlet gets the auditing policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. - - - - Get-AzureRmSqlDatabaseAuditingPolicy - - ServerName - - Specifies the name of the server that contains the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - - - - - ServerName - - Specifies the name of the server that contains the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get the auditing policy of an Azure SQL database -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command gets the auditing policy of database database01 located in server01 in resource group resourcegroup01. - - - DatabaseName : database01 + + + + + + + + + + + + + New-AzureRmSqlDatabase + + + + Remove-AzureRmSqlDatabase + + + + Resume-AzureRmSqlDatabase + + + + Set-AzureRmSqlDatabase + + + + Suspend-AzureRmSqlDatabase + + + + Azure SQL Database + + + + + + + + Get-AzureRmSqlDatabaseActivity + + Gets the status of moving elastic databases. + + + + + Get + AzureRmSqlDatabaseActivity + + + + The Get-AzureRmSqlDatabaseActivity cmdlet gets the status of moving elastic databases into or out of an elastic database pool in Azure SQL Database. + + + + Get-AzureRmSqlDatabaseActivity + + ServerName + + Specifies the name of the SQL Server that hosts the elastic database pool. + + String + + + ElasticPoolName + + Specifies the name of the elastic database pool for which this cmdlet gets status. + + String + + + DatabaseName + + Specifies the name of the database for which this cmdlet gets status. + + String + + + OperationId + + Specifies the ID of the operation that this cmdlet gets. + + Nullable`1[Guid] + + + ResourceGroupName + + Specifies the name of the resource group that contains the database for which this cmdlet gets status. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the SQL Server that hosts the elastic database pool. + + String + + String + + + none + + + ElasticPoolName + + Specifies the name of the elastic database pool for which this cmdlet gets status. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database for which this cmdlet gets status. + + String + + String + + + none + + + OperationId + + Specifies the ID of the operation that this cmdlet gets. + + Nullable`1[Guid] + + Nullable`1[Guid] + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database for which this cmdlet gets status. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseActivityModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get status for all SQL Database instances -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseActivity -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticPool01" + + This command returns the operation status of all SQL Database instances in an elastic pool named elasticPool01. + + + + + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseAuditingPolicy + + Gets the auditing policy of an Azure SQL database. + + + + + Get + AzureRmSqlDatabaseAuditingPolicy + + + + The Get-AzureRmSqlDatabaseAuditingPolicy cmdlet gets the auditing policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. + + + + Get-AzureRmSqlDatabaseAuditingPolicy + + ServerName + + Specifies the name of the server that contains the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server that contains the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get the auditing policy of an Azure SQL database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command gets the auditing policy of database database01 located in server01 in resource group resourcegroup01. + + + DatabaseName : database01 UseServerDefault : Disabled ResourceGroupName : resourcegroup01 ServerName : server01 @@ -866,1469 +1003,1931 @@ EventType : {PlainSQL_Success, PlainSQL_Failure, ParameterizedSQL_Succe AuditState : New RetentionInDays : 0 TableIdentifier : Server01Database01 - - - - - - - - - - - - - Remove-AzureRmSqlDatabaseAuditing - - - - - Set-AzureRmSqlDatabaseAuditingPolicy - - - - - Azure SQL Database - - - - - - - - - Get-AzureRmSqlDatabaseDataMaskingPolicy - - Gets the data masking policy for an Azure SQL database. - - - - - Get - AzureRMSqlDatabaseDataMaskingPolicy - - - - The Get-AzureRmSqlDatabaseDataMaskingPolicy cmdlet gets the data masking policy of an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. - - - - Get-AzureRmSqlDatabaseDataMaskingPolicy - - ServerName - - Specifies the name of the server containing the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group containing the database. - - String - - - - - - ServerName - - Specifies the name of the server containing the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group containing the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get the data masking policy for an Azure SQL database -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command gets the data masking policy from database database01 in resource group resourcegroup01 contained in server server01. - - - DatabaseName : database01 + + + + + + + + + + + + + Remove-AzureRmSqlDatabaseAuditing + + + + Set-AzureRmSqlDatabaseAuditingPolicy + + + + Azure SQL Database + + + + + + + + Get-AzureRmSqlDatabaseDataMaskingPolicy + + Gets the data masking policy for an Azure SQL database. + + + + + Get + AzureRmSqlDatabaseDataMaskingPolicy + + + + The Get-AzureRmSqlDatabaseDataMaskingPolicy cmdlet gets the data masking policy of an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. + + + + Get-AzureRmSqlDatabaseDataMaskingPolicy + + ServerName + + Specifies the name of the server containing the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group containing the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server containing the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group containing the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingPolicyModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get the data masking policy for an Azure SQL database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command gets the data masking policy from database database01 in resource group resourcegroup01 contained in server server01. + + + DatabaseName : database01 ResourceGroupName : resourcegroup01 ServerName : server01 DataMaskingState : Uninitialized PrivilegedUsers : - - - - - - - - - - - - - Get-AzureRmSqlDatabaseDataMaskingRule - - - - - New-AzureRmSqlDatabaseDataMaskingRule - - - - - Remove-AzureRmSqlDatabaseDataMaskingRule - - - - - Set-AzureRmSqlDatabaseDataMaskingPolicy - - - - - Set-AzureRmSqlDatabaseDataMaskingRule - - - - - Azure SQL Database - - - - - - - - - Get-AzureRmSqlDatabaseDataMaskingRule - - Gets the data masking rules from an Azure SQL database. - - - - - Get - AzureRMSqlDatabaseDataMaskingRule - - - - The Get-AzureRmSqlDatabaseDataMaskingRule cmdlet gets either a specific data masking rule, or all of the data masking rules of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database, and the RuleId parameter to specify which rule this cmdlet returns. If you do not provide RuleId, then all the data masking rules of that Azure SQL database are returned. - - - - Get-AzureRmSqlDatabaseDataMaskingRule - - RuleId - - Specifies the ID of the requested rule. If you do not specify this parameter, this cmdlet gets all the information about all the data masking rules in the specified SQL database. - - String - - - ServerName - - Specifies the name of the server. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group containing the database. - - String - - - - - - RuleId - - Specifies the ID of the requested rule. If you do not specify this parameter, this cmdlet gets all the information about all the data masking rules in the specified SQL database. - - String - - String - - - none - - - ServerName - - Specifies the name of the server. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group containing the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get all data masking rules from a database -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command gets all data masking rules from database01 in resource group resourcegroup01 contained in server server01. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseDataMaskingPolicy - - - - - New-AzureRmSqlDatabaseDataMaskingRule - - - - - Remove-AzureRmSqlDatabaseDataMaskingRule - - - - - Set-AzureRmSqlDatabaseDataMaskingPolicy - - - - - Set-AzureRmSqlDatabaseDataMaskingRule - - - - - Azure SQL Database - - - - - - - - - Get-AzureRmSqlDatabaseExpanded - - - - - - - Get - AzureRMSqlDatabaseExpanded - - - - - - - - Get-AzureRmSqlDatabaseExpanded - - ServerName - - - - String - - - DatabaseName - - - - String - - - ResourceGroupName - - - - String - - - - - - ServerName - - - - String - - String - - - none - - - DatabaseName - - - - String - - String - - - none - - - ResourceGroupName - - - - String - - String - - - none - - - Profile - - - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - - - - - - - Get-AzureRmSqlDatabaseIndexRecommendations - - Gets the recommended index operations for a server or database. - - - - - Get - AzureRMSqlDatabaseIndexRecommendations - - - - The Get-AzureRmSqlDatabaseIndexRecommendations cmdlet gets the recommended index operations for a server or database in Azure SQL Database. - - - - Get-AzureRmSqlDatabaseIndexRecommendations - - ServerName - - Specifies the server that hosts the database for which this cmdlet gets index recommendations. - - String - - - DatabaseName - - Specifies the name of the database for which this cmdlet gets the index recommendations. - - String - - - TableName - - Specifies the name of an Azure SQL Table. - - String - - - IndexRecommendationName - - Specifies the name of the index recommendation that this cmdlet gets. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the server. This cmdlet gets index recommendations for a database that this server hosts. - - String - - - - - - ServerName - - Specifies the server that hosts the database for which this cmdlet gets index recommendations. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database for which this cmdlet gets the index recommendations. - - String - - String - - - none - - - TableName - - Specifies the name of an Azure SQL Table. - - String - - String - - - none - - - IndexRecommendationName - - Specifies the name of the index recommendation that this cmdlet gets. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the server. This cmdlet gets index recommendations for a database that this server hosts. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get index recommendations for all databases on server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command returns index recommendations for all databases on server. - - - - - - - - - - - - - - - -------------------------- Example 2: Get index recommendations for a specific database -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command returns index recommendations for specific database. - - - - - - - - - - - - - - - -------------------------- Example 3: Get a single index recommendation by name -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName "resourcegroup01" -ServerName "server01" -DtabaseName "database01" -IndexRecommendationName "INDEX_NAME" - - This command returns single index recommendation by name. - - - - - - - - - - - - - - - - - Start-AzureRmSqlDatabaseExecuteIndexRecommendation - - - - - Stop-AzureRmSqlDatabaseExecuteIndexRecommendation - - - - - - - - - Get-AzureRmSqlDatabaseReplicationLink - - Gets the geo-replication links between an Azure SQL Database and the specified Azure Resource Group or Azure SQL Server. - - - - - Get - AzureRMSqlDatabaseReplicationLink - - - - This cmdlet replaces the Get-AzureSqlDatabaseCopy cmdlet. It will return all geo-replication links between the specified Azure Resource Group or Azure SQL Server. - - - - Get-AzureRmSqlDatabaseReplicationLink - - DatabaseName - - The name of the Azure SQL Database to retrieve links for. - - String - - - PartnerResourceGroupName - - The name of the Azure Resource Group for the partner. - - String - - - ServerName - - The name of the Azure SQL Server for the database to retrieve links for. - - String - - - ResourceGroupName - - The name of the Azure Resource Group for the database to retrieve links for. - - String - - - - Get-AzureRmSqlDatabaseReplicationLink - - DatabaseName - - The name of the Azure SQL Database to retrieve links for. - - String - - - PartnerResourceGroupName - - The name of the Azure Resource Group for the partner. - - String - - - PartnerServerName - - The name of the Azure SQL Server for the partner. - - String - - - ServerName - - The name of the Azure SQL Server for the database to retrieve links for. - - String - - - ResourceGroupName - - The name of the Azure Resource Group for the database to retrieve links for. - - String - - - - - - DatabaseName - - The name of the Azure SQL Database to retrieve links for. - - String - - String - - - - - - - PartnerResourceGroupName - - The name of the Azure Resource Group for the partner. - - String - - String - - - - - - - ServerName - - The name of the Azure SQL Server for the database to retrieve links for. - - String - - String - - - - - - - ResourceGroupName - - The name of the Azure Resource Group for the database to retrieve links for. - - String - - String - - - - - - - PartnerServerName - - The name of the Azure SQL Server for the partner. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - - - - - - - Get-AzureRmSqlDatabaseRestorePoints - - - - - - - Get - AzureRMSqlDatabaseRestorePoints - - - - - - - - Get-AzureRmSqlDatabaseRestorePoints - - ServerName - - Specifies the name of the Azure SQL Server holding the database. - - String - - - DatabaseName - - Specifies the name of the Azure SQL Database. - - String - - - ResourceGroupName - - Specifies the name of the resource group of the Azure SQL Database. - - String - - - - - - ServerName - - Specifies the name of the Azure SQL Server holding the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the Azure SQL Database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group of the Azure SQL Database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1 -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseRestorePoints -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - Returns all available restore points for Azure SQL Database "database01". - - - ResourceGroupName : resourcegroup01 + + + + + + + + + + + + + Get-AzureRmSqlDatabaseDataMaskingRule + + + + New-AzureRmSqlDatabaseDataMaskingRule + + + + Remove-AzureRmSqlDatabaseDataMaskingRule + + + + Set-AzureRmSqlDatabaseDataMaskingPolicy + + + + Set-AzureRmSqlDatabaseDataMaskingRule + + + + Azure SQL Database + + + + + + + + Get-AzureRmSqlDatabaseDataMaskingRule + + Gets the data masking rules from an Azure SQL database. + + + + + Get + AzureRmSqlDatabaseDataMaskingRule + + + + The Get-AzureRmSqlDatabaseDataMaskingRule cmdlet gets either a specific data masking rule, or all of the data masking rules of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database, and the RuleId parameter to specify which rule this cmdlet returns. If you do not provide RuleId, then all the data masking rules of that Azure SQL database are returned. + + + + Get-AzureRmSqlDatabaseDataMaskingRule + + SchemaName + + + + String + + + TableName + + + + String + + + ColumnName + + + + String + + + ServerName + + Specifies the name of the server. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group containing the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + SchemaName + + + + String + + String + + + + + + TableName + + + + String + + String + + + + + + ColumnName + + + + String + + String + + + + + + ServerName + + Specifies the name of the server. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group containing the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + RuleId + + Specifies the ID of the requested rule. If you do not specify this parameter, this cmdlet gets all the information about all the data masking rules in the specified SQL database. + + string + + string + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get all data masking rules from a database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command gets all data masking rules from database01 in resource group resourcegroup01 contained in server server01. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseDataMaskingPolicy + + + + New-AzureRmSqlDatabaseDataMaskingRule + + + + Remove-AzureRmSqlDatabaseDataMaskingRule + + + + Set-AzureRmSqlDatabaseDataMaskingPolicy + + + + Set-AzureRmSqlDatabaseDataMaskingRule + + + + Azure SQL Database + + + + + + + + Get-AzureRmSqlDatabaseExpanded + + + + + + + Get + AzureRmSqlDatabaseExpanded + + + + + + + + Get-AzureRmSqlDatabaseExpanded + + ServerName + + + + String + + + DatabaseName + + + + String + + + ResourceGroupName + + + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + + + String + + String + + + none + + + DatabaseName + + + + String + + String + + + none + + + ResourceGroupName + + + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + Get-AzureRMSqlDatabaseGeoBackup + + Gets one or more geo backups of databases in a SQL server. + + + + + Get + AzureRMSqlDatabaseGeoBackup + + + + Gets one or more geo backups of databases in a SQL server. A geo backup is also known as a "recoverable database" and is restorable resource using data files in a separate geographic location. + + + + Get-AzureRMSqlDatabaseGeoBackup + + ServerName + + + + String + + + DatabaseName + + + + String + + + ResourceGroupName + + + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + + + String + + String + + + + + + DatabaseName + + + + String + + String + + + + + + ResourceGroupName + + + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Backup.Model.AzureSqlDatabaseGeoBackupModel + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + Get-AzureRmSqlDatabaseIndexRecommendations + + Gets the recommended index operations for a server or database. + + + + + Get + AzureRmSqlDatabaseIndexRecommendations + + + + The Get-AzureRmSqlDatabaseIndexRecommendations cmdlet gets the recommended index operations for a server or database in Azure SQL Database. + + + + Get-AzureRmSqlDatabaseIndexRecommendations + + ServerName + + Specifies the server that hosts the database for which this cmdlet gets index recommendations. + + String + + + DatabaseName + + Specifies the name of the database for which this cmdlet gets the index recommendations. + + String + + + TableName + + Specifies the name of an Azure SQL Table. + + String + + + IndexRecommendationName + + Specifies the name of the index recommendation that this cmdlet gets. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the server. This cmdlet gets index recommendations for a database that this server hosts. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the server that hosts the database for which this cmdlet gets index recommendations. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database for which this cmdlet gets the index recommendations. + + String + + String + + + none + + + TableName + + Specifies the name of an Azure SQL Table. + + String + + String + + + none + + + IndexRecommendationName + + Specifies the name of the index recommendation that this cmdlet gets. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the server. This cmdlet gets index recommendations for a database that this server hosts. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get index recommendations for all databases on server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command returns index recommendations for all databases on server. + + + + + + + + + + + + + + -------------------------- Example 2: Get index recommendations for a specific database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command returns index recommendations for specific database. + + + + + + + + + + + + + + -------------------------- Example 3: Get a single index recommendation by name -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseIndexRecommendations -ResourceGroupName "resourcegroup01" -ServerName "server01" -DtabaseName "database01" -IndexRecommendationName "INDEX_NAME" + + This command returns single index recommendation by name. + + + + + + + + + + + + + + + + Start-AzureRmSqlDatabaseExecuteIndexRecommendation + + + + Stop-AzureRmSqlDatabaseExecuteIndexRecommendation + + + + + + + + Get-AzureRmSqlDatabaseReplicationLink + + Gets the geo-replication links between an Azure SQL Database and the specified Azure Resource Group or Azure SQL Server. + + + + + Get + AzureRmSqlDatabaseReplicationLink + + + + This cmdlet replaces the Get-AzureSqlDatabaseCopy cmdlet. It will return all geo-replication links between the specified Azure Resource Group or Azure SQL Server. + + + + Get-AzureRmSqlDatabaseReplicationLink + + DatabaseName + + The name of the Azure SQL Database to retrieve links for. + + String + + + PartnerResourceGroupName + + The name of the Azure Resource Group for the partner. + + String + + + ServerName + + The name of the Azure SQL Server for the database to retrieve links for. + + String + + + ResourceGroupName + + The name of the Azure Resource Group for the database to retrieve links for. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Get-AzureRmSqlDatabaseReplicationLink + + DatabaseName + + The name of the Azure SQL Database to retrieve links for. + + String + + + PartnerResourceGroupName + + The name of the Azure Resource Group for the partner. + + String + + + PartnerServerName + + The name of the Azure SQL Server for the partner. + + String + + + ServerName + + The name of the Azure SQL Server for the database to retrieve links for. + + String + + + ResourceGroupName + + The name of the Azure Resource Group for the database to retrieve links for. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DatabaseName + + The name of the Azure SQL Database to retrieve links for. + + String + + String + + + + + + PartnerResourceGroupName + + The name of the Azure Resource Group for the partner. + + String + + String + + + + + + ServerName + + The name of the Azure SQL Server for the database to retrieve links for. + + String + + String + + + + + + ResourceGroupName + + The name of the Azure Resource Group for the database to retrieve links for. + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + PartnerServerName + + The name of the Azure SQL Server for the partner. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + Get-AzureRmSqlDatabaseRestorePoints + + + + + + + Get + AzureRmSqlDatabaseRestorePoints + + + + + + + + Get-AzureRmSqlDatabaseRestorePoints + + ServerName + + Specifies the name of the Azure SQL Server holding the database. + + String + + + DatabaseName + + Specifies the name of the Azure SQL Database. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the Azure SQL Database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the Azure SQL Server holding the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the Azure SQL Database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group of the Azure SQL Database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseRestorePoints -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + Returns all available restore points for Azure SQL Database "database01". + + + ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US RestorePointType : CONTINUOUS RestorePointCreationDate : -EarliestRestoreDate : 8/12/2015 12:00:00 AM +EarliestRestoreDate : 8/12/2015 12:00:00 AM + + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseSecureConnectionPolicy + + Gets the secure connection policy of an Azure SQL database. + + + + + Get + AzureRmSqlDatabaseSecureConnectionPolicy + + + + The Get-AzureRmSqlDatabaseSecureConnectionPolicy cmdlet gets the secure connection policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. After this cmdlet runs successfully, it returns an object describing the current secure connection policy as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName. + + + + Get-AzureRmSqlDatabaseSecureConnectionPolicy + + ServerName + + Specifies the name of server that contains the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of server that contains the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseSecureConnectionPolicyModel + + + + + - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseSecureConnectionPolicy - - Gets the secure connection policy of an Azure SQL database. - - - - - Get - AzureRMSqlDatabaseSecureConnectionPolicy - - - - The Get-AzureRmSqlDatabaseSecureConnectionPolicy cmdlet gets the secure connection policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. After this cmdlet runs successfully, it returns an object describing the current secure connection policy as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName. - - - - Get-AzureRmSqlDatabaseSecureConnectionPolicy - - ServerName - - Specifies the name of server that contains the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - - - - - ServerName - - Specifies the name of server that contains the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseSecureConnectionPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get the secure connection policy of an azure_2 SQL database -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseSecureConnectionPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command gets the secure connection policy of an Azure SQL database named database01 located in server server01. - - - DatabaseName : database01 + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get the secure connection policy of an azure_2 SQL database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseSecureConnectionPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command gets the secure connection policy of an Azure SQL database named database01 located in server server01. + + + DatabaseName : database01 ConnectionStrings : Microsoft.Azure.Commands.Sql.SecureConnection.Model.ConnectionStrings ResourceGroupName : resourcegroup01 ServerName : server01 ProxyDnsName : server01.database.secure.windows.net ProxyPort : 1433 SecureConnectionState : Optional - - - - - - - - - - - - - Azure SQL Database - - - - - - - - Get-AzureRmSqlDatabaseThreatDetectionPolicy - - Gets the threat detection policy for a database. - - - - - Get - AzureRmSqlDatabaseThreatDetectionPolicy - - - - The Get-AzureRmSqlDatabaseThreatDetectionPolicy cmdlet gets the threat detection policy of an Azure SQL database. To use this cmdlet, specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database for which this cmdlet gets the policy. - - - - Get-AzureRmSqlDatabaseThreatDetectionPolicy - - ResourceGroupName - - Specifies the name of the resource group that the server is assigned to. - - String - - - ServerName - - Specifies the name of a server. - - String - - - DatabaseName - - Specifies the name of a database. - - String - - - - - - DatabaseName - - Specifies the name of a database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that the server is assigned to. - - String - - String - - - none - - - ServerName - - Specifies the name of a server. - - String - - String - - - none - - - - - - - - - - - - - You cannot pipe input to this cmdlet. - - - - - - - Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DatabaseThreatDetectionPolicyModel - - - - - - - This cmdlet returns a Model.DatabaseThreatDetectionPolicyModel object. - - - - - - - - Example 1: Get the threat detection policy for a database - - - - PS C:\> Get-AzureRmSqlDatabaseThreatDetectionPolicy -ResourceGroupName "ResourceGroup11" -ServerName "Server01" -DatabaseName "Database01" + + + + + + + + + + + + + Azure SQL Database + + + + + + + + Get-AzureRmSqlDatabaseThreatDetectionPolicy + + Gets the threat detection policy for a database. + + + + + Get + AzureRmSqlDatabaseThreatDetectionPolicy + + + + The Get-AzureRmSqlDatabaseThreatDetectionPolicy cmdlet gets the threat detection policy of an Azure SQL database. To use this cmdlet, specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database for which this cmdlet gets the policy. + + + + Get-AzureRmSqlDatabaseThreatDetectionPolicy + + ServerName + + Specifies the name of a server. + + String + + + DatabaseName + + Specifies the name of a database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the server is assigned to. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of a server. + + String + + String + + + none + + + DatabaseName + + Specifies the name of a database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that the server is assigned to. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + +You cannot pipe input to this cmdlet. + + + + + + + Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DatabaseThreatDetectionPolicyModel + + + + + +This cmdlet returns a Model.DatabaseThreatDetectionPolicyModel object. + + + + + + + + + + + + + + -------------------------- Example 1: Get the threat detection policy for a database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseThreatDetectionPolicy -ResourceGroupName "ResourceGroup11" -ServerName "Server01" -DatabaseName "Database01" DatabaseName : Database01 ResourceGroupName : ResourceGroup11 ServerName : Server01 @@ -2336,749 +2935,1047 @@ ThreatDetectionState : Disabled NotificationRecipientsEmails : EmailAdmins : False ExcludedDetectionTypes : {} - - This command gets the threat detection policy for a database named Database01. The database is located on the server named Server01, which is assigned to the resource group ResourceGroup11. - - - - - - - - - - - - - Remove-AzureRmSqlDatabaseThreatDetectionPolicy - - - - Set-AzureRmSqlDatabaseThreatDetectionPolicy - - - - Azure SQL Database Cmdlets - - - - - - - - Get-AzureRmSqlDatabaseTransparentDataEncryption - - Gets the TPE state for an Azure SQL database. - - - - - Get - AzureRMSqlDatabaseTransparentDataEncryption - - - - The Get-AzureRmSqlDatabaseTransparentDataEncryption cmdlet gets the state of Transparent Data Encryption (TPE) from an Azure SQL database. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library. This cmdlet gets the current state of TPE, but both encryption and decryption can be long running operations. To see the encryption scan progress, run the Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity cmdlet. - - - - Get-AzureRmSqlDatabaseTransparentDataEncryption - - ServerName - - Specifies the name of the server that hosts the database for which this cmdlet gets TDE status. - - String - - - DatabaseName - - Specifies the name of the database for which this cmdlet gets TDE status. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database for which this cmdlet gets TDE status. - - String - - - - - - ServerName - - Specifies the name of the server that hosts the database for which this cmdlet gets TDE status. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database for which this cmdlet gets TDE status. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database for which this cmdlet gets TDE status. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get TPE status for a database -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseTransparentDataEncryption -ServerName "server01" -ResourceGroupName "resourcegroup01" -DatabaseName "database01" - - This command gets the status of TPE for the database named Database01 on the server named server01. - - - ResourceGroupName ServerName DatabaseName State + + This command gets the threat detection policy for a database named Database01. The database is located on the server named Server01, which is assigned to the resource group ResourceGroup11. + + + + + + + + + + + + + + + + Remove-AzureRmSqlDatabaseThreatDetectionPolicy + + + + Set-AzureRmSqlDatabaseThreatDetectionPolicy + + + + Azure SQL Database Cmdlets + + + + + + + + Get-AzureRmSqlDatabaseTransparentDataEncryption + + Gets the TPE state for an Azure SQL database. + + + + + Get + AzureRmSqlDatabaseTransparentDataEncryption + + + + The Get-AzureRmSqlDatabaseTransparentDataEncryption cmdlet gets the state of Transparent Data Encryption (TPE) from an Azure SQL database. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library. This cmdlet gets the current state of TPE, but both encryption and decryption can be long running operations. To see the encryption scan progress, run the Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity cmdlet. + + + + Get-AzureRmSqlDatabaseTransparentDataEncryption + + ServerName + + Specifies the name of the server that hosts the database for which this cmdlet gets TDE status. + + String + + + DatabaseName + + Specifies the name of the database for which this cmdlet gets TDE status. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database for which this cmdlet gets TDE status. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server that hosts the database for which this cmdlet gets TDE status. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database for which this cmdlet gets TDE status. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database for which this cmdlet gets TDE status. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get TPE status for a database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseTransparentDataEncryption -ServerName "server01" -ResourceGroupName "resourcegroup01" -DatabaseName "database01" + + This command gets the status of TPE for the database named Database01 on the server named server01. + + + ResourceGroupName ServerName DatabaseName State ----------------- ---------- ------------ ----- -resourcegroup01 server01 database01 Disabled +resourcegroup01 server01 database01 Disabled + + + + + + + + + + + + + Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity + + + + Set-AzureRmSqlDatabaseTransparentDataEncryption + + + + + + + + Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity + + Gets the progress of a TDE scan of an Azure SQL database. + + + + + Get + AzureRmSqlDatabaseTransparentDataEncryptionActivity + + + + The Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity cmdlet gets the progress of a Transparent Data Encryption (TDE) scan of an Azure SQL database. If no encryption span is running, this cmdlet returns an empty list. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library. + + + + Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity + + ServerName + + Specifies the name of the server that hosts the database for which this cmdlet gets TDE encryption activity. + + String + + + DatabaseName + + Specifies the name of the database for which this cmdlet gets TDE encryption activity. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database for which this cmdlet gets TDE encryption activity. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server that hosts the database for which this cmdlet gets TDE encryption activity. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database for which this cmdlet gets TDE encryption activity. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database for which this cmdlet gets TDE encryption activity. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + - - - - - - - - - - - - - Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity - - - - - Set-AzureRmSqlDatabaseTransparentDataEncryption - - - - - - - - - Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity - - Gets the progress of a TDE scan of an Azure SQL database. - - - - - Get - AzureRMSqlDatabaseTransparentDataEncryptionActivity - - - - The Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity cmdlet gets the progress of a Transparent Data Encryption (TDE) scan of an Azure SQL database. If no encryption span is running, this cmdlet returns an empty list. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library. - - - - Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity - - ServerName - - Specifies the name of the server that hosts the database for which this cmdlet gets TDE encryption activity. - - String - - - DatabaseName - - Specifies the name of the database for which this cmdlet gets TDE encryption activity. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database for which this cmdlet gets TDE encryption activity. - - String - - - - - - ServerName - - Specifies the name of the server that hosts the database for which this cmdlet gets TDE encryption activity. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database for which this cmdlet gets TDE encryption activity. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database for which this cmdlet gets TDE encryption activity. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionActivityModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get TPE activity for a database -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity -ServerName "server01" -ResourceGroupName "resourcegroup01" -DatabaseName "database01" - - This command gets the TPE activity for the database named database01 on the server named server01. - - - ResourceGroupName : resourcegroup01 + + + + + + + Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionActivityModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get TPE activity for a database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity -ServerName "server01" -ResourceGroupName "resourcegroup01" -DatabaseName "database01" + + This command gets the TPE activity for the database named database01 on the server named server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Status : Encrypting -PercentComplete : 3.662109 +PercentComplete : 3.662109 + + + + + + + + + + + + + Get-AzureRmSqlDatabaseTransparentDataEncryption + + + + Set-AzureRmSqlDatabaseTransparentDataEncryption + + + + + + + + Get-AzureRmSqlDatabaseUpgradeHint + + Gets pricing tier hints for a database for upgrading SQL Database. + + + + + Get + AzureRmSqlDatabaseUpgradeHint + + + + The Get-AzureRmSqlDatabaseUpgradeHint cmdlet gets pricing tier hints for a database for upgrading Azure SQL Database. Databases that are still in Web and Business pricing tiers get the hint to upgrade to the new Basic, Standard, or Premium pricing tiers. + + + + Get-AzureRmSqlDatabaseUpgradeHint + + ServerName + + Specifies the name of the server that hosts the database for which this cmdlet gets an upgrade hint. + + String + + + DatabaseName + + Specifies the name of the SQL database for which this cmdlet gets an upgrade hint. If you do not specify a database, this cmdlet gets hints for all databases on the logical server. + + String + + + ExcludeElasticPoolCandidates + + Indicates whether to exclude databases that are included in elastic database pool recommendations. + + Boolean + + + ResourceGroupName + + Specifies the name of the resource group that contains the database for which this cmdlet gets an upgrade hint. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server that hosts the database for which this cmdlet gets an upgrade hint. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the SQL database for which this cmdlet gets an upgrade hint. If you do not specify a database, this cmdlet gets hints for all databases on the logical server. + + String + + String + + + none + + + ExcludeElasticPoolCandidates + + Indicates whether to exclude databases that are included in elastic database pool recommendations. + + Boolean + + Boolean + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database for which this cmdlet gets an upgrade hint. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get recommendations for all databases on a server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command returns upgrade hints for all databases on server. + + + + + + + + + + + + + + -------------------------- Example 2: Get recommendations for specific database -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command returns upgrade hint for specific database. + + + + + + + + + + + + + + -------------------------- Example 3: Get recommendation for all databases that are not recommended for an elastic database pool -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName "resourcegroup01" -ServerName "server01" -ExcludeElasticPoolCandidates $True + + This command returns upgrade hints for database that are not included in elastic database pool recommendations. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseExpanded + + + + Get-AzureRmSqlElasticPoolRecommendation + + + + + + + + Get-AzureRMSqlDeletedDatabaseBackup + + Gets one or more backups of deleted databases in a SQL server. + + + + + Get + AzureRMSqlDeletedDatabaseBackup + + + + Gets one or more backups of deleted databases in a SQL server. Also known as a "restorable dropped database", this is a restorable resource that allows restoring a database that has been deleted. + + + + Get-AzureRMSqlDeletedDatabaseBackup + + ServerName + + + + String + + + DatabaseName + + + + String + + + DeletionDate + + + + Nullable`1[DateTime] + + + ResourceGroupName + + + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + + + String + + String + + + + + + DatabaseName + + + + String + + String + + + + + + DeletionDate + + + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + ResourceGroupName + + + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Backup.Model.AzureSqlDeletedDatabaseBackupModel + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + Get-AzureRmSqlElasticPool + + Gets elastic pools and their property values in an Azure SQL Database. + + + + + Get + AzureRmSqlElasticPool + + + + The Get-AzureRmSqlElasticPool cmdlet gets elastic pools and their property values in an Azure SQL Database. Specify the name of an existing elastic pool to see the property values for only that pool. + + + + Get-AzureRmSqlElasticPool + + ElasticPoolName + + Specifies the name of the elastic pool that this cmdlet gets. + + String + + + ServerName + + Specifies the name of the server that contains the elastic pool that this cmdlet gets. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the elastic pool that this cmdlet gets. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ElasticPoolName + + Specifies the name of the elastic pool that this cmdlet gets. + + String + + String + + + none + + + ServerName + + Specifies the name of the server that contains the elastic pool that this cmdlet gets. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the elastic pool that this cmdlet gets. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + - - - - - - - - - - - - - Get-AzureRmSqlDatabaseTransparentDataEncryption - - - - - Set-AzureRmSqlDatabaseTransparentDataEncryption - - - - - - - - - Get-AzureRmSqlDatabaseUpgradeHint - - Gets pricing tier hints for a database for upgrading SQL Database. - - - - - Get - AzureRMSqlDatabaseUpgradeHint - - - - The Get-AzureRmSqlDatabaseUpgradeHint cmdlet gets pricing tier hints for a database for upgrading Azure SQL Database. Databases that are still in Web and Business pricing tiers get the hint to upgrade to the new Basic, Standard, or Premium pricing tiers. - - - - Get-AzureRmSqlDatabaseUpgradeHint - - ServerName - - Specifies the name of the server that hosts the database for which this cmdlet gets an upgrade hint. - - String - - - DatabaseName - - Specifies the name of the SQL database for which this cmdlet gets an upgrade hint. If you do not specify a database, this cmdlet gets hints for all databases on the logical server. - - String - - - ExcludeElasticPoolCandidates - - Indicates whether to exclude databases that are included in elastic database pool recommendations. - - Boolean - - - ResourceGroupName - - Specifies the name of the resource group that contains the database for which this cmdlet gets an upgrade hint. - - String - - - - - - ServerName - - Specifies the name of the server that hosts the database for which this cmdlet gets an upgrade hint. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the SQL database for which this cmdlet gets an upgrade hint. If you do not specify a database, this cmdlet gets hints for all databases on the logical server. - - String - - String - - - none - - - ExcludeElasticPoolCandidates - - Indicates whether to exclude databases that are included in elastic database pool recommendations. - - Boolean - - Boolean - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database for which this cmdlet gets an upgrade hint. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get recommendations for all databases on a server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command returns upgrade hints for all databases on server. - - - - - - - - - - - - - - - -------------------------- Example 2: Get recommendations for specific database -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command returns upgrade hint for specific database. - - - - - - - - - - - - - - - -------------------------- Example 3: Get recommendation for all databases that are not recommended for an elastic database pool -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlDatabaseUpgradeHint -ResourceGroupName "resourcegroup01" -ServerName "server01" -ExcludeElasticPoolCandidates $True - - This command returns upgrade hints for database that are not included in elastic database pool recommendations. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseExpanded - - - - - Get-AzureRmSqlElasticPoolRecommendation - - - - - - - - - Get-AzureRmSqlElasticPool - - Gets elastic pools and their property values in an Azure SQL Database. - - - - - Get - AzureRMSqlElasticPool - - - - The Get-AzureRmSqlElasticPool cmdlet gets elastic pools and their property values in an Azure SQL Database. Specify the name of an existing elastic pool to see the property values for only that pool. - - - - Get-AzureRmSqlElasticPool - - ElasticPoolName - - Specifies the name of the elastic pool that this cmdlet gets. - - String - - - ServerName - - Specifies the name of the server that contains the elastic pool that this cmdlet gets. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the elastic pool that this cmdlet gets. - - String - - - - - - ElasticPoolName - - Specifies the name of the elastic pool that this cmdlet gets. - - String - - String - - - none - - - ServerName - - Specifies the name of the server that contains the elastic pool that this cmdlet gets. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the elastic pool that this cmdlet gets. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get all elastic pools -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command gets all elastic pools on the server named server01. - - - ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 + + + + + + + Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get all elastic pools -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command gets all elastic pools on the server named server01. + + + ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool01 @@ -3104,28 +4001,27 @@ Dtu : 400 DatabaseDtuMax : 100 DatabaseDtuMin : 10 StorageMB : 409600 -Tags : - - - - - - - - - - - - -------------------------- Example 2: Get a specific elastic pool -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticPool27" - - This command gets the elastic pool named elasticPool01 on the server named server01. - - - ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 +Tags : + + + + + + + + + + + -------------------------- Example 2: Get a specific elastic pool -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticPool27" + + This command gets the elastic pool named elasticPool01 on the server named server01. + + + ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool01 @@ -3137,28 +4033,27 @@ Dtu : 400 DatabaseDtuMax : 100 DatabaseDtuMin : 10 StorageMB : 409600 -Tags : - - - - - - - - - - - - -------------------------- Example 3: Get metrics for a Azure SQL Elastic Database Pool -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" | Get-Metrics -TimeGrain 0:5:0 - - Returns metrics for an Azure SQL Elastic Database Pool named "elasticpool01". - - - DimensionName : +Tags : + + + + + + + + + + + -------------------------- Example 3: Get metrics for a Azure SQL Elastic Database Pool -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" | Get-Metrics -TimeGrain 0:5:0 + + Returns metrics for an Azure SQL Elastic Database Pool named "elasticpool01". + + + DimensionName : DimensionValue : Name : cpu_percent EndTime : 8/27/2015 5:22:25 PM @@ -3212,451 +4107,499 @@ ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGro StartTime : 8/27/2015 4:20:00 PM TimeGrain : 00:05:00 Unit : Percent - - - - - - - - - - - - - Azure SQL Database - - - - - New-AzureRmSqlElasticPool - - - - - Remove-AzureRmSqlElasticPool - - - - - Set-AzureRmSqlElasticPool - - - - - - - - - Get-AzureRmSqlElasticPoolActivity - - Gets the status of operations on an elastic pool. - - - - - Get - AzureRMSqlElasticPoolActivity - - - - The Get-AzureRmSqlElasticPoolActivity cmdlet gets the status of operations on an elastic pool in Azure SQL Database. You can see status of pool creation and configuration updates. - - - - Get-AzureRmSqlElasticPoolActivity - - ServerName - - Specifies the name of a server that contains an elastic pool. This cmdlet gets status for a pool on the server that this parameter specifies. - - String - - - ElasticPoolName - - Specifies the name of an elastic pool. This cmdlet gets status for the pool that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of a resource group that contains an elastic pool. This cmdlet gets status for a pool in the resource group that this parameter specifies. - - String - - - - - - ServerName - - Specifies the name of a server that contains an elastic pool. This cmdlet gets status for a pool on the server that this parameter specifies. - - String - - String - - - none - - - ElasticPoolName - - Specifies the name of an elastic pool. This cmdlet gets status for the pool that this parameter specifies. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of a resource group that contains an elastic pool. This cmdlet gets status for a pool in the resource group that this parameter specifies. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolActivityModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get the status of operations for an elastic pool -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlElasticPoolActivity -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" - - This command gets the status of the operations for the elastic pool named elasticPool01. - - - - - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlElasticPool - - - - - Get-AzureRmSqlElasticPoolDatabase - - - - - New-AzureRmSqlElasticPool - - - - - Remove-AzureRmSqlElasticPool - - - - - Set-AzureRmSqlElasticPool - - - - - - - - - Get-AzureRmSqlElasticPoolDatabase - - Gets elastic databases in an elastic pool and their property values. - - - - - Get - AzureRMSqlElasticPoolDatabase - - - - The Get-AzureRmSqlElasticPoolDatabase cmdlet gets elastic databases in an elastic pool and their property values. Specify the name of an elastic database in Azure SQL Database to see the property values for only that database. - - - - Get-AzureRmSqlElasticPoolDatabase - - ElasticPoolName - - Specifies the name of an elastic pool. This cmdlet gets databases in the pool that this parameter specifies. - - String - - - DatabaseName - - Specifies the name of the Azure SQL Database that this cmdlet gets. - - String - - - ServerName - - Specifies the name of a server that contains an elastic pool. This cmdlet gets a database in a pool on the server that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of a resource group that contains an elastic pool. This cmdlet gets a database in a pool in the resource group that this parameter specifies. - - String - - - - - - ElasticPoolName - - Specifies the name of an elastic pool. This cmdlet gets databases in the pool that this parameter specifies. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the Azure SQL Database that this cmdlet gets. - - String - - String - - - none - - - ServerName - - Specifies the name of a server that contains an elastic pool. This cmdlet gets a database in a pool on the server that this parameter specifies. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of a resource group that contains an elastic pool. This cmdlet gets a database in a pool in the resource group that this parameter specifies. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get all databases in an elastic pool -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlElasticPoolDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticPool01" - - This command gets all databases in an elastic pool named elasticPool01. - - - - - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlElasticPool - - - - - Get-AzureRmSqlElasticPoolActivity - - - - - New-AzureRmSqlElasticPool - - - - - Remove-AzureRmSqlElasticPool - - - - - Set-AzureRmSqlElasticPool - - - - - - - - - Get-AzureRmSqlElasticPoolRecommendation - - Gets elastic pool recommendations. - - - - - Get - AzureRMSqlElasticPoolRecommendation - - - - The Get-AzureRmSqlElasticPoolRecommendation cmdlet gets elastic pool recommendations for a server. These recommendations include the following values: - -- DatabaseCollection. Collection of database names that belong to the pool. + + + + + + + + + + + + + Azure SQL Database + + + + New-AzureRmSqlElasticPool + + + + Remove-AzureRmSqlElasticPool + + + + Set-AzureRmSqlElasticPool + + + + + + + + Get-AzureRmSqlElasticPoolActivity + + Gets the status of operations on an elastic pool. + + + + + Get + AzureRmSqlElasticPoolActivity + + + + The Get-AzureRmSqlElasticPoolActivity cmdlet gets the status of operations on an elastic pool in Azure SQL Database. You can see status of pool creation and configuration updates. + + + + Get-AzureRmSqlElasticPoolActivity + + ServerName + + Specifies the name of a server that contains an elastic pool. This cmdlet gets status for a pool on the server that this parameter specifies. + + String + + + ElasticPoolName + + Specifies the name of an elastic pool. This cmdlet gets status for the pool that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of a resource group that contains an elastic pool. This cmdlet gets status for a pool in the resource group that this parameter specifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of a server that contains an elastic pool. This cmdlet gets status for a pool on the server that this parameter specifies. + + String + + String + + + none + + + ElasticPoolName + + Specifies the name of an elastic pool. This cmdlet gets status for the pool that this parameter specifies. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of a resource group that contains an elastic pool. This cmdlet gets status for a pool in the resource group that this parameter specifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolActivityModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get the status of operations for an elastic pool -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlElasticPoolActivity -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" + + This command gets the status of the operations for the elastic pool named elasticPool01. + + + + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlElasticPool + + + + Get-AzureRmSqlElasticPoolDatabase + + + + New-AzureRmSqlElasticPool + + + + Remove-AzureRmSqlElasticPool + + + + Set-AzureRmSqlElasticPool + + + + + + + + Get-AzureRmSqlElasticPoolDatabase + + Gets elastic databases in an elastic pool and their property values. + + + + + Get + AzureRmSqlElasticPoolDatabase + + + + The Get-AzureRmSqlElasticPoolDatabase cmdlet gets elastic databases in an elastic pool and their property values. Specify the name of an elastic database in Azure SQL Database to see the property values for only that database. + + + + Get-AzureRmSqlElasticPoolDatabase + + ElasticPoolName + + Specifies the name of an elastic pool. This cmdlet gets databases in the pool that this parameter specifies. + + String + + + DatabaseName + + Specifies the name of the Azure SQL Database that this cmdlet gets. + + String + + + ServerName + + Specifies the name of a server that contains an elastic pool. This cmdlet gets a database in a pool on the server that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of a resource group that contains an elastic pool. This cmdlet gets a database in a pool in the resource group that this parameter specifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ElasticPoolName + + Specifies the name of an elastic pool. This cmdlet gets databases in the pool that this parameter specifies. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the Azure SQL Database that this cmdlet gets. + + String + + String + + + none + + + ServerName + + Specifies the name of a server that contains an elastic pool. This cmdlet gets a database in a pool on the server that this parameter specifies. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of a resource group that contains an elastic pool. This cmdlet gets a database in a pool in the resource group that this parameter specifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get all databases in an elastic pool -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlElasticPoolDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticPool01" + + This command gets all databases in an elastic pool named elasticPool01. + + + + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlElasticPool + + + + Get-AzureRmSqlElasticPoolActivity + + + + New-AzureRmSqlElasticPool + + + + Remove-AzureRmSqlElasticPool + + + + Set-AzureRmSqlElasticPool + + + + + + + + Get-AzureRmSqlElasticPoolRecommendation + + Gets elastic pool recommendations. + + + + + Get + AzureRmSqlElasticPoolRecommendation + + + + The Get-AzureRmSqlElasticPoolRecommendation cmdlet gets elastic pool recommendations for a server. These recommendations include the following values: + -- DatabaseCollection. Collection of database names that belong to the pool. -- DatabaseDtuMin. Data Transmission Unit (DTU) guarantee for database in elastic pool. -- DatabaseDtuMax. DTU cap for database in elastic pool. -- Dtu. DTU guarantee for elastic pool. @@ -3664,255 +4607,319 @@ Unit : Percent -- Edition. Edition for elastic pool. Valid values are: Basic, Standard, and Premium. -- IncludeAllDatabases. Whether to include all databases in the server in the elastic pool. -- Name. Name of the elastic pool. - - - - Get-AzureRmSqlElasticPoolRecommendation - - ServerName - - Specifies the name of the server for which this cmdlet gets recommendations. - - String - - - ResourceGroupName - - Specifies name of the resource group that contains the server. - - String - - - - - - ServerName - - Specifies the name of the server for which this cmdlet gets recommendations. - - String - - String - - - none - - - ResourceGroupName - - Specifies name of the resource group that contains the server. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get recommendations for a server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlElasticPoolRecommendation -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command gets the elastic pool recommendations for the server named server01. - - - - - - - - - - - - - - - - - - - - - Get-AzureRmSqlServer - - Returns information about Azure SQL Database servers. - - - - - Get - AzureRMSqlServer - - - - The Get-AzureRmSqlServer cmdlet returns information about one or more Azure SQL Database servers. Specify the name of a server to see information about only that server. - - - - Get-AzureRmSqlServer - - ServerName - - Specifies the name of the server that this cmdlet gets. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the servers that this cmdlet gets. - - String - - - - - - ServerName - - Specifies the name of the server that this cmdlet gets. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the servers that this cmdlet gets. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get all Azure SQL Servers in a resource group -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServer –ResourceGroupName "resourcegroup01" - - This command gets information about all the Azure SQL Database servers in the resource group resourcegroup01. - - - ResourceGroupName : resourcegroup01 + + + + Get-AzureRmSqlElasticPoolRecommendation + + ServerName + + Specifies the name of the server for which this cmdlet gets recommendations. + + String + + + ResourceGroupName + + Specifies name of the resource group that contains the server. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server for which this cmdlet gets recommendations. + + String + + String + + + none + + + ResourceGroupName + + Specifies name of the resource group that contains the server. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get recommendations for a server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlElasticPoolRecommendation -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command gets the elastic pool recommendations for the server named server01. + + + + + + + + + + + + + + + + + + + + Get-AzureRmSqlServer + + Returns information about Azure SQL Database servers. + + + + + Get + AzureRmSqlServer + + + + The Get-AzureRmSqlServer cmdlet returns information about one or more Azure SQL Database servers. Specify the name of a server to see information about only that server. + + + + Get-AzureRmSqlServer + + ServerName + + Specifies the name of the server that this cmdlet gets. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the servers that this cmdlet gets. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server that this cmdlet gets. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the servers that this cmdlet gets. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get all Azure SQL Servers in a resource group -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServer –ResourceGroupName "resourcegroup01" + + This command gets information about all the Azure SQL Database servers in the resource group resourcegroup01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 Location : Central US SqlAdministratorLogin : adminLogin @@ -3927,53 +4934,52 @@ SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags : - - - - - - - - - - - -------------------------- Example 2: Get information about an Azure SQL Database server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServer -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command gets information about the Azure SQL Database server named server01. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + + + -------------------------- Example 2: Get information about an Azure SQL Database server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServer -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command gets information about the Azure SQL Database server named server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 Location : Central US SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 -Tags : - - - - - - - - - - - - -------------------------- Example 3: Get all Azure SQL Servers in the subscription -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmResourceGroup | Get-AzureRmSqlServer - - This command gets information about all the Azure SQL Database servers in the current subscription. - - - ResourceGroupName : resourcegroup01 +Tags : + + + + + + + + + + + -------------------------- Example 3: Get all Azure SQL Servers in the subscription -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmResourceGroup | Get-AzureRmSqlServer + + This command gets information about all the Azure SQL Database servers in the current subscription. + + + ResourceGroupName : resourcegroup01 ServerName : server01 Location : Central US SqlAdministratorLogin : adminLogin @@ -3996,490 +5002,786 @@ SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags : - - - - - - - - - - - - - Azure SQL Database - - - - - New-AzureRmSqlServer - - - - - Remove-AzureRmSqlServer - - - - - Set-AzureRmSqlServer - - - - - - - - - Get-AzureRmSqlServerActiveDirectoryAdministrator - - Gets information about an Azure AD administrator for SQL Server. - - - - - Get - AzureRMSqlServerActiveDirectoryAdministrator - - - - The Get-AzureRmSqlServerActiveDirectoryAdministrator cmdlet gets information about an Azure Active Directory (Azure AD) administrator for an Azure SQL Server in the current subscription. - - - - Get-AzureRmSqlServerActiveDirectoryAdministrator - - ServerName - - Specifies the name of the SQL Server for which this cmdlet gets information. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the SQL Server for which this cmdlet gets information. - - String - - - - - - ServerName - - Specifies the name of the SQL Server for which this cmdlet gets information. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the SQL Server for which this cmdlet gets information. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Gets information about an administrator for a server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" - - - This command gets information about an Azure AD administrator for a server named Server06 that is associated with resource group named Resourcegroup01. - - - ResourceGroupName ServerName DisplayName ObjectId + + + + + + + + + + + + + Azure SQL Database + + + + New-AzureRmSqlServer + + + + Remove-AzureRmSqlServer + + + + Set-AzureRmSqlServer + + + + + + + + Get-AzureRmSqlServerActiveDirectoryAdministrator + + Gets information about an Azure AD administrator for SQL Server. + + + + + Get + AzureRmSqlServerActiveDirectoryAdministrator + + + + The Get-AzureRmSqlServerActiveDirectoryAdministrator cmdlet gets information about an Azure Active Directory (Azure AD) administrator for an Azure SQL Server in the current subscription. + + + + Get-AzureRmSqlServerActiveDirectoryAdministrator + + ServerName + + Specifies the name of the SQL Server for which this cmdlet gets information. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the SQL Server for which this cmdlet gets information. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the SQL Server for which this cmdlet gets information. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the SQL Server for which this cmdlet gets information. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Gets information about an administrator for a server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command gets information about an Azure AD administrator for a server named Server06 that is associated with resource group named Resourcegroup01. + + + ResourceGroupName ServerName DisplayName ObjectId ----------------- ---------- ----------- -------- resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b - - - - - - - - - - - - - Remove-AzureRmSqlServerActiveDirectoryAdministrator - - - - - Set-AzureRmSqlServerActiveDirectoryAdministrator - - - - - - - - - Get-AzureRmSqlServerAuditingPolicy - - Gets the auditing policy of an Azure SQL server. - - - - - Get - AzureRMSqlServerAuditingPolicy - - - - The Get-AzureRmSqlServerAuditingPolicy cmdlet gets the auditing policy of an Azure SQL server. Specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. This cmdlet returns a policy that is used by the Azure SQL databases that are both defined in the specified Azure SQL server and use its auditing policy. - - - - Get-AzureRmSqlServerAuditingPolicy - - ServerName - - Specifies the name of the Azure SQL server for which this cmdlet gets an auditing policy. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the Azure SQL server. - - String - - - - - - ServerName - - Specifies the name of the Azure SQL server for which this cmdlet gets an auditing policy. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the Azure SQL server. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get the auditing policy of an Azure SQL server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command gets the auditing policy of the server server02 in resource group resourcegroup01. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + + + + + Remove-AzureRmSqlServerActiveDirectoryAdministrator + + + + Set-AzureRmSqlServerActiveDirectoryAdministrator + + + + + + + + Get-AzureRmSqlServerAuditingPolicy + + Gets the auditing policy of an Azure SQL server. + + + + + Get + AzureRmSqlServerAuditingPolicy + + + + The Get-AzureRmSqlServerAuditingPolicy cmdlet gets the auditing policy of an Azure SQL server. Specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. This cmdlet returns a policy that is used by the Azure SQL databases that are both defined in the specified Azure SQL server and use its auditing policy. + + + + Get-AzureRmSqlServerAuditingPolicy + + ServerName + + Specifies the name of the Azure SQL server for which this cmdlet gets an auditing policy. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the Azure SQL server. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the Azure SQL server for which this cmdlet gets an auditing policy. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the Azure SQL server. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get the auditing policy of an Azure SQL server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command gets the auditing policy of the server server02 in resource group resourcegroup01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 StorageAccountName : StorageKeyType : Primary EventType : {PlainSQL_Success, PlainSQL_Failure, ParameterizedSQL_Success, ParameterizedSQL_Failure...} AuditState : New RetentionInDays : 0 -TableIdentifier : Server01 +TableIdentifier : Server01 + + + + + + + + + + + + + Set-AzureRmSqlServerAuditingPolicy + + + + Use-AzureRmSqlServerAuditingPolicy + + + + + + + + Get-AzureRmSqlServerCommunicationLink + + Gets communication links for elastic database transactions between Azure SQL Database servers. + + + + + Get + AzureRmSqlServerCommunicationLink + + + + The Get-AzureRmSqlServerCommunicationLink cmdlet gets server-to-server communication links for Elastic transactions. Specify the name of a server communication link to see the properties for that link. + + + + Get-AzureRmSqlServerCommunicationLink + + LinkName + + Specifies the name of the server communication link that this cmdlet gets. + + String + + + ServerName + + Specifies the name of the one of the servers that contain the server communication link that this cmdlet gets. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the server communication link that this cmdlet gets. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + LinkName + + Specifies the name of the server communication link that this cmdlet gets. + + String + + String + + + + + + ServerName + + Specifies the name of the one of the servers that contain the server communication link that this cmdlet gets. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that contains the server communication link that this cmdlet gets. + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerCommunicationLinkModel + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get all communication links for a server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServerCommunicationLink -ResourceGroupName "ResourceGroup01" -ServerName "ContosoServer17" + + This command gets all server-to-server communication links for elastic database transactions for the server named ContosoServer17. + + + + + + + + + + + + + + -------------------------- Example 2: Get a specific communication link for a server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServerCommunicationLink -ResourceGroupName "ResourceGroup01" -ServerName "ContosoServer01" -LinkName "Link01" + + This command gets the server-to-server communication link named Link01. + + + + + + + + + + + + + + + + New-AzureRmSqlServerCommunicationLink + + + + Remove-AzureRmSqlServerCommunicationLink + + + + + + + + Get-AzureRmSqlServerFirewallRule + + Gets firewall rules for an Azure SQL Database server. + + + + + Get + AzureRmSqlServerFirewallRule + + + + The Get-AzureRmSqlServerFirewallRule cmdlet gets firewall rules for an Azure SQL Database server. If you specify the name of a firewall rule, this cmdlet gets information about that specific firewall rule. + + + + Get-AzureRmSqlServerFirewallRule + + FirewallRuleName + + Specifies the name of the firewall rule that this cmdlet gets. + + String + + + ServerName + + Specifies the name of a server. This cmdlet gets firewall rules from the server that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of a resource group. This cmdlet gets firewall rules on a server in the resource group that this parameter specifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + FirewallRuleName + + Specifies the name of the firewall rule that this cmdlet gets. + + String + + String + + + none + + + ServerName + + Specifies the name of a server. This cmdlet gets firewall rules from the server that this parameter specifies. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of a resource group. This cmdlet gets firewall rules on a server in the resource group that this parameter specifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel + + + + + - - - - - - - - - - - - - Set-AzureRmSqlServerAuditingPolicy - - - - - Use-AzureRmSqlServerAuditingPolicy - - - - - - - - - Get-AzureRmSqlServerFirewallRule - - Gets firewall rules for an Azure SQL Database server. - - - - - Get - AzureRMSqlServerFirewallRule - - - - The Get-AzureRmSqlServerFirewallRule cmdlet gets firewall rules for an Azure SQL Database server. If you specify the name of a firewall rule, this cmdlet gets information about that specific firewall rule. - - - - Get-AzureRmSqlServerFirewallRule - - FirewallRuleName - - Specifies the name of the firewall rule that this cmdlet gets. - - String - - - ServerName - - Specifies the name of a server. This cmdlet gets firewall rules from the server that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of a resource group. This cmdlet gets firewall rules on a server in the resource group that this parameter specifies. - - String - - - - - - FirewallRuleName - - Specifies the name of the firewall rule that this cmdlet gets. - - String - - String - - - none - - - ServerName - - Specifies the name of a server. This cmdlet gets firewall rules from the server that this parameter specifies. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of a resource group. This cmdlet gets firewall rules on a server in the resource group that this parameter specifies. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get all rules for a server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServerFirewallRule -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command gets all the firewall rules for the server named server01. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get all rules for a server -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServerFirewallRule -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command gets all the firewall rules for the server named server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 StartIpAddress : 0.0.0.0 EndIpAddress : 0.0.0.0 @@ -4489,204 +5791,232 @@ ResourceGroupName : resourcegroup01 ServerName : server01 StartIpAddress : 1.2.3.4 EndIpAddress : 4.3.2.1 -FirewallRuleName : rule01 +FirewallRuleName : rule01 + + + + + + + + + + + + + Azure SQL Database + + + + New-AzureRmSqlServerFirewallRule + + + + Remove-AzureRmSqlServerFirewallRule + + + + Set-AzureRmSqlServerFirewallRule + + + + + + + + Get-AzureRmSqlServerServiceObjective + + Gets service objectives for an Azure SQL Database server. + + + + + Get + AzureRmSqlServerServiceObjective + + + + The Get-AzureRmSqlServerServiceObjective cmdlet gets the available service objectives for an Azure SQL Database server. + + + + Get-AzureRmSqlServerServiceObjective + + ServiceObjectiveName + + Specifies the name of a service objective for an Azure SQL Database server. Valid values are: Basic, S0, S1, S2, P1, P2, and P3. + + String + + + ServerName + + Specifies the name of an Azure SQL Database server. This cmdlet gets service objectives for the server that this parameter specifies. + + String + + + DatabaseName + + Specifies the name of an Azure SQL Database. + + String + + + ResourceGroupName + + Specifies the name of a resource group. This cmdlet gets service objectives for an Azure SQL Database server in the resource group that this parameter specifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServiceObjectiveName + + Specifies the name of a service objective for an Azure SQL Database server. Valid values are: Basic, S0, S1, S2, P1, P2, and P3. + + String + + String + + + none + + + ServerName + + Specifies the name of an Azure SQL Database server. This cmdlet gets service objectives for the server that this parameter specifies. + + String + + String + + + none + + + DatabaseName + + Specifies the name of an Azure SQL Database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of a resource group. This cmdlet gets service objectives for an Azure SQL Database server in the resource group that this parameter specifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + - - - - - - - - - - - - - Azure SQL Database - - - - - New-AzureRmSqlServerFirewallRule - - - - - Remove-AzureRmSqlServerFirewallRule - - - - - Set-AzureRmSqlServerFirewallRule - - - - - - - - - Get-AzureRmSqlServerServiceObjective - - Gets service objectives for an Azure SQL Database server. - - - - - Get - AzureRMSqlServerServiceObjective - - - - The Get-AzureRmSqlServerServiceObjective cmdlet gets the available service objectives for an Azure SQL Database server. - - - - Get-AzureRmSqlServerServiceObjective - - ServiceObjectiveName - - Specifies the name of a service objective for an Azure SQL Database server. Valid values are: Basic, S0, S1, S2, P1, P2, and P3. - - String - - - ServerName - - Specifies the name of an Azure SQL Database server. This cmdlet gets service objectives for the server that this parameter specifies. - - String - - - DatabaseName - - Specifies the name of an Azure SQL Database. - - String - - - ResourceGroupName - - Specifies the name of a resource group. This cmdlet gets service objectives for an Azure SQL Database server in the resource group that this parameter specifies. - - String - - - - - - ServiceObjectiveName - - Specifies the name of a service objective for an Azure SQL Database server. Valid values are: Basic, S0, S1, S2, P1, P2, and P3. - - String - - String - - - none - - - ServerName - - Specifies the name of an Azure SQL Database server. This cmdlet gets service objectives for the server that this parameter specifies. - - String - - String - - - none - - - DatabaseName - - Specifies the name of an Azure SQL Database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of a resource group. This cmdlet gets service objectives for an Azure SQL Database server in the resource group that this parameter specifies. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get a service objective -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServerServiceObjective -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command gets the service objective for the server named server01. The command specifies the database named database01. - - - ResourceGroupName ServerName ServiceObjectiveName Description Enabled IsDefault IsSystem + + + + + + + Microsoft.Azure.Commands.Sql.ServiceObjective.Model.AzureSqlServerServiceObjectiveModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get a service objective -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServerServiceObjective -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command gets the service objective for the server named server01. The command specifies the database named database01. + + + ResourceGroupName ServerName ServiceObjectiveName Description Enabled IsDefault IsSystem ----------------- ---------- -------------------- ----------- ------- --------- -------- resourcegroup01 server01 ElasticPool True False False resourcegroup01 server01 System True False True @@ -4702,802 +6032,725 @@ resourcegroup01 server01 P1 True True resourcegroup01 server01 P2 True False False resourcegroup01 server01 P3 True False False resourcegroup01 server01 P4 True False False - - - - - - - - - - - - - Azure SQL Database - - - - - - - - - Get-AzureRmSqlServerUpgrade - - Gets the status of an Azure SQL Database server upgrade. - - - - - Get - AzureRMSqlServerUpgrade - - - - The Get-AzureRmSqlServerUpgrade cmdlet gets the status of an Azure SQL Database server upgrade. - - - - Get-AzureRmSqlServerUpgrade - - ServerName - - Specifies the name of the server about which this cmdlet gets upgrade status. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status. - - String - - - - - - ServerName - - Specifies the name of the server about which this cmdlet gets upgrade status. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get the status of an upgrade -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServerUpgrade -ResourceGroupName "resourcegroup01" -ServerName "server01" | Format-List - - - This command gets the status of an upgrade request from the server named server01 in resource group named resourcegroup01. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + + + + + Azure SQL Database + + + + + + + + Get-AzureRmSqlServerUpgrade + + Gets the status of an Azure SQL Database server upgrade. + + + + + Get + AzureRmSqlServerUpgrade + + + + The Get-AzureRmSqlServerUpgrade cmdlet gets the status of an Azure SQL Database server upgrade. + + + + Get-AzureRmSqlServerUpgrade + + ServerName + + Specifies the name of the server about which this cmdlet gets upgrade status. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server about which this cmdlet gets upgrade status. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the server about which this cmdlet gets upgrade status. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get the status of an upgrade -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServerUpgrade -ResourceGroupName "resourcegroup01" -ServerName "server01" | Format-List + + This command gets the status of an upgrade request from the server named server01 in resource group named resourcegroup01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 Status : Queued - - - - - - - - - - - - - Start-AzureRmSqlServerUpgrade - - - - - Stop-AzureRmSqlServerUpgrade - - - - - - - - - Get-AzureRmSqlServerUpgradeHint - - Gets pricing tier hints for upgrading a SQL Database server. - - - - - Get - AzureRMSqlServerUpgradeHint - - - - The Get-AzureRmSqlServerUpgradeHint cmdlet gets pricing tier hints for upgrading an Azure SQL Database server. Hints may contain the elastic database pool and stand-alone database hints. Databases that are still in Web and Business pricing tiers get a hint to upgrade to the new Basic, Standard, or Premium pricing tiers, or to go into the elastic database pool. This cmdlet returns hints for all databases that the specified server hosts. - - - - Get-AzureRmSqlServerUpgradeHint - - ServerName - - Specifies the name of the server for which this cmdlet gets an upgrade hint. - - String - - - ExcludeElasticPools - - Indicates whether to exclude databases that are included in elastic database pool recommendations. - - Boolean - - - ResourceGroupName - - Specifies the name of the resource group that contains the server for which this cmdlet gets an upgrade hint. - - String - - - - - - ServerName - - Specifies the name of the server for which this cmdlet gets an upgrade hint. - - String - - String - - - none - - - ExcludeElasticPools - - Indicates whether to exclude databases that are included in elastic database pool recommendations. - - Boolean - - Boolean - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the server for which this cmdlet gets an upgrade hint. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get combined recommendations -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServerUpgradeHint -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command gets combined recommendations for all the databases on server named server01. - - - ElasticPools Databases + + + + + + + + + + + + + Start-AzureRmSqlServerUpgrade + + + + Stop-AzureRmSqlServerUpgrade + + + + + + + + Get-AzureRmSqlServerUpgradeHint + + Gets pricing tier hints for upgrading a SQL Database server. + + + + + Get + AzureRmSqlServerUpgradeHint + + + + The Get-AzureRmSqlServerUpgradeHint cmdlet gets pricing tier hints for upgrading an Azure SQL Database server. Hints may contain the elastic database pool and stand-alone database hints. Databases that are still in Web and Business pricing tiers get a hint to upgrade to the new Basic, Standard, or Premium pricing tiers, or to go into the elastic database pool. This cmdlet returns hints for all databases that the specified server hosts. + + + + Get-AzureRmSqlServerUpgradeHint + + ServerName + + Specifies the name of the server for which this cmdlet gets an upgrade hint. + + String + + + ExcludeElasticPools + + Indicates whether to exclude databases that are included in elastic database pool recommendations. + + Boolean + + + ResourceGroupName + + Specifies the name of the resource group that contains the server for which this cmdlet gets an upgrade hint. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server for which this cmdlet gets an upgrade hint. + + String + + String + + + none + + + ExcludeElasticPools + + Indicates whether to exclude databases that are included in elastic database pool recommendations. + + Boolean + + Boolean + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the server for which this cmdlet gets an upgrade hint. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Get combined recommendations -------------------------- + + PS C:\> + + PS C:\> Get-AzureRmSqlServerUpgradeHint -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command gets combined recommendations for all the databases on server named server01. + + + ElasticPools Databases ------------ --------- {} {database01, database02} - - - - - - - - - - - - - Get-AzureRmSqlDatabaseExpanded - - - - - Get-AzureRmSqlElasticPoolRecommendation - - - - - - - - - Get-AzureRmSqlServerCommunicationLink - - Gets communication links for elastic database transactions between Azure SQL Database servers. - - - - - Get - AzureRmSqlServerCommunicationLink - - - - The Get-AzureRmSqlServerCommunicationLink cmdlet gets server-to-server communication links for Elastic transactions. Specify the name of a server communication link to see the properties for that link. - - - - Get-AzureRmSqlServerCommunicationLink - - LinkName - - Specifies the name of the server communication link that this cmdlet gets. - - String - - - ServerName - - Specifies the name of a server. This server contains the communication link that this cmdlet gets. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which the server specified by the ServerName parameter belongs. - - String - - - - - - LinkName - - Specifies the name of the server communication link that this cmdlet gets. - - String - - String - - - - - - ServerName - - Specifies the name of the one of the servers that contain the server communication link that this cmdlet gets. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of the resource group that contains the server communication link that this cmdlet gets. - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerCommunicationLinkModel - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Get all communication links for a server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServerCommunicationLink -ResourceGroupName "ResourceGroup01" -ServerName "ContosoServer17" - - This command gets all server-to-server communication links for elastic database transactions for the server named ContosoServer17. - - - - - - - - - - - - - - -------------------------- Example 2: Get a specific communication link for a server -------------------------- - - PS C:\> - - PS C:\> Get-AzureRmSqlServerCommunicationLink -ResourceGroupName "ResourceGroup01" -ServerName "ContosoServer01" -LinkName "Link01" - - This command gets the server-to-server communication link named Link01. - - - - - - - - - - - - - - - - New-AzureRmSqlServerCommunicationLink - - - - - Remove-AzureRmSqlServerCommunicationLink - - - - - - - - - New-AzureRmSqlDatabase - - Creates an Azure SQL database or an elastic database. - - - - - New - AzureRMSqlDatabase - - - - The New-AzureRmSqlDatabase cmdlet creates a new Azure SQL database. + + + + + + + + + + + + + Get-AzureRmSqlDatabaseExpanded + + + + Get-AzureRmSqlElasticPoolRecommendation + + + + + + + + New-AzureRmSqlDatabase + + Creates an Azure SQL database or an elastic database. + + + + + New + AzureRmSqlDatabase + + + + The New-AzureRmSqlDatabase cmdlet creates a new Azure SQL database. You can also create an elastic database by setting the ElasticPoolName parameter to an existing elastic pool. - - - - New-AzureRmSqlDatabase - - DatabaseName - - Specifies the name of the database. - - String - - - CollationName - - Specifies the name of the Azure SQL database collation. - - String - - - CatalogCollation - - Specifies the name of the Azure SQL database catalog collation. - - String - - - MaxSizeBytes - - Specifies the maximum size of the database in bytes. - - Int64 - - - Edition - - Specifies the edition to assign to the database. Valid values are: + + + + New-AzureRmSqlDatabase + + DatabaseName + + Specifies the name of the database. + + String + + + CollationName + + Specifies the name of the Azure SQL database collation. + + String + + + CatalogCollation + + Specifies the name of the Azure SQL database catalog collation. + + String + + + MaxSizeBytes + + Specifies the maximum size of the database in bytes. + + Int64 + + + Edition + + Specifies the edition to assign to the database. Valid values are: -- Default -- None -- Premium -- Basis -- Standard - - DatabaseEdition - - - RequestedServiceObjectiveName - - Specifies the name of the service objective to assign to the database. - - String - - - ElasticPoolName - - Specifies the name of the elastic pool in which to put the database. - - String - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the new server. - - Dictionary`2[String] - - - ServerName - - Specifies the name of the server to create the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group that the server is in. - - String - - - - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - CollationName - - Specifies the name of the Azure SQL database collation. - - String - - String - - - none - - - CatalogCollation - - Specifies the name of the Azure SQL database catalog collation. - - String - - String - - - none - - - MaxSizeBytes - - Specifies the maximum size of the database in bytes. - - Int64 - - Int64 - - - none - - - Edition - - Specifies the edition to assign to the database. Valid values are: + + DatabaseEdition + + + RequestedServiceObjectiveName + + Specifies the name of the service objective to assign to the database. + + String + + + ElasticPoolName + + Specifies the name of the elastic pool in which to put the database. + + String + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the new server. + + Dictionary`2[String] + + + ServerName + + Specifies the name of the server to create the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the server is in. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + CollationName + + Specifies the name of the Azure SQL database collation. + + String + + String + + + none + + + CatalogCollation + + Specifies the name of the Azure SQL database catalog collation. + + String + + String + + + none + + + MaxSizeBytes + + Specifies the maximum size of the database in bytes. + + Int64 + + Int64 + + + none + + + Edition + + Specifies the edition to assign to the database. Valid values are: -- Default -- None -- Premium -- Basis -- Standard - - DatabaseEdition - - DatabaseEdition - - - none - - - RequestedServiceObjectiveName - - Specifies the name of the service objective to assign to the database. - - String - - String - - - none - - - ElasticPoolName - - Specifies the name of the elastic pool in which to put the database. - - String - - String - - - none - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the new server. - - Dictionary`2[String] - - Dictionary`2[String] - - - none - - - ServerName - - Specifies the name of the server to create the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that the server is in. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Create an database in a specified server -------------------------- - - PS C:\> - - PS C:\> New-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command creates a database named database01 in server server01. - - - ResourceGroupName : resourcegroup01 + + DatabaseEdition + + DatabaseEdition + + + none + + + RequestedServiceObjectiveName + + Specifies the name of the service objective to assign to the database. + + String + + String + + + none + + + ElasticPoolName + + Specifies the name of the elastic pool in which to put the database. + + String + + String + + + none + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the new server. + + Dictionary`2[String] + + Dictionary`2[String] + + + none + + + ServerName + + Specifies the name of the server to create the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that the server is in. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Create an database in a specified server -------------------------- + + PS C:\> + + PS C:\> New-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command creates a database named database01 in server server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US @@ -5515,26 +6768,26 @@ RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : Tags : - - - - - - - - - - - -------------------------- Example 2: Create an elastic database in a specified server -------------------------- - - PS C:\> - - PS C:\> New-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -ElasticPoolName "elasticpool01" - - This command creates a database named database01 in the elastic pool named elasticpool01 in server server01. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + + + -------------------------- Example 2: Create an elastic database in a specified server -------------------------- + + PS C:\> + + PS C:\> New-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -ElasticPoolName "elasticpool01" + + This command creates a database named database01 in the elastic pool named elasticpool01 in server server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database02 Location : Central US @@ -5552,1245 +6805,1337 @@ RequestedServiceObjectiveName : ElasticPoolName : elasticpool01 EarliestRestoreDate : Tags : - - - - - - - - - - - - - Get-AzureRmSqlDatabase - - - - - Remove-AzureRmSqlDatabase - - - - - Resume-AzureRmSqlDatabase - - - - - Set-AzureRmSqlDatabase - - - - - Suspend-AzureRmSqlDatabase - - - - - Azure SQL Database - - - - - New-AzureRmSqlServer - - - - - New-AzureRmSqlElasticPool - - - - - - - - - New-AzureRmSqlDatabaseCopy - - Creates a copy of an existing Azure SQL Database using the snapshot of the data at the time of the call. - - - - - New - AzureRMSqlDatabaseCopy - - - - This cmdlet replaces the Start-AzureRqlDatabaseCopy cmdlet when used to create a one-time database copy. It returns the database object of the copy. - Note: Use New-AzureRmSqlDatabaseSecondary for setting up geo-replication for a database. - - - - New-AzureRmSqlDatabaseCopy - - DatabaseName - - The name of the Azure SQL Database to be copied. - - String - - - ServiceObjectiveName - - The name of the service objective to assign to the copy. - - String - - - ElasticPoolName - - The name of the Elastic Pool to put the copy in. - - String - - - Tags - - The tags to associate with the Azure SQL Database copy. - - Dictionary`2[String] - - - CopyResourceGroupName - - The name of the Azure Resource Group to create copy in. - - String - - - CopyServerName - - The name of the Azure SQL Server to create copy in. - - String - - - CopyDatabaseName - - The name of the Azure SQL Database copy. - - String - - - ServerName - - The name of the Azure SQL Server the database to be copied is in. - - String - - - ResourceGroupName - - The name of the Azure Resource Group the database to be copied is in. - - String - - - - - - DatabaseName - - The name of the Azure SQL Database to be copied. - - String - - String - - - - - - - ServiceObjectiveName - - The name of the service objective to assign to the copy. - - String - - String - - - - - - - ElasticPoolName - - The name of the Elastic Pool to put the copy in. - - String - - String - - - - - - - Tags - - The tags to associate with the Azure SQL Database copy. - - Dictionary`2[String] - - Dictionary`2[String] - - - - - - - CopyResourceGroupName - - The name of the Azure Resource Group to create copy in. - - String - - String - - - - - - - CopyServerName - - The name of the Azure SQL Server to create copy in. - - String - - String - - - - - - - CopyDatabaseName - - The name of the Azure SQL Database copy. - - String - - String - - - - - - - ServerName - - The name of the Azure SQL Server the database to be copied is in. - - String - - String - - - - - - - ResourceGroupName - - The name of the Azure Resource Group the database to be copied is in. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - - - - - - - New-AzureRmSqlDatabaseDataMaskingRule - - Creates a data masking rule for an Azure SQL database. - - - - - New - AzureRMSqlDatabaseDataMaskingRule - - - - The New-AzureRmSqlDatabaseDataMaskingRule cmdlet is used to create a data masking rule in an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule. Provide the TableName and ColumnName to specify the target of the rule and the MaskingFunction parameter to define how the data is masked. - If MaskingFunction has a value of Number or Text, you can specify the NumberFrom and NumberTo parameters, for number masking, or the PrefixSize, ReplacementString, and SuffixSize for text masking. - If the command succeeds and the PassThru parameter is used, the cmdlet returns an object describing the data masking rule properties as well as the rule identifiers. Rule identifiers include, but are not limited to, ResourceGroupName, ServerName, DatabaseName, and RuleID. - - - - New-AzureRmSqlDatabaseDataMaskingRule - - ColumnName - - Specifies the name of the column that is the target of this masking rule. - - String - - - SchemaName - - - - String - - - TableName - - Specifies the name of the table in the database of which the masked column is part. - - String - - - MaskingFunction - - Specifies the masking function that the rule uses. Valid values are: - -- Default + + + + + + + + + + + + + Get-AzureRmSqlDatabase + + + + Remove-AzureRmSqlDatabase + + + + Resume-AzureRmSqlDatabase + + + + Set-AzureRmSqlDatabase + + + + Suspend-AzureRmSqlDatabase + + + + Azure SQL Database + + + + New-AzureRmSqlServer + + + + New-AzureRmSqlElasticPool + + + + + + + + New-AzureRmSqlDatabaseCopy + + Creates a copy of an existing Azure SQL Database using the snapshot of the data at the time of the call. + + + + + New + AzureRmSqlDatabaseCopy + + + + This cmdlet replaces the Start-AzureRqlDatabaseCopy cmdlet when used to create a one-time database copy. It returns the database object of the copy. + Note: Use New-AzureRmSqlDatabaseSecondary for setting up geo-replication for a database. + + + + New-AzureRmSqlDatabaseCopy + + DatabaseName + + The name of the Azure SQL Database to be copied. + + String + + + ServiceObjectiveName + + The name of the service objective to assign to the copy. + + String + + + ElasticPoolName + + The name of the Elastic Pool to put the copy in. + + String + + + Tags + + The tags to associate with the Azure SQL Database copy. + + Dictionary`2[String] + + + CopyResourceGroupName + + The name of the Azure Resource Group to create copy in. + + String + + + CopyServerName + + The name of the Azure SQL Server to create copy in. + + String + + + CopyDatabaseName + + The name of the Azure SQL Database copy. + + String + + + ServerName + + The name of the Azure SQL Server the database to be copied is in. + + String + + + ResourceGroupName + + The name of the Azure Resource Group the database to be copied is in. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DatabaseName + + The name of the Azure SQL Database to be copied. + + String + + String + + + + + + ServiceObjectiveName + + The name of the service objective to assign to the copy. + + String + + String + + + + + + ElasticPoolName + + The name of the Elastic Pool to put the copy in. + + String + + String + + + + + + Tags + + The tags to associate with the Azure SQL Database copy. + + Dictionary`2[String] + + Dictionary`2[String] + + + + + + CopyResourceGroupName + + The name of the Azure Resource Group to create copy in. + + String + + String + + + + + + CopyServerName + + The name of the Azure SQL Server to create copy in. + + String + + String + + + + + + CopyDatabaseName + + The name of the Azure SQL Database copy. + + String + + String + + + + + + ServerName + + The name of the Azure SQL Server the database to be copied is in. + + String + + String + + + + + + ResourceGroupName + + The name of the Azure Resource Group the database to be copied is in. + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + New-AzureRmSqlDatabaseDataMaskingRule + + Creates a data masking rule for an Azure SQL database. + + + + + New + AzureRmSqlDatabaseDataMaskingRule + + + + The New-AzureRmSqlDatabaseDataMaskingRule cmdlet is used to create a data masking rule in an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule. Provide the TableName and ColumnName to specify the target of the rule and the MaskingFunction parameter to define how the data is masked. + If MaskingFunction has a value of Number or Text, you can specify the NumberFrom and NumberTo parameters, for number masking, or the PrefixSize, ReplacementString, and SuffixSize for text masking. + If the command succeeds and the PassThru parameter is used, the cmdlet returns an object describing the data masking rule properties as well as the rule identifiers. Rule identifiers include, but are not limited to, ResourceGroupName, ServerName, DatabaseName, and RuleID. + + + + New-AzureRmSqlDatabaseDataMaskingRule + + MaskingFunction + + Specifies the masking function that the rule uses. Valid values are: + -- Default -- NoMasking -- Text -- Number -- SocialSecurityNumber -- CreditCardNumber -- Email - The default value is Default. - - String - - - PrefixSize - - Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - Nullable`1[UInt32] - - - ReplacementString - - Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string. - - String - - - SuffixSize - - Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - Nullable`1[UInt32] - - - NumberFrom - - Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. - - Nullable`1[Double] - - - NumberTo - - Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. - - Nullable`1[Double] - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - - RuleId - - Specifies the identifier for the data masking rule. - - String - - - ServerName - - Specifies the name of the server that contains the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - - - - - ColumnName - - Specifies the name of the column that is the target of this masking rule. - - String - - String - - - none - - - SchemaName - - - - String - - String - - - none - - - TableName - - Specifies the name of the table in the database of which the masked column is part. - - String - - String - - - none - - - MaskingFunction - - Specifies the masking function that the rule uses. Valid values are: - -- Default + The default value is Default. + + String + + + PrefixSize + + Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + Nullable`1[UInt32] + + + ReplacementString + + Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string. + + String + + + SuffixSize + + Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + Nullable`1[UInt32] + + + NumberFrom + + Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. + + Nullable`1[Double] + + + NumberTo + + Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. + + Nullable`1[Double] + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + SchemaName + + + + String + + + TableName + + Specifies the name of the table in the database of which the masked column is part. + + String + + + ColumnName + + Specifies the name of the column that is the target of this masking rule. + + String + + + ServerName + + Specifies the name of the server that contains the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + MaskingFunction + + Specifies the masking function that the rule uses. Valid values are: + -- Default -- NoMasking -- Text -- Number -- SocialSecurityNumber -- CreditCardNumber -- Email - The default value is Default. - - String - - String - - - none - - - PrefixSize - - Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - Nullable`1[UInt32] - - Nullable`1[UInt32] - - - none - - - ReplacementString - - Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string. - - String - - String - - - none - - - SuffixSize - - Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - Nullable`1[UInt32] - - Nullable`1[UInt32] - - - none - - - NumberFrom - - Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. - - Nullable`1[Double] - - Nullable`1[Double] - - - none - - - NumberTo - - Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. - - Nullable`1[Double] - - Nullable`1[Double] - - - none - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - RuleId - - Specifies the identifier for the data masking rule. - - String - - String - - - none - - - ServerName - - Specifies the name of the server that contains the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Create a data masking rule for a number column in a database -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -RuleId "rule01" -SchemaName "schema01" -TableName "table01" -ColumnName "column01" -MaskingFunction Number -NumberFrom 5 -NumberTo 14 - - This command creates a data masking rule for the column named column01 in the table named table01 in the schema named schema01. database01 contains all these elements. The rule is a number masking rule that uses a random number between 5 and 14 as the masked value. The rule is named rule01. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseDataMaskingRule - - - - - Remove-AzureRmSqlDatabaseDataMaskingRule - - - - - Set-AzureRmSqlDatabaseDataMaskingRule - - - - - Azure SQL Database - - - - - - - - - New-AzureRmSqlDatabaseSecondary - - Creates a new secondary database for an existing Azure SQL Database and starts data replication. - - - - - New - AzureRMSqlDatabaseSecondary - - - - This cmdlet replaces the Start-AzureSqlDatabaseCopy cmdlet when used for setting up geo-replication for a database. It returns the geo-replication link object from the primary to the secondary database. - - - - New-AzureRmSqlDatabaseSecondary - - DatabaseName - - The name of the Azure SQL Database to act as primary. - - String - - - SecondaryServiceObjectiveName - - The name of the service objective to assign to the secondary. - - String - - - SecondaryElasticPoolName - - The name of the Elastic Pool to put the secondary in. - - String - - - Tags - - The tags to associate with the Azure SQL Database replication link. - - Dictionary`2[String] - - - PartnerResourceGroupName - - The name of the Azure Resource Group to create secondary in. - - String - - - PartnerServerName - - The name of the Azure SQL Server to create secondary in. - - String - - - AllowConnections - - The read intent of the secondary Azure SQL Database. - - AllowConnections - - - ServerName - - The name of the Azure SQL Server of the primary Azure SQL Database. - - String - - - ResourceGroupName - - The name of the Azure Resource Group of the primary Azure SQL Database. - - String - - - - - - DatabaseName - - The name of the Azure SQL Database to act as primary. - - String - - String - - - - - - - SecondaryServiceObjectiveName - - The name of the service objective to assign to the secondary. - - String - - String - - - - - - - SecondaryElasticPoolName - - The name of the Elastic Pool to put the secondary in. - - String - - String - - - - - - - Tags - - The tags to associate with the Azure SQL Database replication link. - - Dictionary`2[String] - - Dictionary`2[String] - - - - - - - PartnerResourceGroupName - - The name of the Azure Resource Group to create secondary in. - - String - - String - - - - - - - PartnerServerName - - The name of the Azure SQL Server to create secondary in. - - String - - String - - - - - - - AllowConnections - - The read intent of the secondary Azure SQL Database. - - AllowConnections - - AllowConnections - - - - - - - ServerName - - The name of the Azure SQL Server of the primary Azure SQL Database. - - String - - String - - - - - - - ResourceGroupName - - The name of the Azure Resource Group of the primary Azure SQL Database. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - - - - - - - New-AzureRmSqlElasticPool - - Creates an elastic database pool in Azure SQL Database. - - - - - New - AzureRMSqlElasticPool - - - - The New-AzureRmSqlElasticPool cmdlet creates an elastic database pool in Azure SQL Database. - - - - New-AzureRmSqlElasticPool - - ElasticPoolName - - Specifies the name of the elastic pool that this cmdlet creates. - - String - - - Edition - - Specifies the edition of Azure SQL Database for the elastic pool. Valid values are: - -- Premium + The default value is Default. + + String + + String + + + none + + + PrefixSize + + Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + Nullable`1[UInt32] + + Nullable`1[UInt32] + + + none + + + ReplacementString + + Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string. + + String + + String + + + none + + + SuffixSize + + Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + Nullable`1[UInt32] + + Nullable`1[UInt32] + + + none + + + NumberFrom + + Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. + + Nullable`1[Double] + + Nullable`1[Double] + + + none + + + NumberTo + + Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. + + Nullable`1[Double] + + Nullable`1[Double] + + + none + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + SchemaName + + + + String + + String + + + none + + + TableName + + Specifies the name of the table in the database of which the masked column is part. + + String + + String + + + none + + + ColumnName + + Specifies the name of the column that is the target of this masking rule. + + String + + String + + + none + + + ServerName + + Specifies the name of the server that contains the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + RuleId + + Specifies the identifier for the data masking rule. + + string + + string + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Create a data masking rule for a number column in a database -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -RuleId "rule01" -SchemaName "schema01" -TableName "table01" -ColumnName "column01" -MaskingFunction Number -NumberFrom 5 -NumberTo 14 + + This command creates a data masking rule for the column named column01 in the table named table01 in the schema named schema01. database01 contains all these elements. The rule is a number masking rule that uses a random number between 5 and 14 as the masked value. The rule is named rule01. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseDataMaskingRule + + + + Remove-AzureRmSqlDatabaseDataMaskingRule + + + + Set-AzureRmSqlDatabaseDataMaskingRule + + + + Azure SQL Database + + + + + + + + New-AzureRmSqlDatabaseSecondary + + Creates a new secondary database for an existing Azure SQL Database and starts data replication. + + + + + New + AzureRmSqlDatabaseSecondary + + + + This cmdlet replaces the Start-AzureSqlDatabaseCopy cmdlet when used for setting up geo-replication for a database. It returns the geo-replication link object from the primary to the secondary database. + + + + New-AzureRmSqlDatabaseSecondary + + DatabaseName + + The name of the Azure SQL Database to act as primary. + + String + + + SecondaryServiceObjectiveName + + The name of the service objective to assign to the secondary. + + String + + + SecondaryElasticPoolName + + The name of the Elastic Pool to put the secondary in. + + String + + + Tags + + The tags to associate with the Azure SQL Database replication link. + + Dictionary`2[String] + + + PartnerResourceGroupName + + The name of the Azure Resource Group to create secondary in. + + String + + + PartnerServerName + + The name of the Azure SQL Server to create secondary in. + + String + + + AllowConnections + + The read intent of the secondary Azure SQL Database. + + AllowConnections + + + ServerName + + The name of the Azure SQL Server of the primary Azure SQL Database. + + String + + + ResourceGroupName + + The name of the Azure Resource Group of the primary Azure SQL Database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DatabaseName + + The name of the Azure SQL Database to act as primary. + + String + + String + + + + + + SecondaryServiceObjectiveName + + The name of the service objective to assign to the secondary. + + String + + String + + + + + + SecondaryElasticPoolName + + The name of the Elastic Pool to put the secondary in. + + String + + String + + + + + + Tags + + The tags to associate with the Azure SQL Database replication link. + + Dictionary`2[String] + + Dictionary`2[String] + + + + + + PartnerResourceGroupName + + The name of the Azure Resource Group to create secondary in. + + String + + String + + + + + + PartnerServerName + + The name of the Azure SQL Server to create secondary in. + + String + + String + + + + + + AllowConnections + + The read intent of the secondary Azure SQL Database. + + AllowConnections + + AllowConnections + + + + + + ServerName + + The name of the Azure SQL Server of the primary Azure SQL Database. + + String + + String + + + + + + ResourceGroupName + + The name of the Azure Resource Group of the primary Azure SQL Database. + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + New-AzureRmSqlElasticPool + + Creates an elastic database pool in Azure SQL Database. + + + + + New + AzureRmSqlElasticPool + + + + The New-AzureRmSqlElasticPool cmdlet creates an elastic database pool in Azure SQL Database. + + + + New-AzureRmSqlElasticPool + + ElasticPoolName + + Specifies the name of the elastic pool that this cmdlet creates. + + String + + + Edition + + Specifies the edition of Azure SQL Database for the elastic pool. Valid values are: + -- Premium -- Basic -- Standard - For the current preview, the edition must be Standard. - - DatabaseEdition - - - Dtu - - Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: - -- Basic. 100 DTUs + For the current preview, the edition must be Standard. + + DatabaseEdition + + + Dtu + + Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: + -- Basic. 100 DTUs -- Standard. 100 DTUs -- Premium. 125 DTUs - - Int32 - - - StorageMB - - Specifies the storage limit, in megabytes, for the elastic pool. You cannot specify a value for this parameter for the Premium edition. - If you do not specify this parameter, this cmdlet calculates a value based on the value of the Dtu parameter. We recommend that you do not specify the StorageMB parameter. - If you specify StorageMB, but do not specify Dtu, the cmdlet calculates a value for Dtu. If you specify values for both, the values must be consistent. For more information about the relationship between storage and DTUs, see eDTU and storage limits for elastic pools and elastic databases. - - Int32 - - - DatabaseDtuMin - - Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0). - - Int32 - - - DatabaseDtuMax - - Specifies the maximum number of Database Throughput Units (DTUs) that any single database in the pool can consume. The default values for different editions are as follows: - -- Basic. 5 DTUs + + Int32 + + + StorageMB + + Specifies the storage limit, in megabytes, for the elastic pool. You cannot specify a value for this parameter for the Premium edition. + If you do not specify this parameter, this cmdlet calculates a value based on the value of the Dtu parameter. We recommend that you do not specify the StorageMB parameter. + If you specify StorageMB, but do not specify Dtu, the cmdlet calculates a value for Dtu. If you specify values for both, the values must be consistent. For more information about the relationship between storage and DTUs, see eDTU and storage limits for elastic pools and elastic databases. + + Int32 + + + DatabaseDtuMin + + Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0). + + Int32 + + + DatabaseDtuMax + + Specifies the maximum number of Database Throughput Units (DTUs) that any single database in the pool can consume. The default values for different editions are as follows: + -- Basic. 5 DTUs -- Standard. 100 DTUs -- Premium. 125 DTUs - - Int32 - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the elastic pool. - - Dictionary`2[String] - - - ServerName - - Specifies the name of the server in which this cmdlet creates the elastic pool. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the elastic pool that this cmdlet creates. - - String - - - - - - ElasticPoolName - - Specifies the name of the elastic pool that this cmdlet creates. - - String - - String - - - none - - - Edition - - Specifies the edition of Azure SQL Database for the elastic pool. Valid values are: - -- Premium + + Int32 + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the elastic pool. + + Dictionary`2[String] + + + ServerName + + Specifies the name of the server in which this cmdlet creates the elastic pool. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the elastic pool that this cmdlet creates. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ElasticPoolName + + Specifies the name of the elastic pool that this cmdlet creates. + + String + + String + + + none + + + Edition + + Specifies the edition of Azure SQL Database for the elastic pool. Valid values are: + -- Premium -- Basic -- Standard - For the current preview, the edition must be Standard. - - DatabaseEdition - - DatabaseEdition - - - none - - - Dtu - - Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: - -- Basic. 100 DTUs + For the current preview, the edition must be Standard. + + DatabaseEdition + + DatabaseEdition + + + none + + + Dtu + + Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: + -- Basic. 100 DTUs -- Standard. 100 DTUs -- Premium. 125 DTUs - - Int32 - - Int32 - - - none - - - StorageMB - - Specifies the storage limit, in megabytes, for the elastic pool. You cannot specify a value for this parameter for the Premium edition. - If you do not specify this parameter, this cmdlet calculates a value based on the value of the Dtu parameter. We recommend that you do not specify the StorageMB parameter. - If you specify StorageMB, but do not specify Dtu, the cmdlet calculates a value for Dtu. If you specify values for both, the values must be consistent. For more information about the relationship between storage and DTUs, see eDTU and storage limits for elastic pools and elastic databases. - - Int32 - - Int32 - - - none - - - DatabaseDtuMin - - Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0). - - Int32 - - Int32 - - - none - - - DatabaseDtuMax - - Specifies the maximum number of Database Throughput Units (DTUs) that any single database in the pool can consume. The default values for different editions are as follows: - -- Basic. 5 DTUs + + Int32 + + Int32 + + + none + + + StorageMB + + Specifies the storage limit, in megabytes, for the elastic pool. You cannot specify a value for this parameter for the Premium edition. + If you do not specify this parameter, this cmdlet calculates a value based on the value of the Dtu parameter. We recommend that you do not specify the StorageMB parameter. + If you specify StorageMB, but do not specify Dtu, the cmdlet calculates a value for Dtu. If you specify values for both, the values must be consistent. For more information about the relationship between storage and DTUs, see eDTU and storage limits for elastic pools and elastic databases. + + Int32 + + Int32 + + + none + + + DatabaseDtuMin + + Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0). + + Int32 + + Int32 + + + none + + + DatabaseDtuMax + + Specifies the maximum number of Database Throughput Units (DTUs) that any single database in the pool can consume. The default values for different editions are as follows: + -- Basic. 5 DTUs -- Standard. 100 DTUs -- Premium. 125 DTUs - - Int32 - - Int32 - - - none - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the elastic pool. - - Dictionary`2[String] - - Dictionary`2[String] - - - none - - - ServerName - - Specifies the name of the server in which this cmdlet creates the elastic pool. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the elastic pool that this cmdlet creates. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Create an elastic pool -------------------------- - - PS C:\> - - PS C:\> New-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" -Edition "Standard" -Dtu 400 -DatabaseDtuMin 10 -DatabaseDtuMax 100 - - This command creates an elastic pool in the Standard service tier named elasticpool01. The server named server01 hosts the elastic pool in an Azure resource group named resourcegroup01. The command specifies DTU property values for the pool and the databases in the pool. - - - ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 + + Int32 + + Int32 + + + none + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the elastic pool. + + Dictionary`2[String] + + Dictionary`2[String] + + + none + + + ServerName + + Specifies the name of the server in which this cmdlet creates the elastic pool. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the elastic pool that this cmdlet creates. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Create an elastic pool -------------------------- + + PS C:\> + + PS C:\> New-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" -Edition "Standard" -Dtu 400 -DatabaseDtuMin 10 -DatabaseDtuMax 100 + + This command creates an elastic pool in the Standard service tier named elasticpool01. The server named server01 hosts the elastic pool in an Azure resource group named resourcegroup01. The command specifies DTU property values for the pool and the databases in the pool. + + + ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool01 @@ -6802,3471 +8147,4487 @@ Dtu : 400 DatabaseDtuMax : 100 DatabaseDtuMin : 10 StorageMB : 409600 -Tags : +Tags : + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlElasticPool + + + + Get-AzureRmSqlElasticPoolActivity + + + + Get-AzureRmSqlElasticPoolDatabase + + + + Remove-AzureRmSqlElasticPool + + + + Set-AzureRmSqlElasticPool + + + + + + + + New-AzureRmSqlServer + + Creates an Azure SQL Database server. + + + + + New + AzureRmSqlServer + + + + The New-AzureRmSqlServer cmdlet creates an Azure SQL Database server. + + + + New-AzureRmSqlServer + + ServerName + + Specifies the name of the new server. + + String + + + SqlAdministratorCredentials + + Specifies the SQL Database server administrator credential for the new server. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential. + + PSCredential + + + Location + + Specifies the location of the data center where this cmdlet creates the server. + + String + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the new server. + + Dictionary`2[String] + + + ServerVersion + + Specifies the version of the new server. Valid values are: 2.0 and 12.0. + Specify 2.0 to create a version 11 server, or 12.0 to create a version 12 server. + + String + + + ResourceGroupName + + Specifies the name of the resource group in which this cmdlet creates the server. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the new server. + + String + + String + + + none + + + SqlAdministratorCredentials + + Specifies the SQL Database server administrator credential for the new server. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential. + + PSCredential + + PSCredential + + + none + + + Location + + Specifies the location of the data center where this cmdlet creates the server. + + String + + String + + + none + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the new server. + + Dictionary`2[String] + + Dictionary`2[String] + + + none + + + ServerVersion + + Specifies the version of the new server. Valid values are: 2.0 and 12.0. + Specify 2.0 to create a version 11 server, or 12.0 to create a version 12 server. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group in which this cmdlet creates the server. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel + + + + + - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlElasticPool - - - - - Get-AzureRmSqlElasticPoolActivity - - - - - Get-AzureRmSqlElasticPoolDatabase - - - - - Remove-AzureRmSqlElasticPool - - - - - Set-AzureRmSqlElasticPool - - - - - - - - - New-AzureRmSqlServer - - Creates an Azure SQL Database server. - - - - - New - AzureRMSqlServer - - - - The New-AzureRmSqlServer cmdlet creates an Azure SQL Database server. - - - - New-AzureRmSqlServer - - ServerName - - Specifies the name of the new server. - - String - - - SqlAdministratorCredentials - - Specifies the SQL Database server administrator credential for the new server. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential. - - PSCredential - - - Location - - Specifies the location of the data center where this cmdlet creates the server. - - String - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the new server. - - Dictionary`2[String] - - - ServerVersion - - Specifies the version of the new server. Valid values are: 2.0 and 12.0. - Specify 2.0 to create a version 11 server, or 12.0 to create a version 12 server. - - String - - - ResourceGroupName - - Specifies the name of the resource group in which this cmdlet creates the server. - - String - - - - - - ServerName - - Specifies the name of the new server. - - String - - String - - - none - - - SqlAdministratorCredentials - - Specifies the SQL Database server administrator credential for the new server. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential. - - PSCredential - - PSCredential - - - none - - - Location - - Specifies the location of the data center where this cmdlet creates the server. - - String - - String - - - none - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the new server. - - Dictionary`2[String] - - Dictionary`2[String] - - - none - - - ServerVersion - - Specifies the version of the new server. Valid values are: 2.0 and 12.0. - Specify 2.0 to create a version 11 server, or 12.0 to create a version 12 server. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group in which this cmdlet creates the server. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Create a new Azure SQL Database server -------------------------- - - PS C:\> - - PS C:\> New-AzureRmSqlServer -ResourceGroupName "resourcegroup01" -Location "Central US" -ServerName "server01" -ServerVersion "12.0" - - This command creates a version 12 Azure SQL Database server. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Create a new Azure SQL Database server -------------------------- + + PS C:\> + + PS C:\> New-AzureRmSqlServer -ResourceGroupName "resourcegroup01" -Location "Central US" -ServerName "server01" -ServerVersion "12.0" + + This command creates a version 12 Azure SQL Database server. + + + ResourceGroupName : resourcegroup01 ServerName : server01 Location : Australia East SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 -Tags : +Tags : + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlServer + + + + Remove-AzureRmSqlServer + + + + Set-AzureRmSqlServer + + + + New-AzureRmSqlServerFirewallRule + + + + + + + + New-AzureRmSqlServerCommunicationLink + + Creates a communication link for elastic database transactions between two in Azure SQL Database servers. + + + + + New + AzureRmSqlServerCommunicationLink + + + + The New-AzureRmSqlServerCommunicationLink cmdlet creates a communication link for elastic database transactions between two logical servers in Azure SQL Database. Elastic database transactions can span databases in either of the paired servers. You can create more than one link on a server. Therefore, elastic database transactions can span across a larger number of servers. + + + + New-AzureRmSqlServerCommunicationLink + + LinkName + + Specifies the name of the server communication link that this cmdlet creates. + + String + + + PartnerServer + + Specifies the name of the other server taking part in this partnership. + + String + + + ServerName + + Specifies the name of the server to set up the partnership on. + + String + + + ResourceGroupName + + Specifies the name of the resource group the server named in the 'ServerName' parameter. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + LinkName + + Specifies the name of the server communication link that this cmdlet creates. + + String + + String + + + + + + PartnerServer + + Specifies the name of the other server taking part in this partnership. + + String + + String + + + + + + ServerName + + Specifies the name of the server to set up the partnership on. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group the server named in the 'ServerName' parameter. + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlServer - - - - - Remove-AzureRmSqlServer - - - - - Set-AzureRmSqlServer - - - - - New-AzureRmSqlServerFirewallRule - - - - - - - - - New-AzureRmSqlServerFirewallRule - - Creates a firewall rule for an Azure SQL Database server. - - - - - New - AzureRMSqlServerFirewallRule - - - - The New-AzureRmSqlServerFirewallRule cmdlet creates a firewall rule for the specified Azure SQL Database server. - - - - New-AzureRmSqlServerFirewallRule - - AllowAllAzureIPs - - Indicates that this firewall rule enables all Azure IP addresses to access the server. - - SwitchParameter - - - ServerName - - Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name. - - String - - - ResourceGroupName - - Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies. - - String - - - - New-AzureRmSqlServerFirewallRule - - FirewallRuleName - - Specifies the name of the new firewall rule. - - String - - - StartIpAddress - - Specifies the start value of the IP address range for the firewall rule. - - String - - - EndIpAddress - - Specifies the end value of the IP address range for this rule. - - String - - - ServerName - - Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name. - - String - - - ResourceGroupName - - Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies. - - String - - - - - - FirewallRuleName - - Specifies the name of the new firewall rule. - - String - - String - - - none - - - StartIpAddress - - Specifies the start value of the IP address range for the firewall rule. - - String - - String - - - none - - - EndIpAddress - - Specifies the end value of the IP address range for this rule. - - String - - String - - - none - - - ServerName - - Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies. - - String - - String - - - none - - - AllowAllAzureIPs - - Indicates that this firewall rule enables all Azure IP addresses to access the server. - - SwitchParameter - - SwitchParameter - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Create a firewall rule -------------------------- - - PS C:\> - - PS C:\> New-AzureRmSqlServerFirewallRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -FirewallRuleName "rule01" -StartIpAddress "192.168.0.198" -EndIpAddress "192.168.0.199" - - This command creates a firewall rule named rule01 on the server named server01. The rule includes the specified start and end IP addresses. - - - ResourceGroupName : resourcegroup01 + + + + + + + Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerCommunicationLinkModel + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Create a communication link -------------------------- + + PS C:\> + + PS C:\> New-AzureRmSqlServerCommunicationLink -ResourceGroupName "ResourceGroup01" -ServerName "ContosoServer17" -LinkName "Link01" -PartnerServer "ContosoServer02" + + This command creates a link named Link01 between ContosoServer17 and ContosoServer02. + + + + + + + + + + + + + + + + Get-AzureRmSqlServerCommunicationLink + + + + Remove-AzureRmSqlServerCommunicationLink + + + + + + + + New-AzureRmSqlServerFirewallRule + + Creates a firewall rule for an Azure SQL Database server. + + + + + New + AzureRmSqlServerFirewallRule + + + + The New-AzureRmSqlServerFirewallRule cmdlet creates a firewall rule for the specified Azure SQL Database server. + + + + New-AzureRmSqlServerFirewallRule + + FirewallRuleName + + Specifies the name of the new firewall rule. + + String + + + StartIpAddress + + Specifies the start value of the IP address range for the firewall rule. + + String + + + EndIpAddress + + Specifies the end value of the IP address range for this rule. + + String + + + ServerName + + Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name. + + String + + + ResourceGroupName + + Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + New-AzureRmSqlServerFirewallRule + + AllowAllAzureIPs + + Indicates that this firewall rule enables all Azure IP addresses to access the server. + + SwitchParameter + + + ServerName + + Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name. + + String + + + ResourceGroupName + + Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + FirewallRuleName + + Specifies the name of the new firewall rule. + + String + + String + + + none + + + StartIpAddress + + Specifies the start value of the IP address range for the firewall rule. + + String + + String + + + none + + + EndIpAddress + + Specifies the end value of the IP address range for this rule. + + String + + String + + + none + + + ServerName + + Specifies the name of a server. This cmdlet creates a firewall rule on the server that this cmdlet specifies. Specify the server name, not the fully qualified DNS name. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of a resource group that contains a server. This cmdlet creates a firewall rule on a server in the resource group that this cmdlet specifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + AllowAllAzureIPs + + Indicates that this firewall rule enables all Azure IP addresses to access the server. + + SwitchParameter + + SwitchParameter + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Create a firewall rule -------------------------- + + PS C:\> + + PS C:\> New-AzureRmSqlServerFirewallRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -FirewallRuleName "rule01" -StartIpAddress "192.168.0.198" -EndIpAddress "192.168.0.199" + + This command creates a firewall rule named rule01 on the server named server01. The rule includes the specified start and end IP addresses. + + + ResourceGroupName : resourcegroup01 ServerName : server01 StartIpAddress : 192.168.0.198 EndIpAddress : 192.168.0.199 FirewallRuleName : rule01 - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlServerFirewallRule - - - - - Remove-AzureRmSqlServerFirewallRule - - - - - Set-AzureRmSqlServerFirewallRule - - - - - - - - - New-AzureRmSqlServerCommunicationLink - - Creates a communication link for elastic database transactions between two in Azure SQL Database servers. - - - - - New - AzureRmSqlServerCommunicationLink - - - - The New-AzureRmSqlServerCommunicationLink cmdlet creates a communication link for elastic database transactions between two logical servers in Azure SQL Database. Elastic database transactions can span databases in either of the paired servers. You can create more than one link on a server. Therefore, elastic database transactions can span across a larger number of servers. - - - - New-AzureRmSqlServerCommunicationLink - - LinkName - - Specifies the name of the server communication link that this cmdlet creates. - - String - - - PartnerServer - - Specifies the name of the other server that takes part in this communication link. - - String - - - ServerName - - Specifies the name of the server on which this cmdlet sets up the communication link. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which the server specified by the 'ServerName' parameter belongs. - - String - - - - - - LinkName - - Specifies the name of the server communication link that this cmdlet creates. - - String - - String - - - - - - PartnerServer - - Specifies the name of the other server taking part in this partnership. - - String - - String - - - - - - ServerName - - Specifies the name of the server to set up the partnership on. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of the resource group the server named in the 'ServerName' parameter. - - String - - String - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerCommunicationLinkModel - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Create a communication link -------------------------- - - PS C:\> - - PS C:\> New-AzureRmSqlServerCommunicationLink -ResourceGroupName "ResourceGroup01" -ServerName "ContosoServer17" -LinkName "Link01" -PartnerServer "ContosoServer02" - - This command creates a link named Link01 between ContosoServer17 and ContosoServer02. - - - - - - - - - - - - - - - - Get-AzureRmSqlServerCommunicationLink - - - - - Remove-AzureRmSqlServerCommunicationLink - - - - - - - - - Remove-AzureRmSqlDatabase - - Removes an Azure SQL database. - - - - - Remove - AzureRMSqlDatabase - - - - The Remove-AzureRmSqlDatabase cmdlet removes an Azure SQL database. - - - - Remove-AzureRmSqlDatabase - - DatabaseName - - Specifies the name of the database that this cmdlet removes. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - ServerName - - Specifies the name of the server the database is in. - - String - - - ResourceGroupName - - Specifies the name of the resource group. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - DatabaseName - - Specifies the name of the database that this cmdlet removes. - - String - - String - - - none - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - ServerName - - Specifies the name of the server the database is in. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group. - - String - - String - - - none - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Remove a database from an Azure SQL server -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command removes the database named database01 from server server01. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabase - - - - - New-AzureRmSqlDatabase - - - - - Resume-AzureRmSqlDatabase - - - - - Set-AzureRmSqlDatabase - - - - - Suspend-AzureRmSqlDatabase - - - - - Azure SQL Database - - - - - - - - - Remove-AzureRmSqlDatabaseAuditing - - Removes auditing of an Azure SQL database. - - - - - Remove - AzureRMSqlDatabaseAuditing - - - - The Remove-AzureRmSqlDatabaseAuditing cmdlet removes the auditing of an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. After you run this cmdlet, auditing of the database is not performed. If the command succeeds and you have used the PassThru parameter, the cmdlet returns an object describing the current auditing policy, as well as the database identifiers. Database identifiers include, but are not limited to, the ResourceGroupName, ServerName and DatabaseName. - If you remove auditing of an Azure SQL database, threat detection is also removed. - - - - Remove-AzureRmSqlDatabaseAuditing - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - - ServerName - - Specifies the name of the server containing the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group containing the database. - - String - - - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - ServerName - - Specifies the name of the server containing the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group containing the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Remove the auditing of an Azure SQL database -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlDatabaseAuditing -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command removes the auditing of database named database01. That database is located on server01 in the resource group named resourcegroup01. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseAuditingPolicy - - - - - Set-AzureRmSqlDatabaseAuditingPolicy - - - - - Azure SQL Database - - - - - - - - - Remove-AzureRmSqlDatabaseDataMaskingRule - - Removes a data masking rule from an Azure SQL database. - - - - - Remove - AzureRMSqlDatabaseDataMaskingRule - - - - The Remove-AzureRmSqlDatabaseDataMaskingRule cmdlet removes a specific data masking rule from an Azure SQL database. You can remove a data masking rule by using the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule to be removed. - - - - Remove-AzureRmSqlDatabaseDataMaskingRule - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - RuleId - - Specifies the identifier for the data masking rule. - - String - - - ServerName - - Specifies the name of the server that contains the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - RuleId - - Specifies the identifier for the data masking rule. - - String - - String - - - none - - - ServerName - - Specifies the name of the server that contains the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - String - - - none - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Remove a database data masking rule -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -RuleId "rule01" - - This command removes the rule that has the ID rule01, that was defined for the database database01 located in server01 in resource group resourcegroup01. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseDataMaskingRule - - - - - New-AzureRmSqlDatabaseDataMaskingRule - - - - - Set-AzureRmSqlDatabaseDataMaskingRule - - - - - Azure SQL Database - - - - - - - - - Remove-AzureRmSqlDatabaseSecondary - - Terminates data replication between an Azure SQL Database and the specified secondary database. - - - - - Remove - AzureRMSqlDatabaseSecondary - - - - This cmdlet replaces the Stop-AzureSqlDatabaseCopy cmdlet. It will force terminates the geo-replication link. There is no replication synchronization prior to termination. - - - - Remove-AzureRmSqlDatabaseSecondary - - DatabaseName - - The name of the primary Azure SQL Database with the replication link to remove. - - String - - - PartnerResourceGroupName - - The name of the partner Azure Resource Group. - - String - - - PartnerServerName - - The name of the partner Azure SQL Server. - - String - - - ServerName - - The name of the Azure SQL Server with the replication link to remove. - - String - - - ResourceGroupName - - The name of the Azure Resource Group with the replication link to remove. - - String - - - - - - DatabaseName - - The name of the primary Azure SQL Database with the replication link to remove. - - String - - String - - - - - - - PartnerResourceGroupName - - The name of the partner Azure Resource Group. - - String - - String - - - - - - - PartnerServerName - - The name of the partner Azure SQL Server. - - String - - String - - - - - - - ServerName - - The name of the Azure SQL Server with the replication link to remove. - - String - - String - - - - - - - ResourceGroupName - - The name of the Azure Resource Group with the replication link to remove. - - String - - String - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - - - - - - Remove-AzureRmSqlDatabaseThreatDetectionPolicy - - Removes the threat detection policy from a database. - - - - - Remove - AzureRmSqlDatabaseThreatDetectionPolicy - - - - The Remove-AzureRmSqlDatabaseThreatDetectionPolicy cmdlet removes the threat detection policy from an Azure SQL database. - To use this cmdlet, specify the ResourceGroupName, ServerName and DatabaseName parameters to identify the database from which this cmdlet removes the policy. - - - - Remove-AzureRmSqlDatabaseThreatDetectionPolicy - - ResourceGroupName - - Specifies the name of the resource group the server is assigned to. - - String - - - ServerName - - Specifies the name of a server. - - String - - - DatabaseName - - Specifies the name of a database where the threat detection policy should be removed. - - String - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - - - - - - DatabaseName - - Specifies the name of a database where the threat detection policy should be removed. - - String - - String - - - none - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - ResourceGroupName - - Specifies the name of the resource group the server is assigned to. - - String - - String - - - none - - - ServerName - - Specifies the name of a server. - - String - - String - - - none - - - - - - - - - - - - - You cannot pipe input to this cmdlet. - - - - - - - Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DatabaseThreatDetectionPolicyModel - - - - - - - This cmdlet returns a DatabaseThreatDetectionPolicyModel object. - - - - - - - - Example 1: Remove a threat detection policy for a database - - - - PS C:\> Remove-AzureRmSqlDatabaseThreatDetectionPolicy -ResourceGroupName "ResourceGroup11" -ServerName "Server01" -DatabaseName "Database01" - - This command removes the threat detection policy from a database named Database01 on the server named Server01. - - - - - - - - - - - - - Get-AzureRmSqlDatabaseThreatDetectionPolicy - - - - Set-AzureRmSqlDatabaseThreatDetectionPolicy - - - - Azure SQL Database Cmdlets - - - - - - - - Remove-AzureRmSqlElasticPool - - Deletes an elastic database pool. - - - - - Remove - AzureRMSqlElasticPool - - - - The Remove-AzureRmSqlElasticPool cmdlet deletes an elastic pool in Azure SQL Database. - - - - Remove-AzureRmSqlElasticPool - - ElasticPoolName - - Specifies the name of the elastic pool that this cmdlet deletes. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - ServerName - - Specifies the name of the server that contains the elastic pool that this cmdlet modifies. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - ElasticPoolName - - Specifies the name of the elastic pool that this cmdlet deletes. - - String - - String - - - none - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - ServerName - - Specifies the name of the server that contains the elastic pool that this cmdlet modifies. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes. - - String - - String - - - none - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Delete an elastic pool -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" - - This command deletes an elastic pool named elasticpool01. - - - - - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlElasticPool - - - - - Get-AzureRmSqlElasticPoolActivity - - - - - Get-AzureRmSqlElasticPoolDatabase - - - - - New-AzureRmSqlElasticPool - - - - - Set-AzureRmSqlElasticPool - - - - - - - - - Remove-AzureRmSqlServer - - Removes an Azure SQL Database server. - - - - - Remove - AzureRMSqlServer - - - - The Remove-AzureRmSqlServer cmdlet removes an Azure SQL Database server. - - - - Remove-AzureRmSqlServer - - ServerName - - Specifies the name of the server that this cmdlet removes. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that contains the server that this cmdlet removes. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - ServerName - - Specifies the name of the server that this cmdlet removes. - - String - - String - - - none - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the server that this cmdlet removes. - - String - - String - - - none - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Remove a server -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlServer -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command removes the Azure SQL Database server named server01. - - - - - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlServer - - - - - New-AzureRmSqlServer - - - - - Set-AzureRmSqlServer - - - - - - - - - Remove-AzureRmSqlServerActiveDirectoryAdministrator - - Removes an Azure AD administrator for SQL Server. - - - - - Remove - AzureRMSqlServerActiveDirectoryAdministrator - - - - The Remove-AzureRmSqlServerActiveDirectoryAdministrator cmdlet removes an Azure Active Directory (Azure AD) administrator for Azure SQL Server in the current subscription. - - - - Remove-AzureRmSqlServerActiveDirectoryAdministrator - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - ServerName - - Specifies the name of the SQL Server for which this cmdlet removes an administrator. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the SQL Server for which this cmdlet removes an administrator. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - ServerName - - Specifies the name of the SQL Server for which this cmdlet removes an administrator. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the SQL Server for which this cmdlet removes an administrator. - - String - - String - - - none - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Remove an administrator -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" - - - Removes the Azure AD administrator for the server named server01 that is associated with resource group resourcegroup01. - - - Confirm -Are you sure you want to remove the Azure Sql Server Active Directory Administrator on server 'server01'? -[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlServerFirewallRule + + + + Remove-AzureRmSqlServerFirewallRule + + + + Set-AzureRmSqlServerFirewallRule + + + + + + + + Remove-AzureRmSqlDatabase + + Removes an Azure SQL database. + + + + + Remove + AzureRmSqlDatabase + + + + The Remove-AzureRmSqlDatabase cmdlet removes an Azure SQL database. + + + + Remove-AzureRmSqlDatabase + + DatabaseName + + Specifies the name of the database that this cmdlet removes. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + ServerName + + Specifies the name of the server the database is in. + + String + + + ResourceGroupName + + Specifies the name of the resource group. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + DatabaseName + + Specifies the name of the database that this cmdlet removes. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the server the database is in. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Remove a database from an Azure SQL server -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command removes the database named database01 from server server01. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabase + + + + New-AzureRmSqlDatabase + + + + Resume-AzureRmSqlDatabase + + + + Set-AzureRmSqlDatabase + + + + Suspend-AzureRmSqlDatabase + + + + Azure SQL Database + + + + + + + + Remove-AzureRmSqlDatabaseAuditing + + Removes auditing of an Azure SQL database. + + + + + Remove + AzureRmSqlDatabaseAuditing + + + + The Remove-AzureRmSqlDatabaseAuditing cmdlet removes the auditing of an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. After you run this cmdlet, auditing of the database is not performed. If the command succeeds and you have used the PassThru parameter, the cmdlet returns an object describing the current auditing policy, as well as the database identifiers. Database identifiers include, but are not limited to, the ResourceGroupName, ServerName and DatabaseName. + If you remove auditing of an Azure SQL database, threat detection is also removed. + + + + Remove-AzureRmSqlDatabaseAuditing + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + ServerName + + Specifies the name of the server containing the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group containing the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the server containing the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group containing the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Remove the auditing of an Azure SQL database -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlDatabaseAuditing -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command removes the auditing of database named database01. That database is located on server01 in the resource group named resourcegroup01. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseAuditingPolicy + + + + Set-AzureRmSqlDatabaseAuditingPolicy + + + + Azure SQL Database + + + + + + + + Remove-AzureRmSqlDatabaseDataMaskingRule + + Removes a data masking rule from an Azure SQL database. + + + + + Remove + AzureRmSqlDatabaseDataMaskingRule + + + + The Remove-AzureRmSqlDatabaseDataMaskingRule cmdlet removes a specific data masking rule from an Azure SQL database. You can remove a data masking rule by using the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule to be removed. + + + + Remove-AzureRmSqlDatabaseDataMaskingRule + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + SchemaName + + + + String + + + TableName + + + + String + + + ColumnName + + + + String + + + ServerName + + Specifies the name of the server that contains the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + SchemaName + + + + String + + String + + + + + + TableName + + + + String + + String + + + + + + ColumnName + + + + String + + String + + + + + + ServerName + + Specifies the name of the server that contains the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + RuleId + + Specifies the identifier for the data masking rule. + + string + + string + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Remove a database data masking rule -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -RuleId "rule01" + + This command removes the rule that has the ID rule01, that was defined for the database database01 located in server01 in resource group resourcegroup01. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseDataMaskingRule + + + + New-AzureRmSqlDatabaseDataMaskingRule + + + + Set-AzureRmSqlDatabaseDataMaskingRule + + + + Azure SQL Database + + + + + + + + Remove-AzureRmSqlDatabaseSecondary + + Terminates data replication between an Azure SQL Database and the specified secondary database. + + + + + Remove + AzureRmSqlDatabaseSecondary + + + + This cmdlet replaces the Stop-AzureSqlDatabaseCopy cmdlet. It will force terminates the geo-replication link. There is no replication synchronization prior to termination. + + + + Remove-AzureRmSqlDatabaseSecondary + + DatabaseName + + The name of the primary Azure SQL Database with the replication link to remove. + + String + + + PartnerResourceGroupName + + The name of the partner Azure Resource Group. + + String + + + PartnerServerName + + The name of the partner Azure SQL Server. + + String + + + ServerName + + The name of the Azure SQL Server with the replication link to remove. + + String + + + ResourceGroupName + + The name of the Azure Resource Group with the replication link to remove. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DatabaseName + + The name of the primary Azure SQL Database with the replication link to remove. + + String + + String + + + + + + PartnerResourceGroupName + + The name of the partner Azure Resource Group. + + String + + String + + + + + + PartnerServerName + + The name of the partner Azure SQL Server. + + String + + String + + + + + + ServerName + + The name of the Azure SQL Server with the replication link to remove. + + String + + String + + + + + + ResourceGroupName + + The name of the Azure Resource Group with the replication link to remove. + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + Remove-AzureRmSqlDatabaseThreatDetectionPolicy + + Removes the threat detection policy from a database. + + + + + Remove + AzureRmSqlDatabaseThreatDetectionPolicy + + + + The Remove-AzureRmSqlDatabaseThreatDetectionPolicy cmdlet removes the threat detection policy from an Azure SQL database. + To use this cmdlet, specify the ResourceGroupName, ServerName and DatabaseName parameters to identify the database from which this cmdlet removes the policy. + + + + Remove-AzureRmSqlDatabaseThreatDetectionPolicy + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + ServerName + + Specifies the name of a server. + + String + + + DatabaseName + + Specifies the name of a database where the threat detection policy should be removed. + + String + + + ResourceGroupName + + Specifies the name of the resource group the server is assigned to. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of a server. + + String + + String + + + none + + + DatabaseName + + Specifies the name of a database where the threat detection policy should be removed. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group the server is assigned to. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + +You cannot pipe input to this cmdlet. + + + + + + + Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DatabaseThreatDetectionPolicyModel + + + + + +This cmdlet returns a DatabaseThreatDetectionPolicyModel object. + + + + + + + + + + + + + + -------------------------- Example 1: Remove a threat detection policy for a database -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlDatabaseThreatDetectionPolicy -ResourceGroupName "ResourceGroup11" -ServerName "Server01" -DatabaseName "Database01" + + This command removes the threat detection policy from a database named Database01 on the server named Server01. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseThreatDetectionPolicy + + + + Set-AzureRmSqlDatabaseThreatDetectionPolicy + + + + Azure SQL Database Cmdlets + + + + + + + + Remove-AzureRmSqlElasticPool + + Deletes an elastic database pool. + + + + + Remove + AzureRmSqlElasticPool + + + + The Remove-AzureRmSqlElasticPool cmdlet deletes an elastic pool in Azure SQL Database. + + + + Remove-AzureRmSqlElasticPool + + ElasticPoolName + + Specifies the name of the elastic pool that this cmdlet deletes. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + ServerName + + Specifies the name of the server that contains the elastic pool that this cmdlet modifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ElasticPoolName + + Specifies the name of the elastic pool that this cmdlet deletes. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the server that contains the elastic pool that this cmdlet modifies. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the elastic pool that this cmdlet deletes. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Delete an elastic pool -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" + + This command deletes an elastic pool named elasticpool01. + + + + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlElasticPool + + + + Get-AzureRmSqlElasticPoolActivity + + + + Get-AzureRmSqlElasticPoolDatabase + + + + New-AzureRmSqlElasticPool + + + + Set-AzureRmSqlElasticPool + + + + + + + + Remove-AzureRmSqlServer + + Removes an Azure SQL Database server. + + + + + Remove + AzureRmSqlServer + + + + The Remove-AzureRmSqlServer cmdlet removes an Azure SQL Database server. + + + + Remove-AzureRmSqlServer + + ServerName + + Specifies the name of the server that this cmdlet removes. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that contains the server that this cmdlet removes. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + Specifies the name of the server that this cmdlet removes. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the server that this cmdlet removes. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Remove a server -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlServer -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command removes the Azure SQL Database server named server01. + + + + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlServer + + + + New-AzureRmSqlServer + + + + Set-AzureRmSqlServer + + + + + + + + Remove-AzureRmSqlServerActiveDirectoryAdministrator + + Removes an Azure AD administrator for SQL Server. + + + + + Remove + AzureRmSqlServerActiveDirectoryAdministrator + + + + The Remove-AzureRmSqlServerActiveDirectoryAdministrator cmdlet removes an Azure Active Directory (Azure AD) administrator for Azure SQL Server in the current subscription. + + + + Remove-AzureRmSqlServerActiveDirectoryAdministrator + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + ServerName + + Specifies the name of the SQL Server for which this cmdlet removes an administrator. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the SQL Server for which this cmdlet removes an administrator. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the SQL Server for which this cmdlet removes an administrator. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the SQL Server for which this cmdlet removes an administrator. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Remove an administrator -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" + + Removes the Azure AD administrator for the server named server01 that is associated with resource group resourcegroup01. + + + Confirm +Are you sure you want to remove the Azure Sql Server Active Directory Administrator on server 'server01'? +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y ResourceGroupName ServerName DisplayName ObjectId ----------------- ---------- ----------- -------- resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b - - - - - - - - - - - - - Get-AzureRmSqlServerActiveDirectoryAdministrator - - - - - Set-AzureRmSqlServerActiveDirectoryAdministrator - - - - - - - - - Remove-AzureRmSqlServerAuditing - - Removes auditing of an Azure SQL server. - - - - - Remove - AzureRMSqlServerAuditing - - - - The Remove-AzureRmSqlServerAuditing cmdlet removes the auditing of an Azure SQL server. To use this cmdlet, specify the ResourceGroupName and ServerName parameters to identify the server. After you run this cmdlet, auditing of the databases in the provided Azure SQL server, that are defined as using this policy of that Azure SQL server, is not performed. If the command succeeds, and you specify the PassThru parameter, the cmdlet returns an object that describes the current auditing policy and the Azure SQL server identifiers. Server identifiers include the ResourceGroupName and ServerName. - - - - Remove-AzureRmSqlServerAuditing - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - - ServerName - - Specifies the name of the Azure SQL server. - - String - - - ResourceGroupName - - Specifies the name of the resource group of the Azure SQL server. - - String - - - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - ServerName - - Specifies the name of the Azure SQL server. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group of the Azure SQL server. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Remove the auditing of an Azure SQL server -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlDatabaseAuditing -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command removes the auditing of all the databases located in server01 in resource group resourcegroup01 that use the policy of that server. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseAuditingPolicy - - - - - Set-AzureRmSqlDatabaseAuditingPolicy - - - - - - - - - Remove-AzureRmSqlServerFirewallRule - - Deletes a firewall rule from an Azure SQL Database server. - - - - - Remove - AzureRMSqlServerFirewallRule - - - - The Remove-AzureRmSqlServerFirewallRule cmdlet deletes a firewall rule from the specified Azure SQL Database server. - - - - Remove-AzureRmSqlServerFirewallRule - - FirewallRuleName - - Specifies the name of the firewall rule that this cmdlet deletes. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - ServerName - - Specifies the name of a server. This cmdlet deletes a firewall rule from the server that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of a resource group. This cmdlet deletes a firewall rule on a server in the resource group that this parameter specifies. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - FirewallRuleName - - Specifies the name of the firewall rule that this cmdlet deletes. - - String - - String - - - none - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - ServerName - - Specifies the name of a server. This cmdlet deletes a firewall rule from the server that this parameter specifies. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of a resource group. This cmdlet deletes a firewall rule on a server in the resource group that this parameter specifies. - - String - - String - - - none - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Delete a rule -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlServerFirewallRule -FirewallRuleName "rule01" -ResourceGroupName "resourcegroup01" -ServerName "server01" - - This command deletes a firewall rule named rule01 on the server named server01. - - - - - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlServerFirewallRule - - - - - New-AzureRmSqlServerFirewallRule - - - - - Set-AzureRmSqlServerFirewallRule - - - - - - - - - Remove-AzureRmSqlServerCommunicationLink - - Deletes a communication link for elastic database transactions between two Azure SQL Database servers. - - - - - Remove - AzureRmSqlServerCommunicationLink - - - - The Remove-AzureRmSqlServerCommunicationLink cmdlet deletes a server-to-server communication link for elastic database transactions in Azure SQL Database. - - - - Remove-AzureRmSqlServerCommunicationLink - - LinkName - - Specifies the name of the server communication link that this cmdlet deletes. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - ServerName - - Specifies the name of a server. This server contains the communication link that this cmdlet deletes. - - String - - - ResourceGroupName - - Specifies the name of the resource group to which the server specified by the ServerName parameter belongs. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - LinkName - - Specifies the name of the server communication link that this cmdlet deletes. - - String - - String - - - - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - - - - ServerName - - Specifies the name of the server that contains the server communication link that this cmdlet deletes. - - String - - String - - - - - - ResourceGroupName - - Specifies the name of the resource group that contains the server communication link that this cmdlet deletes. - - String - - String - - - - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - - - - Confirm - - Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerCommunicationLinkModel - - - - - - - - - - - - - - + + + + + + + + + + + + + Get-AzureRmSqlServerActiveDirectoryAdministrator + + + + Set-AzureRmSqlServerActiveDirectoryAdministrator + + + + + + + + Remove-AzureRmSqlServerAuditing + + Removes auditing of an Azure SQL server. + + + + + Remove + AzureRmSqlServerAuditing + + + + The Remove-AzureRmSqlServerAuditing cmdlet removes the auditing of an Azure SQL server. To use this cmdlet, specify the ResourceGroupName and ServerName parameters to identify the server. After you run this cmdlet, auditing of the databases in the provided Azure SQL server, that are defined as using this policy of that Azure SQL server, is not performed. If the command succeeds, and you specify the PassThru parameter, the cmdlet returns an object that describes the current auditing policy and the Azure SQL server identifiers. Server identifiers include the ResourceGroupName and ServerName. + + + + Remove-AzureRmSqlServerAuditing + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + ServerName + + Specifies the name of the Azure SQL server. + + String + + + ResourceGroupName + + Specifies the name of the resource group of the Azure SQL server. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the Azure SQL server. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group of the Azure SQL server. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Remove the auditing of an Azure SQL server -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlDatabaseAuditing -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command removes the auditing of all the databases located in server01 in resource group resourcegroup01 that use the policy of that server. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseAuditingPolicy + + + + Set-AzureRmSqlDatabaseAuditingPolicy + + + + + + + + Remove-AzureRmSqlServerCommunicationLink + + Deletes a communication link for elastic database transactions between two Azure SQL Database servers. + + + + + Remove + AzureRmSqlServerCommunicationLink + + + + The Remove-AzureRmSqlServerCommunicationLink cmdlet deletes a server-to-server communication link for elastic database transactions in Azure SQL Database. + + + + Remove-AzureRmSqlServerCommunicationLink + + LinkName + + Specifies the name of the server communication link that this cmdlet deletes. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + ServerName + + Specifies the name of the server that contains the server communication link that this cmdlet deletes. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the server communication link that this cmdlet deletes. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + LinkName + + Specifies the name of the server communication link that this cmdlet deletes. + + String + + String + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ServerName + + Specifies the name of the server that contains the server communication link that this cmdlet deletes. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that contains the server communication link that this cmdlet deletes. + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + + + + Confirm + + Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerCommunicationLinkModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Delete a communication link -------------------------- - - PS C:\> - - PS C:\> Remove-AzureRmSqlServerCommunicationLink -ResourceGroupName "ResourceGroup01" -ServerName "ContosoServer17" -LinkName "Link01" - - This command deletes a server-to-server communication link named Link01 on ContosoServer17. - - - - - - - - - - - - - - - - Get-AzureRmSqlServerCommunicationLink - - - - - New-AzureRmSqlServerCommunicationLink - - - - - - - - - Resume-AzureRmSqlDatabase - - Resumes an Azure SQL Data Warehouse database. - - - - - Resume - AzureRMSqlDatabase - - - - The Resume-AzureRmSqlDatabase cmdlet resumes an Azure SQL Data Warehouse database. - - - - Resume-AzureRmSqlDatabase - - ServerName - - Specifies the name of the server that hosts the database that this cmdlet resumes. - - String - - - DatabaseName - - Specifies the name of the database that this cmdlet resumes. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database that this cmdlet resumes. - - String - - - - - - ServerName - - Specifies the name of the server that hosts the database that this cmdlet resumes. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database that this cmdlet resumes. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database that this cmdlet resumes. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - - - - - - This Resume-AzureRmSqlDatabase cmdlet works only on Azure SQL Data Warehouse databases. This operation is not supported on Azure SQL Database Basic, Standard and Premium editions. - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Resumes an Azure SQL Data Warehouse database -------------------------- - - PS C:\> - - PS C:\> Resume-AzureSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command resumes a suspended Azure SQL Data Warehouse database. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabase - - - - - New-AzureRmSqlDatabase - - - - - Remove-AzureRmSqlDatabase - - - - - Set-AzureRmSqlDatabase - - - - - Suspend-AzureRmSqlDatabase - - - - - - - - - Set-AzureRmSqlDatabase - - Sets properties for an Azure SQL database, or moves an existing database into an elastic pool. - - - - - Set - AzureRMSqlDatabase - - - - The Set-AzureRmSqlDatabase cmdlet sets properties for an Azure SQL database. You can specify the ElasticPoolName parameter to move a database into an elastic pool. If database is already in an elastic pool, you can specify the RequestedServiceObjectiveName parameter to assign a performance level. - - - - Set-AzureRmSqlDatabase - - DatabaseName - - Specifies the name of the database. - - String - - - MaxSizeBytes - - Specifies the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - Int64 - - - Edition - - Specifies the edition for the database. Valid values are: + + + + + -------------------------- Example 1: Delete a communication link -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlServerCommunicationLink -ResourceGroupName "ResourceGroup01" -ServerName "ContosoServer17" -LinkName "Link01" + + This command deletes a server-to-server communication link named Link01 on ContosoServer17. + + + + + + + + + + + + + + + + Get-AzureRmSqlServerCommunicationLink + + + + New-AzureRmSqlServerCommunicationLink + + + + + + + + Remove-AzureRmSqlServerFirewallRule + + Deletes a firewall rule from an Azure SQL Database server. + + + + + Remove + AzureRmSqlServerFirewallRule + + + + The Remove-AzureRmSqlServerFirewallRule cmdlet deletes a firewall rule from the specified Azure SQL Database server. + + + + Remove-AzureRmSqlServerFirewallRule + + FirewallRuleName + + Specifies the name of the firewall rule that this cmdlet deletes. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + ServerName + + Specifies the name of a server. This cmdlet deletes a firewall rule from the server that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of a resource group. This cmdlet deletes a firewall rule on a server in the resource group that this parameter specifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + FirewallRuleName + + Specifies the name of the firewall rule that this cmdlet deletes. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of a server. This cmdlet deletes a firewall rule from the server that this parameter specifies. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of a resource group. This cmdlet deletes a firewall rule on a server in the resource group that this parameter specifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Delete a rule -------------------------- + + PS C:\> + + PS C:\> Remove-AzureRmSqlServerFirewallRule -FirewallRuleName "rule01" -ResourceGroupName "resourcegroup01" -ServerName "server01" + + This command deletes a firewall rule named rule01 on the server named server01. + + + + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlServerFirewallRule + + + + New-AzureRmSqlServerFirewallRule + + + + Set-AzureRmSqlServerFirewallRule + + + + + + + + Restore-AzureRmSqlDatabase + + Restores an Azure SQL Database from a restorable resource. + + + + + Restore + AzureRmSqlDatabase + + + + Restores an Azure SQL Database from a restorable resource. A restored database is created as a new database. Input can be a geo backup, a deleted database, or a live database with point in time. + + + + Restore-AzureRmSqlDatabase + + FromPointInTimeBackup + + + + SwitchParameter + + + PointInTime + + + + DateTime + + + ServerName + + + + String + + + TargetDatabaseName + + + + String + + + ResourceId + + + + String + + + Edition + + + + DatabaseEdition + + + ServiceObjectiveName + + + + String + + + ElasticPoolName + + + + String + + + ResourceGroupName + + + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Restore-AzureRmSqlDatabase + + FromDeletedDatabaseBackup + + + + SwitchParameter + + + DeletionDate + + + + DateTime + + + ServerName + + + + String + + + TargetDatabaseName + + + + String + + + ResourceId + + + + String + + + Edition + + + + DatabaseEdition + + + ServiceObjectiveName + + + + String + + + ElasticPoolName + + + + String + + + ResourceGroupName + + + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Restore-AzureRmSqlDatabase + + FromGeoBackup + + + + SwitchParameter + + + ServerName + + + + String + + + TargetDatabaseName + + + + String + + + ResourceId + + + + String + + + Edition + + + + DatabaseEdition + + + ServiceObjectiveName + + + + String + + + ElasticPoolName + + + + String + + + ResourceGroupName + + + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + FromPointInTimeBackup + + + + SwitchParameter + + SwitchParameter + + + + + + PointInTime + + + + DateTime + + DateTime + + + + + + ServerName + + + + String + + String + + + + + + TargetDatabaseName + + + + String + + String + + + + + + ResourceId + + + + String + + String + + + + + + Edition + + + + DatabaseEdition + + DatabaseEdition + + + + + + ServiceObjectiveName + + + + String + + String + + + + + + ElasticPoolName + + + + String + + String + + + + + + ResourceGroupName + + + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + FromDeletedDatabaseBackup + + + + SwitchParameter + + SwitchParameter + + + + + + DeletionDate + + + + DateTime + + DateTime + + + + + + FromGeoBackup + + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + Resume-AzureRmSqlDatabase + + Resumes an Azure SQL Data Warehouse database. + + + + + Resume + AzureRmSqlDatabase + + + + The Resume-AzureRmSqlDatabase cmdlet resumes an Azure SQL Data Warehouse database. + + + + Resume-AzureRmSqlDatabase + + ServerName + + Specifies the name of the server that hosts the database that this cmdlet resumes. + + String + + + DatabaseName + + Specifies the name of the database that this cmdlet resumes. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database that this cmdlet resumes. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server that hosts the database that this cmdlet resumes. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database that this cmdlet resumes. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database that this cmdlet resumes. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + + + This Resume-AzureRmSqlDatabase cmdlet works only on Azure SQL Data Warehouse databases. This operation is not supported on Azure SQL Database Basic, Standard and Premium editions. + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Resumes an Azure SQL Data Warehouse database -------------------------- + + PS C:\> + + PS C:\> Resume-AzureSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command resumes a suspended Azure SQL Data Warehouse database. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabase + + + + New-AzureRmSqlDatabase + + + + Remove-AzureRmSqlDatabase + + + + Set-AzureRmSqlDatabase + + + + Suspend-AzureRmSqlDatabase + + + + + + + + Set-AzureRmSqlDatabase + + Sets properties for an Azure SQL database, or moves an existing database into an elastic pool. + + + + + Set + AzureRmSqlDatabase + + + + The Set-AzureRmSqlDatabase cmdlet sets properties for an Azure SQL database. You can specify the ElasticPoolName parameter to move a database into an elastic pool. If database is already in an elastic pool, you can specify the RequestedServiceObjectiveName parameter to assign a performance level. + + + + Set-AzureRmSqlDatabase + + DatabaseName + + Specifies the name of the database. + + String + + + MaxSizeBytes + + Specifies the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + + Edition + + Specifies the edition for the database. Valid values are: -- Default -- None -- Premium -- Basic -- Standard - - DatabaseEdition - - - RequestedServiceObjectiveName - - Specifies the name of the service objective to assign to the database. For information about service objectives, see Azure SQL Database Service Tiers and Performance Levels (https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx) in the Microsoft Developer Library. - - String - - - ElasticPoolName - - Specifies name of the elastic pool in which to put the database. - - String - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the new server. - - Dictionary`2[String] - - - ServerName - - Specifies the name of the server that contains the database. - - String - - - ResourceGroupName - - Specifies the name of resource group of the server that contains the database. - - String - - - - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - MaxSizeBytes - - Specifies the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. - - Int64 - - Int64 - - - none - - - Edition - - Specifies the edition for the database. Valid values are: + + DatabaseEdition + + + RequestedServiceObjectiveName + + Specifies the name of the service objective to assign to the database. For information about service objectives, see Azure SQL Database Service Tiers and Performance Levels (https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx) in the Microsoft Developer Library. + + String + + + ElasticPoolName + + Specifies name of the elastic pool in which to put the database. + + String + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the new server. + + Dictionary`2[String] + + + ServerName + + Specifies the name of the server that contains the database. + + String + + + ResourceGroupName + + Specifies the name of resource group of the server that contains the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + MaxSizeBytes + + Specifies the new maximum size for the database in bytes. You can specify either this parameter or MaxSizeGB. See the MaxSizeGB parameter for acceptable values based on edition. + + Int64 + + Int64 + + + none + + + Edition + + Specifies the edition for the database. Valid values are: -- Default -- None -- Premium -- Basic -- Standard - - DatabaseEdition - - DatabaseEdition - - - none - - - RequestedServiceObjectiveName - - Specifies the name of the service objective to assign to the database. For information about service objectives, see Azure SQL Database Service Tiers and Performance Levels (https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx) in the Microsoft Developer Library. - - String - - String - - - none - - - ElasticPoolName - - Specifies name of the elastic pool in which to put the database. - - String - - String - - - none - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the new server. - - Dictionary`2[String] - - Dictionary`2[String] - - - none - - - ServerName - - Specifies the name of the server that contains the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of resource group of the server that contains the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Update a database to a Standard S2 database -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -DatabaseName "database01" -ServerName "server01" -Edition "Standard" -RequestedServiceObjectiveName "S2" - - This command updates a database named database01 to a Standard S2 database in a server named server01. - - - ResourceGroupName : resourcegroup01 + + DatabaseEdition + + DatabaseEdition + + + none + + + RequestedServiceObjectiveName + + Specifies the name of the service objective to assign to the database. For information about service objectives, see Azure SQL Database Service Tiers and Performance Levels (https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx) in the Microsoft Developer Library. + + String + + String + + + none + + + ElasticPoolName + + Specifies name of the elastic pool in which to put the database. + + String + + String + + + none + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the new server. + + Dictionary`2[String] + + Dictionary`2[String] + + + none + + + ServerName + + Specifies the name of the server that contains the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of resource group of the server that contains the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Update a database to a Standard S2 database -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -DatabaseName "database01" -ServerName "server01" -Edition "Standard" -RequestedServiceObjectiveName "S2" + + This command updates a database named database01 to a Standard S2 database in a server named server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US @@ -10283,28 +12644,27 @@ RequestedServiceObjectiveId : 455330e1-00cd-488b-b5fa-177c226f28b7 RequestedServiceObjectiveName : ElasticPoolName : EarliestRestoreDate : -Tags : - - - - - - - - - - - - -------------------------- Example 2: Add a database to an elastic pool -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -DatabaseName "database01" -ServerName "server01" -ElasticPoolName "elasticpool01" - - The following command adds a database named database01 to the elastic pool named elasticpool01 in the server named server01. - - - ResourceGroupName : resourcegroup01 +Tags : + + + + + + + + + + + -------------------------- Example 2: Add a database to an elastic pool -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabase -ResourceGroupName "resourcegroup01" -DatabaseName "database01" -ServerName "server01" -ElasticPoolName "elasticpool01" + + The following command adds a database named database01 to the elastic pool named elasticpool01 in the server named server01. + + + ResourceGroupName : resourcegroup01 ServerName : server01 DatabaseName : database01 Location : Central US @@ -10322,2008 +12682,2204 @@ RequestedServiceObjectiveName : ElasticPoolName : elasticpool01 EarliestRestoreDate : Tags : - - - - - - - - - - - - - Get-AzureRmSqlDatabase - - - - - New-AzureRmSqlDatabase - - - - - Remove-AzureRmSqlDatabase - - - - - Resume-AzureRmSqlDatabase - - - - - Suspend-AzureRmSqlDatabase - - - - - Azure SQL Database - - - - - - - - Set-AzureRmSqlDatabaseAuditingPolicy - - Sets the auditing policy for an Azure SQL database. - - - - - Set - AzureRmSqlDatabaseAuditingPolicy - - - - The Set-AzureRmSqlDatabaseAuditingPolicy cmdlet changes the auditing policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. Specify the StorageAccountName parameter to specify the storage account to be used for the audit logs and the StorageKeyType parameter to define the storage keys. - You can also define retention for the audit logs table by setting the value of the RetentionInDays and TableIdentifier parameters to define the period and the seed for the audit log table names. Specify the EventType parameter to define which event types to audit. - After the cmdlet runs successfully, auditing of the database is enabled. If the database used the policy of its server for auditing before you ran this cmdlet, auditing stops using that policy. If the cmdlet succeeds and you use the PassThru parameter, it returns an object describing the current auditing policy, as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName. - - - - Set-AzureRmSqlDatabaseAuditingPolicy - - ResourceGroupName - - Specifies the name of the resource group that the database is assigned to. - - String - - - ServerName - - Specifies the name of the server that hosts the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - EventType - - Specifies the event types to audit. Valid values are: - -- PlainSQL_Success - --- PlainSQL_Failure - --- ParameterizedSQL_Success - --- ParameterizedSQL_Failure - --- StoredProcedure_Success - --- StoredProcedure_Failure - --- Login_Success - --- Login_Failure - --- TransactionManagement_Success - --- TransactionManagement_Failure - --- All - --- None - You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails to run. - - - PlainSQL_Success - PlainSQL_Failure - ParameterizedSQL_Success - ParameterizedSQL_Failure - StoredProcedure_Success - StoredProcedure_Failure - Login_Success - Login_Failure - TransactionManagement_Success - TransactionManagement_Failure - All - None - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - - - RetentionInDays - - Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter. - - UInt32] - - - StorageAccountName - - Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. This parameter is not required. When this parameter is not provided, the cmdlet will use the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and this parameter is not provided, the cmdlet will fail. - - String - - - StorageKeyType - - Specifies which of the storage access keys to use. Valid values are: - -- Primary - --- Secondary - The default value is Primary. - - - Primary - Secondary - - - - TableIdentifier - - Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter. - - String - - - - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - EventType - - Specifies the event types to audit. Valid values are: - -- PlainSQL_Success - --- PlainSQL_Failure - --- ParameterizedSQL_Success - --- ParameterizedSQL_Failure - --- StoredProcedure_Success - --- StoredProcedure_Failure - --- Login_Success - --- Login_Failure - --- TransactionManagement_Success - --- TransactionManagement_Failure - --- All - --- None - You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails to run. - - String[] - - String[] - - - none - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - ResourceGroupName - - Specifies the name of the resource group that the database is assigned to. - - String - - String - - - none - - - RetentionInDays - - Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter. - - UInt32] - - UInt32] - - - none - - - ServerName - - Specifies the name of the server that hosts the database. - - String - - String - - - none - - - StorageAccountName - - Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. This parameter is not required. When this parameter is not provided, the cmdlet will use the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and this parameter is not provided, the cmdlet will fail. - - String - - String - - - none - - - StorageKeyType - - Specifies which of the storage access keys to use. Valid values are: - -- Primary - --- Secondary - The default value is Primary. - - String - - String - - - none - - - TableIdentifier - - Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter. - - String - - String - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel - - - - - - - - - - - - - - - Example 1: Set the auditing policy of a database - - - - PS C:\> Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -StorageAccountName "Storage31" - - This command sets the auditing policy of database named database01 located on server01 to use the storage account named Storage31. - - - - - - - - - - - Example 2: Set the storage account key of an existing auditing policy of a database - - - - PS C:\> Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -StorageAccountKey Secondary - - This command sets the auditing policy of database named database01 located on server01 to keep using the same storage account name but to now use the secondary key. - - - - - - - - - - - Example 3: Set the auditing policy of a database to use a specific event type - - - - PS C:\> Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -EventType Login_Failure - - This command sets the auditing policy of database named database01 located on server01; the policy will log the Login_Failure event type. The command does not change the storage settings. - - - - - - - - - - - - - Get-AzureRmSqlDatabaseAuditingPolicy - - - - Remove-AzureRmSqlDatabaseAuditing - - - - Azure SQL Database Cmdlets - - - - - - - - Set-AzureRmSqlDatabaseDataMaskingPolicy - - Sets data masking for an Azure SQL database. - - - - - Set - AzureRMSqlDatabaseDataMaskingPolicy - - - - The Set-AzureRmSqlDatabaseDataMaskingPolicy cmdlet sets the data masking policy for an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. You can set the DataMaskingState parameter to specify whether data masking operations are enabled or disabled. You can also set the PrivilegedUsers parameter to specify which users are allowed to see the unmasked data. If the cmdlet succeeds and the PassThru parameter is used, it returns an object describing the current data masking policy as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName. - - - - Set-AzureRmSqlDatabaseDataMaskingPolicy - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - - PrivilegedLogins - - The parameter PrivilegedLogins is being deprecated and will be removed in a future release. Use the PrivilegedUsers parameter to provide SQL users excluded from masking. - - String - - - PrivilegedUsers - - Specifies a semicolon separated list of privileged user ids that can view the masking data. - - String - - - DataMaskingState - - Specifies whether data masking operation is enabled or disabled. Valid values are: + + + + + + + + + + + + + Get-AzureRmSqlDatabase + + + + New-AzureRmSqlDatabase + + + + Remove-AzureRmSqlDatabase + + + + Resume-AzureRmSqlDatabase + + + + Suspend-AzureRmSqlDatabase + + + + Azure SQL Database + + + + + + + + Set-AzureRmSqlDatabaseAuditingPolicy + + Sets the auditing policy for an Azure SQL database. + + + + + Set + AzureRmSqlDatabaseAuditingPolicy + + + + The Set-AzureRmSqlDatabaseAuditingPolicy cmdlet changes the auditing policy of an Azure SQL database. To use the cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. Specify the StorageAccountName parameter to specify the storage account to be used for the audit logs and the StorageKeyType parameter to define the storage keys. + You can also define retention for the audit logs table by setting the value of the RetentionInDays and TableIdentifier parameters to define the period and the seed for the audit log table names. Specify the EventType parameter to define which event types to audit. + After the cmdlet runs successfully, auditing of the database is enabled. If the database used the policy of its server for auditing before you ran this cmdlet, auditing stops using that policy. If the cmdlet succeeds and you use the PassThru parameter, it returns an object describing the current auditing policy, as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName. + + + + Set-AzureRmSqlDatabaseAuditingPolicy + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + EventType + + Specifies the event types to audit. Valid values are: + -- PlainSQL_Success + -- PlainSQL_Failure + -- ParameterizedSQL_Success + -- ParameterizedSQL_Failure + -- StoredProcedure_Success + -- StoredProcedure_Failure + -- Login_Success + -- Login_Failure + -- TransactionManagement_Success + -- TransactionManagement_Failure + -- All + -- None + You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails to run. + + String[] + + + StorageAccountName + + Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. This parameter is not required. When this parameter is not provided, the cmdlet will use the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and this parameter is not provided, the cmdlet will fail. + + String + + + StorageKeyType + + Specifies which of the storage access keys to use. Valid values are: + -- Primary + -- Secondary + The default value is Primary. + + String + + + RetentionInDays + + Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter. + + Nullable`1[UInt32] + + + TableIdentifier + + Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter. + + String + + + ServerName + + Specifies the name of the server that hosts the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the database is assigned to. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + EventType + + Specifies the event types to audit. Valid values are: + -- PlainSQL_Success + -- PlainSQL_Failure + -- ParameterizedSQL_Success + -- ParameterizedSQL_Failure + -- StoredProcedure_Success + -- StoredProcedure_Failure + -- Login_Success + -- Login_Failure + -- TransactionManagement_Success + -- TransactionManagement_Failure + -- All + -- None + You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails to run. + + String[] + + String[] + + + none + + + StorageAccountName + + Specifies the name of the storage account to be used when auditing the database. Wildcards are not permitted. This parameter is not required. When this parameter is not provided, the cmdlet will use the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and this parameter is not provided, the cmdlet will fail. + + String + + String + + + none + + + StorageKeyType + + Specifies which of the storage access keys to use. Valid values are: + -- Primary + -- Secondary + The default value is Primary. + + String + + String + + + none + + + RetentionInDays + + Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter. + + Nullable`1[UInt32] + + Nullable`1[UInt32] + + + none + + + TableIdentifier + + Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter. + + String + + String + + + none + + + ServerName + + Specifies the name of the server that hosts the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that the database is assigned to. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Set the auditing policy of a database -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -StorageAccountName "Storage31" + + This command sets the auditing policy of database named database01 located on server01 to use the storage account named Storage31. + + + + + + + + + + + + + + -------------------------- Example 2: Set the storage account key of an existing auditing policy of a database -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -StorageAccountKey Secondary + + This command sets the auditing policy of database named database01 located on server01 to keep using the same storage account name but to now use the secondary key. + + + + + + + + + + + + + + -------------------------- Example 3: Set the auditing policy of a database to use a specific event type -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -EventType Login_Failure + + This command sets the auditing policy of database named database01 located on server01; the policy will log the Login_Failure event type. The command does not change the storage settings. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseAuditingPolicy + + + + Remove-AzureRmSqlDatabaseAuditing + + + + Azure SQL Database Cmdlets + + + + + + + + Set-AzureRmSqlDatabaseDataMaskingPolicy + + Sets data masking for an Azure SQL database. + + + + + Set + AzureRmSqlDatabaseDataMaskingPolicy + + + + The Set-AzureRmSqlDatabaseDataMaskingPolicy cmdlet sets the data masking policy for an Azure SQL database. To use this cmdlet, use the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. You can set the DataMaskingState parameter to specify whether data masking operations are enabled or disabled. You can also set the PrivilegedUsers parameter to specify which users are allowed to see the unmasked data. If the cmdlet succeeds and the PassThru parameter is used, it returns an object describing the current data masking policy as well as the database identifiers. Database identifiers include, but are not limited to, ResourceGroupName, ServerName, and DatabaseName. + + + + Set-AzureRmSqlDatabaseDataMaskingPolicy + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + PrivilegedLogins + + The parameter PrivilegedLogins is being deprecated and will be removed in a future release. Use the PrivilegedUsers parameter to provide SQL users excluded from masking. + + String + + + PrivilegedUsers + + Specifies a semicolon separated list of privileged user ids that can view the masking data. + + String + + + DataMaskingState + + Specifies whether data masking operation is enabled or disabled. Valid values are: -- Enabled -- Disabled - The default value is Enabled. - - String - - - ServerName - - Specifies the name of the server containing the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group containing the database. - - String - - - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - PrivilegedLogins - - The parameter PrivilegedLogins is being deprecated and will be removed in a future release. Use the PrivilegedUsers parameter to provide SQL users excluded from masking. - - String - - String - - - none - - - PrivilegedUsers - - Specifies a semicolon separated list of privileged user ids that can view the masking data. - - String - - String - - - none - - - DataMaskingState - - Specifies whether data masking operation is enabled or disabled. Valid values are: + The default value is Enabled. + + String + + + ServerName + + Specifies the name of the server containing the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group containing the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + PrivilegedLogins + + The parameter PrivilegedLogins is being deprecated and will be removed in a future release. Use the PrivilegedUsers parameter to provide SQL users excluded from masking. + + String + + String + + + none + + + PrivilegedUsers + + Specifies a semicolon separated list of privileged user ids that can view the masking data. + + String + + String + + + none + + + DataMaskingState + + Specifies whether data masking operation is enabled or disabled. Valid values are: -- Enabled -- Disabled - The default value is Enabled. - - String - - String - - - none - - - ServerName - - Specifies the name of the server containing the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group containing the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Set the data masking policy for a database -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command sets the data masking policy from database named database01 on the server named server01. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseDataMaskingPolicy - - - - - Get-AzureRmSqlDatabaseDataMaskingRule - - - - - New-AzureRmSqlDatabaseDataMaskingRule - - - - - Remove-AzureRmSqlDatabaseDataMaskingRule - - - - - Set-AzureRmSqlDatabaseDataMaskingRule - - - - - Azure SQL Database - - - - - - - - - Set-AzureRmSqlDatabaseDataMaskingRule - - Sets the properties of a data masking rule in an Azure SQL database. - - - - - Set - AzureRMSqlDatabaseDataMaskingRule - - - - The Set-AzureRmSqlDatabaseDataMaskingRule cmdlet is used to set a data masking rule in an Azure SQL database. To use the cmdlet, provide the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule. You can provide any of the parameters of SchemaName, TableName, and ColumnName to retarget the rule. Specify the MaskingFunction parameter to modify how the data is masked. If you specify a value of Number or Text for MaskingFunction, you can specify the NumberFrom and NumberTo parameters for number masking or the PrefixSize, ReplacementString, and SuffixSize parameters for text masking. If the command succeeds, and if you specify the PassThru parameter, the cmdlet returns an object that describe the data masking rule properties, and the rule identifiers. Rule identifiers include, but are not limited to, ResourceGroupName, ServerName,DatabaseName and RuleId. - - - - Set-AzureRmSqlDatabaseDataMaskingRule - - ColumnName - - Specifies the name of the column that is the target of this masking rule. - - String - - - TableName - - Specifies the name of the table in the database of which the masked column is part. - - String - - - SchemaName - - - - String - - - MaskingFunction - - Specifies the masking function that the rule uses. Valid values are: - -- Default + The default value is Enabled. + + String + + String + + + none + + + ServerName + + Specifies the name of the server containing the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group containing the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingPolicyModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Set the data masking policy for a database -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseDataMaskingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command sets the data masking policy from database named database01 on the server named server01. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseDataMaskingPolicy + + + + Get-AzureRmSqlDatabaseDataMaskingRule + + + + New-AzureRmSqlDatabaseDataMaskingRule + + + + Remove-AzureRmSqlDatabaseDataMaskingRule + + + + Set-AzureRmSqlDatabaseDataMaskingRule + + + + Azure SQL Database + + + + + + + + Set-AzureRmSqlDatabaseDataMaskingRule + + Sets the properties of a data masking rule in an Azure SQL database. + + + + + Set + AzureRmSqlDatabaseDataMaskingRule + + + + The Set-AzureRmSqlDatabaseDataMaskingRule cmdlet is used to set a data masking rule in an Azure SQL database. To use the cmdlet, provide the ResourceGroupName, ServerName, DatabaseName, and RuleId parameters to identify the rule. You can provide any of the parameters of SchemaName, TableName, and ColumnName to retarget the rule. Specify the MaskingFunction parameter to modify how the data is masked. If you specify a value of Number or Text for MaskingFunction, you can specify the NumberFrom and NumberTo parameters for number masking or the PrefixSize, ReplacementString, and SuffixSize parameters for text masking. If the command succeeds, and if you specify the PassThru parameter, the cmdlet returns an object that describe the data masking rule properties, and the rule identifiers. Rule identifiers include, but are not limited to, ResourceGroupName, ServerName,DatabaseName and RuleId. + + + + Set-AzureRmSqlDatabaseDataMaskingRule + + MaskingFunction + + Specifies the masking function that the rule uses. Valid values are: + -- Default -- NoMasking -- Text -- Number -- SocialSecurityNumber -- CreditCardNumber -- Email - The default value is Default. - - String - - - PrefixSize - - Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - Nullable`1[UInt32] - - - ReplacementString - - Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - String - - - SuffixSize - - Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - Nullable`1[UInt32] - - - NumberFrom - - Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. - - Nullable`1[Double] - - - NumberTo - - Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. - - Nullable`1[Double] - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - - RuleId - - Specifies the identifier for the data masking rule. - - String - - - ServerName - - Specifies the name of the server that contains the database. - - String - - - DatabaseName - - Specifies the name of the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - - - - - ColumnName - - Specifies the name of the column that is the target of this masking rule. - - String - - String - - - none - - - TableName - - Specifies the name of the table in the database of which the masked column is part. - - String - - String - - - none - - - SchemaName - - - - String - - String - - - none - - - MaskingFunction - - Specifies the masking function that the rule uses. Valid values are: - -- Default + The default value is Default. + + String + + + PrefixSize + + Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + Nullable`1[UInt32] + + + ReplacementString + + Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + String + + + SuffixSize + + Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + Nullable`1[UInt32] + + + NumberFrom + + Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. + + Nullable`1[Double] + + + NumberTo + + Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. + + Nullable`1[Double] + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + SchemaName + + + + String + + + TableName + + Specifies the name of the table in the database of which the masked column is part. + + String + + + ColumnName + + Specifies the name of the column that is the target of this masking rule. + + String + + + ServerName + + Specifies the name of the server that contains the database. + + String + + + DatabaseName + + Specifies the name of the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + MaskingFunction + + Specifies the masking function that the rule uses. Valid values are: + -- Default -- NoMasking -- Text -- Number -- SocialSecurityNumber -- CreditCardNumber -- Email - The default value is Default. - - String - - String - - - none - - - PrefixSize - - Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - Nullable`1[UInt32] - - Nullable`1[UInt32] - - - none - - - ReplacementString - - Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - String - - String - - - none - - - SuffixSize - - Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. - - Nullable`1[UInt32] - - Nullable`1[UInt32] - - - none - - - NumberFrom - - Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. - - Nullable`1[Double] - - Nullable`1[Double] - - - none - - - NumberTo - - Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. - - Nullable`1[Double] - - Nullable`1[Double] - - - none - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - RuleId - - Specifies the identifier for the data masking rule. - - String - - String - - - none - - - ServerName - - Specifies the name of the server that contains the database. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Change the range of a data masking rule in a database -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -RuleId "Rule17" -NumberFrom 23 -NumberTo 42 - - This command modifies a data masking rule that has the ID Rule17. That rule operates in the database named database01 on server server01. This command changes the boundaries for the interval in which a random number is generated as the masked value. The new range is between 23 and 42. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseDataMaskingRule - - - - - New-AzureRmSqlDatabaseDataMaskingRule - - - - - Remove-AzureRmSqlDatabaseDataMaskingRule - - - - - Azure SQL Database - - - - - - - - - Set-AzureRmSqlDatabaseSecondary - - Switches a secondary Azure SQL Database to the primary in order to failover. - - - - - Set - AzureRMSqlDatabaseSecondary - - - - This cmdlet is designed as a general configuration command, but at the moment it is limited to initiating failover. Use it with the -AllowDataLoss parameter to initiate a force failover during an outage. You don’t have to specify it when performing a planned operation , such as DR drill. In the latter case the secondary databases will be synchronized with the primary before switching. - - - - Set-AzureRmSqlDatabaseSecondary - - DatabaseName - - The name of the Azure SQL Database Secondary. - - String - - - PartnerResourceGroupName - - The name of the Azure Resource Group of the partner Azure SQL Database. - - String - - - Failover - - Determines if this operation is a failover. - - SwitchParameter - - - AllowDataLoss - - Determines if this failover operation will allow data loss. - - SwitchParameter - - - ServerName - - The name of the Azure SQL Server of the Azure SQL Database Secondary. - - String - - - ResourceGroupName - - The name of the Azure Resource Group of the Azure SQL Database Secondary. - - String - - - - Set-AzureRmSqlDatabaseSecondary - - DatabaseName - - The name of the Azure SQL Database Secondary. - - String - - - PartnerResourceGroupName - - The name of the Azure Resource Group of the partner Azure SQL Database. - - String - - - ServerName - - The name of the Azure SQL Server of the Azure SQL Database Secondary. - - String - - - ResourceGroupName - - The name of the Azure Resource Group of the Azure SQL Database Secondary. - - String - - - - - - DatabaseName - - The name of the Azure SQL Database Secondary. - - String - - String - - - - - - - PartnerResourceGroupName - - The name of the Azure Resource Group of the partner Azure SQL Database. - - String - - String - - - - - - - ServerName - - The name of the Azure SQL Server of the Azure SQL Database Secondary. - - String - - String - - - - - - - ResourceGroupName - - The name of the Azure Resource Group of the Azure SQL Database Secondary. - - String - - String - - - - - - - Failover - - Determines if this operation is a failover. - - SwitchParameter - - SwitchParameter - - - - - - - AllowDataLoss - - Determines if this failover operation will allow data loss. - - SwitchParameter - - SwitchParameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - - - - - - Set-AzureRmSqlDatabaseThreatDetectionPolicy - - Sets a threat detection policy on a database. - - - - - Set - AzureRmSqlDatabaseThreatDetectionPolicy - - - - The Set-AzureRmSqlDatabaseThreatDetectionPolicy cmdlet sets a threat detection policy on an Azure SQL database. In order to enable threat detection on a database an auditing policy must be enabled on that database. - To use this cmdlet, specify the ResourceGroupName, ServerName and DatabaseName parameters to identify the database. - - - - Set-AzureRmSqlDatabaseThreatDetectionPolicy - - ResourceGroupName - - Specifies the name of the resource group the server is assigned to. - - String - - - ServerName - - Specifies the name of the server. - - String - - - DatabaseName - - Specifies the name of the database where the policy will be set. - - String - - - EmailAdmins - - Specifies whether the threat detection policy contacts administrators by using email. - - Boolean] - - - ExcludedDetectionType - - Specifies an array of detection types to exclude from the policy. Valid values are: - --- Sql_Injection + The default value is Default. + + String + + String + + + none + + + PrefixSize + + Specifies the number of characters in the beginning of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + Nullable`1[UInt32] + + Nullable`1[UInt32] + + + none + + + ReplacementString + + Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + String + + String + + + none + + + SuffixSize + + Specifies the number of characters in the end of the text that is not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is 0. + + Nullable`1[UInt32] + + Nullable`1[UInt32] + + + none + + + NumberFrom + + Specifies the lower bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. + + Nullable`1[Double] + + Nullable`1[Double] + + + none + + + NumberTo + + Specifies the upper bound number of the interval from which a random value is selected. Specify this parameter only if you specify a value of Number for the MaskingFunction parameter. The default value is 0. + + Nullable`1[Double] + + Nullable`1[Double] + + + none + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + SchemaName + + + + String + + String + + + none + + + TableName + + Specifies the name of the table in the database of which the masked column is part. + + String + + String + + + none + + + ColumnName + + Specifies the name of the column that is the target of this masking rule. + + String + + String + + + none + + + ServerName + + Specifies the name of the server that contains the database. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + RuleId + + Specifies the identifier for the data masking rule. + + string + + string + + + none + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseDataMaskingRuleModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Change the range of a data masking rule in a database -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseDataMaskingRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -RuleId "Rule17" -NumberFrom 23 -NumberTo 42 + + This command modifies a data masking rule that has the ID Rule17. That rule operates in the database named database01 on server server01. This command changes the boundaries for the interval in which a random number is generated as the masked value. The new range is between 23 and 42. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseDataMaskingRule + + + + New-AzureRmSqlDatabaseDataMaskingRule + + + + Remove-AzureRmSqlDatabaseDataMaskingRule + + + + Azure SQL Database + + + + + + + + Set-AzureRmSqlDatabaseSecondary + + Switches a secondary Azure SQL Database to the primary in order to failover. + + + + + Set + AzureRmSqlDatabaseSecondary + + + + This cmdlet is designed as a general configuration command, but at the moment it is limited to initiating failover. Use it with the -AllowDataLoss parameter to initiate a force failover during an outage. You don’t have to specify it when performing a planned operation , such as DR drill. In the latter case the secondary databases will be synchronized with the primary before switching. + + + + Set-AzureRmSqlDatabaseSecondary + + DatabaseName + + The name of the Azure SQL Database Secondary. + + String + + + PartnerResourceGroupName + + The name of the Azure Resource Group of the partner Azure SQL Database. + + String + + + ServerName + + The name of the Azure SQL Server of the Azure SQL Database Secondary. + + String + + + ResourceGroupName + + The name of the Azure Resource Group of the Azure SQL Database Secondary. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + Set-AzureRmSqlDatabaseSecondary + + DatabaseName + + The name of the Azure SQL Database Secondary. + + String + + + PartnerResourceGroupName + + The name of the Azure Resource Group of the partner Azure SQL Database. + + String + + + Failover + + Determines if this operation is a failover. + + SwitchParameter + + + AllowDataLoss + + Determines if this failover operation will allow data loss. + + SwitchParameter + + + ServerName + + The name of the Azure SQL Server of the Azure SQL Database Secondary. + + String + + + ResourceGroupName + + The name of the Azure Resource Group of the Azure SQL Database Secondary. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DatabaseName + + The name of the Azure SQL Database Secondary. + + String + + String + + + + + + PartnerResourceGroupName + + The name of the Azure Resource Group of the partner Azure SQL Database. + + String + + String + + + + + + ServerName + + The name of the Azure SQL Server of the Azure SQL Database Secondary. + + String + + String + + + + + + ResourceGroupName + + The name of the Azure Resource Group of the Azure SQL Database Secondary. + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Failover + + Determines if this operation is a failover. + + SwitchParameter + + SwitchParameter + + + + + + AllowDataLoss + + Determines if this failover operation will allow data loss. + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + + + + + + + Set-AzureRmSqlDatabaseThreatDetectionPolicy + + Sets a threat detection policy on a database. + + + + + Set + AzureRmSqlDatabaseThreatDetectionPolicy + + + + The Set-AzureRmSqlDatabaseThreatDetectionPolicy cmdlet sets a threat detection policy on an Azure SQL database. In order to enable threat detection on a database an auditing policy must be enabled on that database. + To use this cmdlet, specify the ResourceGroupName, ServerName and DatabaseName parameters to identify the database. + + + + Set-AzureRmSqlDatabaseThreatDetectionPolicy + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + NotificationRecipientsEmails + + Specifies a semicolon-separated list of email addresses to which the policy sends alerts. + + String + + + EmailAdmins + + Specifies whether the threat detection policy contacts administrators by using email. + + Nullable`1[Boolean] + + + ExcludedDetectionType + + Specifies an array of detection types to exclude from the policy. Valid values are: + -- Sql_Injection -- Sql_Injection_Vulnerability -- Access_Anomaly -- Usage_Anomaly -- None - - - Sql_Injection - Sql_Injection_Vulnerability - Access_Anomaly - Usage_Anomaly - None - - - - NotificationRecipientsEmails - - Specifies a semicolon-separated list of email addresses to which the policy sends alerts. - - String - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - - - - - - DatabaseName - - Specifies the name of the database where the policy will be set. - - String - - String - - - none - - - EmailAdmins - - Specifies whether the threat detection policy contacts administrators by using email. - - Boolean] - - Boolean] - - - none - - - ExcludedDetectionType - - Specifies an array of detection types to exclude from the policy. Valid values are: - --- Sql_Injection + + String[] + + + ServerName + + Specifies the name of the server. + + String + + + DatabaseName + + Specifies the name of the database where the policy will be set. + + String + + + ResourceGroupName + + Specifies the name of the resource group the server is assigned to. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + NotificationRecipientsEmails + + Specifies a semicolon-separated list of email addresses to which the policy sends alerts. + + String + + String + + + none + + + EmailAdmins + + Specifies whether the threat detection policy contacts administrators by using email. + + Nullable`1[Boolean] + + Nullable`1[Boolean] + + + none + + + ExcludedDetectionType + + Specifies an array of detection types to exclude from the policy. Valid values are: + -- Sql_Injection -- Sql_Injection_Vulnerability -- Access_Anomaly -- Usage_Anomaly -- None - - String[] - - String[] - - - none - - - NotificationRecipientsEmails - - Specifies a semicolon-separated list of email addresses to which the policy sends alerts. - - String - - String - - - none - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - ResourceGroupName - - Specifies the name of the resource group the server is assigned to. - - String - - String - - - none - - - ServerName - - Specifies the name of the server. - - String - - String - - - none - - - - - - - - - - - - - You cannot pipe input to this cmdlet. - - - - - - - Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DatabaseThreatDetectionPolicyModel - - - - - - - This cmdlet returns a Model.DatabaseThreatDetectionPolicyModel object. - - - - - - - - Example 1: Set the threat detection policy for a database - - - - PS C:\> Set-AzureRmSqlDatabaseThreatDetectionPolicy -ResourceGroupName "ResourceGroup11" -ServerName "Server01" -DatabaseName "Database01" -NotificationRecipientsEmails "admin01@contoso.com;secadmin@contoso.com" -EmailAdmins $False -ExcludedDetectionType "Sql_Injection_Vulnerability", "SQL_Injection" - - This command sets the threat detection policy for a database named Database01 on the server named Server01. - - - - - - - - - - - - - Get-AzureRmSqlDatabaseThreatDetectionPolicy - - - - Remove-AzureRmSqlDatabaseThreatDetectionPolicy - - - - Azure SQL Database Cmdlets - - - - - - - - Set-AzureRmSqlDatabaseTransparentDataEncryption - - Modifies TPE for an Azure SQL database. - - - - - Set - AzureRMSqlDatabaseTransparentDataEncryption - - - - The Set-AzureRmSqlDatabaseTransparentDataEncryption cmdlet modifies the Transparent Data Encryption (TDE) property of an Azure SQL database. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library. - - - - Set-AzureRmSqlDatabaseTransparentDataEncryption - - State - - Specifies the value of the TDE property. Valid values are: - -- Enabled + + String[] + + String[] + + + none + + + ServerName + + Specifies the name of the server. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database where the policy will be set. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group the server is assigned to. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + +You cannot pipe input to this cmdlet. + + + + + + + Microsoft.Azure.Commands.Sql.ThreatDetection.Model.DatabaseThreatDetectionPolicyModel + + + + + +This cmdlet returns a Model.DatabaseThreatDetectionPolicyModel object. + + + + + + + + + + + + + + -------------------------- Example 1: Set the threat detection policy for a database -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseThreatDetectionPolicy -ResourceGroupName "ResourceGroup11" -ServerName "Server01" -DatabaseName "Database01" -NotificationRecipientsEmails "admin01@contoso.com;secadmin@contoso.com" -EmailAdmins $False -ExcludedDetectionType "Sql_Injection_Vulnerability", "SQL_Injection" + + This command sets the threat detection policy for a database named Database01 on the server named Server01. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseThreatDetectionPolicy + + + + Remove-AzureRmSqlDatabaseThreatDetectionPolicy + + + + Azure SQL Database Cmdlets + + + + + + + + Set-AzureRmSqlDatabaseTransparentDataEncryption + + Modifies TPE for an Azure SQL database. + + + + + Set + AzureRmSqlDatabaseTransparentDataEncryption + + + + The Set-AzureRmSqlDatabaseTransparentDataEncryption cmdlet modifies the Transparent Data Encryption (TDE) property of an Azure SQL database. For more information, see Transparent Data Encryption with Azure SQL Database (https://msdn.microsoft.com/library/dn948096) in the Microsoft Developer Network Library. + + + + Set-AzureRmSqlDatabaseTransparentDataEncryption + + State + + Specifies the value of the TDE property. Valid values are: + -- Enabled -- Disabled - - TransparentDataEncryptionStateType - - - ServerName - - Specifies the name of the server that hosts the database that this cmdlet modifies. - - String - - - DatabaseName - - Specifies the name of the database that this cmdlet modifies. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database that this cmdlet modifies. - - String - - - - - - State - - Specifies the value of the TDE property. Valid values are: - -- Enabled + + TransparentDataEncryptionStateType + + + ServerName + + Specifies the name of the server that hosts the database that this cmdlet modifies. + + String + + + DatabaseName + + Specifies the name of the database that this cmdlet modifies. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database that this cmdlet modifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + State + + Specifies the value of the TDE property. Valid values are: + -- Enabled -- Disabled - - TransparentDataEncryptionStateType - - TransparentDataEncryptionStateType - - - none - - - ServerName - - Specifies the name of the server that hosts the database that this cmdlet modifies. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database that this cmdlet modifies. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database that this cmdlet modifies. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Enable TPE for a database -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlDatabaseTransparentDataEncryption -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -State Enabled - - This command enables TPE for the database named database01 on the server named server01. - - - ResourceGroupName ServerName DatabaseName State ------------------ ---------- ------------ ----- -resourcegroup01 server01 database01 Enabled + + TransparentDataEncryptionStateType + + TransparentDataEncryptionStateType + + + none + + + ServerName + + Specifies the name of the server that hosts the database that this cmdlet modifies. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database that this cmdlet modifies. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database that this cmdlet modifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Model.AzureSqlDatabaseTransparentDataEncryptionModel + + + + + - - - - - - - - - - - - - Get-AzureRmSqlDatabaseTransparentDataEncryption - - - - - Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity - - - - - - - - - Set-AzureRmSqlElasticPool - - Modifies properties for an elastic database pool in Azure SQL Database. - - - - - Set - AzureRMSqlElasticPool - - - - The Set-AzureRmSqlElasticPool cmdlet modifies properties for an elastic database pool in Azure SQL Database. This cmdlet can modify the minimum Database Throughput Units (DTUs) per database, and the maximum DTUs per database, the number of DTUs for the pool, and the storage limit for the pool. - - - - Set-AzureRmSqlElasticPool - - ElasticPoolName - - Specifies the name of the elastic pool that this cmdlet modifies. - - String - - - Edition - - Specifies the edition of Azure SQL Database for the elastic pool. You cannot change the edition. - - DatabaseEdition - - - Dtu - - Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: - -- Basic. 100 DTUs + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Enable TPE for a database -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseTransparentDataEncryption -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -State Enabled + + This command enables TPE for the database named database01 on the server named server01. + + + ResourceGroupName ServerName DatabaseName State +----------------- ---------- ------------ ----- +resourcegroup01 server01 database01 Enabled + + + + + + + + + + + + + Get-AzureRmSqlDatabaseTransparentDataEncryption + + + + Get-AzureRmSqlDatabaseTransparentDataEncryptionActivity + + + + + + + + Set-AzureRmSqlElasticPool + + Modifies properties for an elastic database pool in Azure SQL Database. + + + + + Set + AzureRmSqlElasticPool + + + + The Set-AzureRmSqlElasticPool cmdlet modifies properties for an elastic database pool in Azure SQL Database. This cmdlet can modify the minimum Database Throughput Units (DTUs) per database, and the maximum DTUs per database, the number of DTUs for the pool, and the storage limit for the pool. + + + + Set-AzureRmSqlElasticPool + + ElasticPoolName + + Specifies the name of the elastic pool that this cmdlet modifies. + + String + + + Edition + + Specifies the edition of Azure SQL Database for the elastic pool. You cannot change the edition. + + DatabaseEdition + + + Dtu + + Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: + -- Basic. 100 DTUs -- Standard. 100 DTUs -- Premium. 125 DTUs - - Int32 - - - StorageMB - - Specifies the storage limit, in megabytes, for the elastic pool. For more information, see the New-AzureRmSqlElasticPool cmdlet. - - Int32 - - - DatabaseDtuMin - - Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0). - - Int32 - - - DatabaseDtuMax - - Specifies the maximum number of DTUs that any single database in the pool can consume. The default values for different editions are as follows: - -- Basic. 5 DTUs + + Int32 + + + StorageMB + + Specifies the storage limit, in megabytes, for the elastic pool. For more information, see the New-AzureRmSqlElasticPool cmdlet. + + Int32 + + + DatabaseDtuMin + + Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0). + + Int32 + + + DatabaseDtuMax + + Specifies the maximum number of DTUs that any single database in the pool can consume. The default values for different editions are as follows: + -- Basic. 5 DTUs -- Standard. 100 DTUs -- Premium. 125 DTUs - - Int32 - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the elastic pool. - - Dictionary`2[String] - - - ServerName - - Specifies the name of the server that contains the elastic pool that this cmdlet updates. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the elastic pool that this cmdlet modifies. - - String - - - - - - ElasticPoolName - - Specifies the name of the elastic pool that this cmdlet modifies. - - String - - String - - - none - - - Edition - - Specifies the edition of Azure SQL Database for the elastic pool. You cannot change the edition. - - DatabaseEdition - - DatabaseEdition - - - none - - - Dtu - - Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: - -- Basic. 100 DTUs + + Int32 + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the elastic pool. + + Dictionary`2[String] + + + ServerName + + Specifies the name of the server that contains the elastic pool that this cmdlet updates. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the elastic pool that this cmdlet modifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ElasticPoolName + + Specifies the name of the elastic pool that this cmdlet modifies. + + String + + String + + + none + + + Edition + + Specifies the edition of Azure SQL Database for the elastic pool. You cannot change the edition. + + DatabaseEdition + + DatabaseEdition + + + none + + + Dtu + + Specifies the total number of shared DTUs for the elastic pool. The default values for different editions are as follows: + -- Basic. 100 DTUs -- Standard. 100 DTUs -- Premium. 125 DTUs - - Int32 - - Int32 - - - none - - - StorageMB - - Specifies the storage limit, in megabytes, for the elastic pool. For more information, see the New-AzureRmSqlElasticPool cmdlet. - - Int32 - - Int32 - - - none - - - DatabaseDtuMin - - Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0). - - Int32 - - Int32 - - - none - - - DatabaseDtuMax - - Specifies the maximum number of DTUs that any single database in the pool can consume. The default values for different editions are as follows: - -- Basic. 5 DTUs + + Int32 + + Int32 + + + none + + + StorageMB + + Specifies the storage limit, in megabytes, for the elastic pool. For more information, see the New-AzureRmSqlElasticPool cmdlet. + + Int32 + + Int32 + + + none + + + DatabaseDtuMin + + Specifies the minimum number of DTUs that the elastic pool guarantees to all the databases in the pool. The default value is zero (0). + + Int32 + + Int32 + + + none + + + DatabaseDtuMax + + Specifies the maximum number of DTUs that any single database in the pool can consume. The default values for different editions are as follows: + -- Basic. 5 DTUs -- Standard. 100 DTUs -- Premium. 125 DTUs - - Int32 - - Int32 - - - none - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the elastic pool. - - Dictionary`2[String] - - Dictionary`2[String] - - - none - - - ServerName - - Specifies the name of the server that contains the elastic pool that this cmdlet updates. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the elastic pool that this cmdlet modifies. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Modify properties for an elastic pool -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlDatabaseElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" -Dtu 1000 -DatabaseDtuMax 100 -DatabaseDtuMin 20 - - This command modifies properties for an elastic pool named elasticpool01. The command sets the number of DTUs for the elastic pool to be 1000 and sets the minimum and maximum DTUs. - - - ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 + + Int32 + + Int32 + + + none + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the elastic pool. + + Dictionary`2[String] + + Dictionary`2[String] + + + none + + + ServerName + + Specifies the name of the server that contains the elastic pool that this cmdlet updates. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the elastic pool that this cmdlet modifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ElasticPool.Model.AzureSqlElasticPoolModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Modify properties for an elastic pool -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlDatabaseElasticPool -ResourceGroupName "resourcegroup01" -ServerName "server01" -ElasticPoolName "elasticpool01" -Dtu 1000 -DatabaseDtuMax 100 -DatabaseDtuMin 20 + + This command modifies properties for an elastic pool named elasticpool01. The command sets the number of DTUs for the elastic pool to be 1000 and sets the minimum and maximum DTUs. + + + ResourceId : /subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/resourcegroup01/providers/Microsoft.Sql/servers/server01/elasticPools/elasticpool01 ResourceGroupName : resourcegroup01 ServerName : server01 ElasticPoolName : elasticpool01 @@ -12335,587 +14891,641 @@ Dtu : 200 DatabaseDtuMax : 100 DatabaseDtuMin : 20 StorageMB : 204800 -Tags : +Tags : + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlElasticPool + + + + Get-AzureRmSqlElasticPoolActivity + + + + Get-AzureRmSqlElasticPoolDatabase + + + + New-AzureRmSqlElasticPool + + + + + + + + Set-AzureRmSqlServer + + Modifies properties of an Azure SQL Database server. + + + + + Set + AzureRmSqlServer + + + + The Set-AzureRmSqlServer cmdlet modifies properties of an Azure SQL Database server. + + + + Set-AzureRmSqlServer + + ServerName + + Specifies the name of the server that this cmdlet modifies. + + String + + + SqlAdministratorPassword + + Specifies a new password, as a SecureSting, for the database server administrator for the server. To obtain a SecureSting, use the Get-Credential cmdlet. For more information, type Get-Help ConvertTo-SecureString. + + SecureString + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the server. + + Dictionary`2[String] + + + ServerVersion + + Specifies the version to which this cmdlet changes the server. Valid values are: 2.0 and 12.0. + + String + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that contains the server that this cmdlet modifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + ServerName + + Specifies the name of the server that this cmdlet modifies. + + String + + String + + + none + + + SqlAdministratorPassword + + Specifies a new password, as a SecureSting, for the database server administrator for the server. To obtain a SecureSting, use the Get-Credential cmdlet. For more information, type Get-Help ConvertTo-SecureString. + + SecureString + + SecureString + + + none + + + Tags + + Specifies a dictionary of tags that this cmdlet associates with the server. + + Dictionary`2[String] + + Dictionary`2[String] + + + none + + + ServerVersion + + Specifies the version to which this cmdlet changes the server. Valid values are: 2.0 and 12.0. + + String + + String + + + none + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the server that this cmdlet modifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlElasticPool - - - - - Get-AzureRmSqlElasticPoolActivity - - - - - Get-AzureRmSqlElasticPoolDatabase - - - - - New-AzureRmSqlElasticPool - - - - - - - - - Set-AzureRmSqlServer - - Modifies properties of an Azure SQL Database server. - - - - - Set - AzureRMSqlServer - - - - The Set-AzureRmSqlServer cmdlet modifies properties of an Azure SQL Database server. - - - - Set-AzureRmSqlServer - - ServerName - - Specifies the name of the server that this cmdlet modifies. - - String - - - SqlAdministratorPassword - - Specifies a new password, as a SecureSting, for the database server administrator for the server. To obtain a SecureSting, use the Get-Credential cmdlet. For more information, type Get-Help ConvertTo-SecureString. - - SecureString - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the server. - - Dictionary`2[String] - - - ServerVersion - - Specifies the version to which this cmdlet changes the server. Valid values are: 2.0 and 12.0. - - String - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that contains the server that this cmdlet modifies. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - ServerName - - Specifies the name of the server that this cmdlet modifies. - - String - - String - - - none - - - SqlAdministratorPassword - - Specifies a new password, as a SecureSting, for the database server administrator for the server. To obtain a SecureSting, use the Get-Credential cmdlet. For more information, type Get-Help ConvertTo-SecureString. - - SecureString - - SecureString - - - none - - - Tags - - Specifies a dictionary of tags that this cmdlet associates with the server. - - Dictionary`2[String] - - Dictionary`2[String] - - - none - - - ServerVersion - - Specifies the version to which this cmdlet changes the server. Valid values are: 2.0 and 12.0. - - String - - String - - - none - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the server that this cmdlet modifies. - - String - - String - - - none - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Reset admin password on Azure SQL Server -------------------------- - - PS C:\> - - PS C:\> $serverPassword = "newpassword" + + + + + + + Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Reset admin password on Azure SQL Server -------------------------- + + PS C:\> + + PS C:\> $serverPassword = "newpassword" PS C:\> $secureString = ConvertTo-SecureString $serverPassword -AsPlainText -Force -PS C:\> Set-AzureSqlServer -ResourceGroupName "resourcegroup01" -ServerName "server01" -SqlAdministratorPassword $secureString - - Resets the admin password to "newpassword" on Azure SQL Server "server01". - - - ResourceGroupName : resourcegroup01 +PS C:\> Set-AzureSqlServer -ResourceGroupName "resourcegroup01" -ServerName "server01" -SqlAdministratorPassword $secureString + + Resets the admin password to "newpassword" on Azure SQL Server "server01". + + + ResourceGroupName : resourcegroup01 ServerName : server01 Location : Australia East SqlAdministratorLogin : adminLogin SqlAdministratorPassword : ServerVersion : 12.0 Tags : - - - - - - - - - - - - - Azure SQL Database - - - - - - - - - Set-AzureRmSqlServerActiveDirectoryAdministrator - - Provisions an Azure AD administrator for SQL Server. - - - - - Set - AzureRMSqlServerActiveDirectoryAdministrator - - - - The Set-AzureRmSqlServerActiveDirectoryAdministrator cmdlet provisions an Azure Active Directory (Azure AD) administrator for Azure SQL Server in the current subscription. - Only one administrator can be provisioned at a time. - The following members of Azure AD can be provisioned as an administrator for SQL Server: - -- Native members of Azure AD + + + + + + + + + + + + + Azure SQL Database + + + + + + + + Set-AzureRmSqlServerActiveDirectoryAdministrator + + Provisions an Azure AD administrator for SQL Server. + + + + + Set + AzureRmSqlServerActiveDirectoryAdministrator + + + + The Set-AzureRmSqlServerActiveDirectoryAdministrator cmdlet provisions an Azure Active Directory (Azure AD) administrator for Azure SQL Server in the current subscription. + Only one administrator can be provisioned at a time. + The following members of Azure AD can be provisioned as an administrator for SQL Server: + -- Native members of Azure AD -- Federated members of Azure AD -- Imported members from other Azure AD who are native or federated members -- Azure AD groups created as security groups - + Microsoft accounts, such as those in the Outllook.com, Hotmail.com, or Live.com domains, are not supported as administrators. Other guest accounts, such as those in the Gmail.com or Yahoo.com domains, are not supported as administrators. - We recommend that you provision a dedicated Azure AD group as an administrator. - - - - Set-AzureRmSqlServerActiveDirectoryAdministrator - - DisplayName - - Specifies the display name of the Azure AD administrator that this cmdlet provisions for SQL Server. - - String - - - ObjectId - - Specifies the unique ID of the Azure AD administrator that this cmdlet provisions for SQL Server. If the display name is not unique, you must specify a value for this parameter. - - Guid - - - ServerName - - Specifies the name of the SQL Server for which this cmdlet provisions an administrator. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the SQL Server for which this cmdlet provisions an administrator. - - String - - - - - - DisplayName - - Specifies the display name of the Azure AD administrator that this cmdlet provisions for SQL Server. - - String - - String - - - none - - - ObjectId - - Specifies the unique ID of the Azure AD administrator that this cmdlet provisions for SQL Server. If the display name is not unique, you must specify a value for this parameter. - - Guid - - Guid - - - none - - - ServerName - - Specifies the name of the SQL Server for which this cmdlet provisions an administrator. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the SQL Server for which this cmdlet provisions an administrator. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Provision an administrator group for a server -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" -DisplayName "DBAs" - - - This command provisions an Azure AD administrator group DBAs for the server named server01 that is associated with resource group resourcegroup01. - - - ResourceGroupName ServerName DisplayName ObjectId + We recommend that you provision a dedicated Azure AD group as an administrator. + + + + Set-AzureRmSqlServerActiveDirectoryAdministrator + + DisplayName + + Specifies the display name of the Azure AD administrator that this cmdlet provisions for SQL Server. + + String + + + ObjectId + + Specifies the unique ID of the Azure AD administrator that this cmdlet provisions for SQL Server. If the display name is not unique, you must specify a value for this parameter. + + Guid + + + ServerName + + Specifies the name of the SQL Server for which this cmdlet provisions an administrator. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the SQL Server for which this cmdlet provisions an administrator. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + DisplayName + + Specifies the display name of the Azure AD administrator that this cmdlet provisions for SQL Server. + + String + + String + + + none + + + ObjectId + + Specifies the unique ID of the Azure AD administrator that this cmdlet provisions for SQL Server. If the display name is not unique, you must specify a value for this parameter. + + Guid + + Guid + + + none + + + ServerName + + Specifies the name of the SQL Server for which this cmdlet provisions an administrator. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the SQL Server for which this cmdlet provisions an administrator. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ServerActiveDirectoryAdministrator.Model.AzureSqlServerActiveDirectoryAdministratorModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Provision an administrator group for a server -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" -DisplayName "DBAs" + + This command provisions an Azure AD administrator group DBAs for the server named server01 that is associated with resource group resourcegroup01. + + + ResourceGroupName ServerName DisplayName ObjectId ----------------- ---------- ----------- -------- resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b - - - - - - - - - - - -------------------------- Example 2: Provision an administrator user for a server -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" -DisplayName "David Chew" - - - This command provisions an Azure AD user David Chew as an administrator for the server named server01. - - - ResourceGroupName ServerName DisplayName ObjectId + + + + + + + + + + + -------------------------- Example 2: Provision an administrator user for a server -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" -DisplayName "David Chew" + + This command provisions an Azure AD user David Chew as an administrator for the server named server01. + + + ResourceGroupName ServerName DisplayName ObjectId ----------------- ---------- ----------- -------- resourcegroup01 server01 David Chew 11E95548-B179-4FE1-9AF4-ACA49D13ABB9 - - - - - - - - - - - -------------------------- Example 3: Provision an administrator group by specifying its ID -------------------------- - - PS C:\> - - PS C:\>Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" -DisplayName "DBAs" -ObjectId "40b79501-b343-44ed-9ce7-da4c8cc7353b" - - - This command provisions an Azure AD administrator group DBAs for the server named server01. This command specifies an ID for the ObjectId parameter. If the display name of the object is not unique, the command still works. - - - ResourceGroupName ServerName DisplayName ObjectId + + + + + + + + + + + -------------------------- Example 3: Provision an administrator group by specifying its ID -------------------------- + + PS C:\> + + PS C:\>Set-AzureRmSqlServerActiveDirectoryAdministrator -ResourceGroupName "resourcegroup01" -ServerName "server01" -DisplayName "DBAs" -ObjectId "40b79501-b343-44ed-9ce7-da4c8cc7353b" + + This command provisions an Azure AD administrator group DBAs for the server named server01. This command specifies an ID for the ObjectId parameter. If the display name of the object is not unique, the command still works. + + + ResourceGroupName ServerName DisplayName ObjectId ----------------- ---------- ----------- -------- resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b - - - - - - - - - - - - - Get-AzureRmSqlServerActiveDirectoryAdministrator - - - - - Remove-AzureRmSqlServerActiveDirectoryAdministrator - - - - - - - - - Set-AzureRmSqlServerAuditingPolicy - - Changes the auditing policy of an Azure SQL server. - - - - - Set - AzureRMSqlServerAuditingPolicy - - - - The Set-AzureRmSqlServerAuditingPolicy cmdlet changes the auditing policy of an Azure SQL server. Specify the ResourceGroupName and ServerName parameters to identify the server, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the StorageKeyType parameter to define which of that storage keys to use. You can also define retention for the audit logs table by setting the value of the RetentionInDays and TableIdentifier parameters to define the period and the seed for the names of the audit logs tables. Specify the EventType parameter to define which event types to audit. After you run this cmdlet, auditing of the databases that use the policy of this server is enabled. If the cmdlet succeeds, and you specify the PassThru parameter, the cmdlet returns an object that describes the current auditing policy, and the server’s identifiers. Server identifiers include, but are not limited to, ResourceGroupName and ServerName. - - - - Set-AzureRmSqlServerAuditingPolicy - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - - EventType - - Specifies the event types to audit. Valid values are: - -- PlainSQL_Success + + + + + + + + + + + + + Get-AzureRmSqlServerActiveDirectoryAdministrator + + + + Remove-AzureRmSqlServerActiveDirectoryAdministrator + + + + + + + + Set-AzureRmSqlServerAuditingPolicy + + Changes the auditing policy of an Azure SQL server. + + + + + Set + AzureRmSqlServerAuditingPolicy + + + + The Set-AzureRmSqlServerAuditingPolicy cmdlet changes the auditing policy of an Azure SQL server. Specify the ResourceGroupName and ServerName parameters to identify the server, the StorageAccountName parameter to specify the storage account to be used for the audit logs and the StorageKeyType parameter to define which of that storage keys to use. You can also define retention for the audit logs table by setting the value of the RetentionInDays and TableIdentifier parameters to define the period and the seed for the names of the audit logs tables. Specify the EventType parameter to define which event types to audit. After you run this cmdlet, auditing of the databases that use the policy of this server is enabled. If the cmdlet succeeds, and you specify the PassThru parameter, the cmdlet returns an object that describes the current auditing policy, and the server’s identifiers. Server identifiers include, but are not limited to, ResourceGroupName and ServerName. + + + + Set-AzureRmSqlServerAuditingPolicy + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + EventType + + Specifies the event types to audit. Valid values are: + -- PlainSQL_Success -- PlainSQL_Failure -- ParameterizedSQL_Success -- ParameterizedSQL_Failure @@ -12927,75 +15537,89 @@ resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b - You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails. - - String[] - - - StorageAccountName - - Specifies the name of the storage account to be used when auditing the database. Wildcard characters are not permitted. If you do not specify this parameter, the cmdlet uses the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and you do not specify this parameter, the cmdlet fails. - - String - - - StorageKeyType - - Specifies which of the storage access keys to use. Valid values are: - -- Primary + You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails. + + String[] + + + StorageAccountName + + Specifies the name of the storage account to be used when auditing the database. Wildcard characters are not permitted. If you do not specify this parameter, the cmdlet uses the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and you do not specify this parameter, the cmdlet fails. + + String + + + StorageKeyType + + Specifies which of the storage access keys to use. Valid values are: + -- Primary -- Secondary - The default value is Primary. - - String - - - RetentionInDays - - Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter. - - Nullable`1[UInt32] - - - TableIdentifier - - Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter. - - String - - - ServerName - - Specifies the name of the server that contains the database. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - EventType - - Specifies the event types to audit. Valid values are: - -- PlainSQL_Success + The default value is Primary. + + String + + + RetentionInDays + + Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter. + + Nullable`1[UInt32] + + + TableIdentifier + + Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter. + + String + + + ServerName + + Specifies the name of the server that contains the database. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + EventType + + Specifies the event types to audit. Valid values are: + -- PlainSQL_Success -- PlainSQL_Failure -- ParameterizedSQL_Success -- ParameterizedSQL_Failure @@ -13007,1656 +15631,2049 @@ resourcegroup01 server01 DBAs 40b79501-b343-44ed-9ce7-da4c8cc7353b - You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails. - - String[] - - String[] - - - none - - - StorageAccountName - - Specifies the name of the storage account to be used when auditing the database. Wildcard characters are not permitted. If you do not specify this parameter, the cmdlet uses the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and you do not specify this parameter, the cmdlet fails. - - String - - String - - - none - - - StorageKeyType - - Specifies which of the storage access keys to use. Valid values are: - -- Primary + You can specify several event types. You can specify All to audit all of the event types or None to specify that no events will be audited. If you specify All or None at the same time, the cmdlet fails. + + String[] + + String[] + + + none + + + StorageAccountName + + Specifies the name of the storage account to be used when auditing the database. Wildcard characters are not permitted. If you do not specify this parameter, the cmdlet uses the storage account that was defined previously as part of the auditing policy of the database. If this is the first time a database auditing policy is defined and you do not specify this parameter, the cmdlet fails. + + String + + String + + + none + + + StorageKeyType + + Specifies which of the storage access keys to use. Valid values are: + -- Primary -- Secondary - The default value is Primary. - - String - - String - - - none - - - RetentionInDays - - Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter. - - Nullable`1[UInt32] - - Nullable`1[UInt32] - - - none - - - TableIdentifier - - Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter. - - String - - String - - - none - - - ServerName - - Specifies the name of the server that contains the database. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Set the auditing policy of an Azure SQL server -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -StorageAccountName "Storage22" - - This command sets the auditing policy of the server named server01 to use storage account named Storage22. - - - - - - - - - - - - - - - -------------------------- Example 2: Set the storage account key of an already existing auditing policy of an Azure SQL server -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -StorageAccountKey Secondary - - This command sets the auditing policy of the server named server01 to use the secondary key. The command does not modify the storage account name. - - - - - - - - - - - - - - - -------------------------- Example 3: Set the auditing policy of an Azure SQL server to use a specific event type -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -EventType Login_Failure - - This command sets the auditing policy of the server named server01 to use the Login_Failure event type. This command does not modify any other setting. - - - - - - - - - - - - - - - - - Get-AzureRmSqlServerAuditingPolicy - - - - - Use-AzureRmSqlServerAuditingPolicy - - - - - - - - - Set-AzureRmSqlServerFirewallRule - - Modifies a firewall rule in Azure SQL Database server. - - - - - Set - AzureRMSqlServerFirewallRule - - - - The Set-AzureRmSqlServerFirewallRule cmdlet modifies a firewall rule in Azure SQL Database server. - - - - Set-AzureRmSqlServerFirewallRule - - FirewallRuleName - - Specifies the name of the firewall rule that this cmdlet modifies. - - String - - - StartIpAddress - - Specifies the start value of the IP address range for the firewall rule. - - String - - - EndIpAddress - - Specifies the end value of the IP address range for this rule. - - String - - - ServerName - - Specifies the name of a server. This cmdlet modifies a firewall rule on the server that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of a resource group. This cmdlet modifies a firewall rule on a server in the resource group that this cmdlet specifies. - - String - - - - - - FirewallRuleName - - Specifies the name of the firewall rule that this cmdlet modifies. - - String - - String - - - none - - - StartIpAddress - - Specifies the start value of the IP address range for the firewall rule. - - String - - String - - - none - - - EndIpAddress - - Specifies the end value of the IP address range for this rule. - - String - - String - - - none - - - ServerName - - Specifies the name of a server. This cmdlet modifies a firewall rule on the server that this parameter specifies. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of a resource group. This cmdlet modifies a firewall rule on a server in the resource group that this cmdlet specifies. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Modify a firewall rule -------------------------- - - PS C:\> - - PS C:\> Set-AzureRmSqlServerFirewallRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -FirewallRuleName "rule01" -StartIpAddress "192.168.0.197" -EndIpAddress "192.168.0.199" - - This command modifies a firewall rule named rule01 on the server named server01. The command modifies the start and end IP addresses. - - - ResourceGroupName : resourcegroup01 + The default value is Primary. + + String + + String + + + none + + + RetentionInDays + + Specifies the number of retention days for the audit logs table. A value of zero (0) means that the table is not retained. The default value is zero. If you specify a value greater than zero, you must specify a value for the TableIdentifer parameter. + + Nullable`1[UInt32] + + Nullable`1[UInt32] + + + none + + + TableIdentifier + + Specifies the name of the audit logs table. Specify this value if you specify a value greater than zero for the RetentionInDays parameter. + + String + + String + + + none + + + ServerName + + Specifies the name of the server that contains the database. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.ServerAuditingPolicyModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Set the auditing policy of an Azure SQL server -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -StorageAccountName "Storage22" + + This command sets the auditing policy of the server named server01 to use storage account named Storage22. + + + + + + + + + + + + + + -------------------------- Example 2: Set the storage account key of an already existing auditing policy of an Azure SQL server -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -StorageAccountKey Secondary + + This command sets the auditing policy of the server named server01 to use the secondary key. The command does not modify the storage account name. + + + + + + + + + + + + + + -------------------------- Example 3: Set the auditing policy of an Azure SQL server to use a specific event type -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server01" -EventType Login_Failure + + This command sets the auditing policy of the server named server01 to use the Login_Failure event type. This command does not modify any other setting. + + + + + + + + + + + + + + + + Get-AzureRmSqlServerAuditingPolicy + + + + Use-AzureRmSqlServerAuditingPolicy + + + + + + + + Set-AzureRmSqlServerCommunicationLink + + + + + + + Set + AzureRmSqlServerCommunicationLink + + + + + + + + Set-AzureRmSqlServerCommunicationLink + + LinkName + + + + String + + + PartnerServer + + + + String + + + ServerName + + + + String + + + ResourceGroupName + + + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + LinkName + + + + String + + String + + + + + + PartnerServer + + + + String + + String + + + + + + ServerName + + + + String + + String + + + + + + ResourceGroupName + + + + String + + String + + + + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureRmSqlServerFirewallRule + + Modifies a firewall rule in Azure SQL Database server. + + + + + Set + AzureRmSqlServerFirewallRule + + + + The Set-AzureRmSqlServerFirewallRule cmdlet modifies a firewall rule in Azure SQL Database server. + + + + Set-AzureRmSqlServerFirewallRule + + FirewallRuleName + + Specifies the name of the firewall rule that this cmdlet modifies. + + String + + + StartIpAddress + + Specifies the start value of the IP address range for the firewall rule. + + String + + + EndIpAddress + + Specifies the end value of the IP address range for this rule. + + String + + + ServerName + + Specifies the name of a server. This cmdlet modifies a firewall rule on the server that this parameter specifies. + + String + + + ResourceGroupName + + Specifies the name of a resource group. This cmdlet modifies a firewall rule on a server in the resource group that this cmdlet specifies. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + FirewallRuleName + + Specifies the name of the firewall rule that this cmdlet modifies. + + String + + String + + + none + + + StartIpAddress + + Specifies the start value of the IP address range for the firewall rule. + + String + + String + + + none + + + EndIpAddress + + Specifies the end value of the IP address range for this rule. + + String + + String + + + none + + + ServerName + + Specifies the name of a server. This cmdlet modifies a firewall rule on the server that this parameter specifies. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of a resource group. This cmdlet modifies a firewall rule on a server in the resource group that this cmdlet specifies. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.FirewallRule.Model.AzureSqlServerFirewallRuleModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Modify a firewall rule -------------------------- + + PS C:\> + + PS C:\> Set-AzureRmSqlServerFirewallRule -ResourceGroupName "resourcegroup01" -ServerName "server01" -FirewallRuleName "rule01" -StartIpAddress "192.168.0.197" -EndIpAddress "192.168.0.199" + + This command modifies a firewall rule named rule01 on the server named server01. The command modifies the start and end IP addresses. + + + ResourceGroupName : resourcegroup01 ServerName : server01 StartIpAddress : 192.168.0.199 EndIpAddress : 192.168.0.200 FirewallRuleName : rule01 - - - - - - - - - - - - - Azure SQL Database - - - - - Get-AzureRmSqlServerFirewallRule - - - - - New-AzureRmSqlServerFirewallRule - - - - - Remove-AzureRmSqlServerFirewallRule - - - - - - - - - Start-AzureRmSqlDatabaseExecuteIndexRecommendation - - Starts the workflow that runs a recommended index operation. - - - - - Start - AzureRMSqlDatabaseExecuteIndexRecommendation - - - - The Start-AzureRmSqlDatabaseExecuteIndexRecommendation cmdlet starts the workflow that runs a recommended index operation in Azure SQL Database. - - - - Start-AzureRmSqlDatabaseExecuteIndexRecommendation - - ServerName - - Specifies the server that hosts the database for which this cmdlet starts a workflow. - - String - - - DatabaseName - - Specifies the name of the database for which this cmdlet starts the workflow. - - String - - - IndexRecommendationName - - Specifies the name of the index recommendation that this cmdlet runs. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the server. This cmdlet starts a workflow on a database that this server hosts. - - String - - - - - - ServerName - - Specifies the server that hosts the database for which this cmdlet starts a workflow. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database for which this cmdlet starts the workflow. - - String - - String - - - none - - - IndexRecommendationName - - Specifies the name of the index recommendation that this cmdlet runs. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the server. This cmdlet starts a workflow on a database that this server hosts. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Run an index recommendation -------------------------- - - PS C:\> - - PS C:\> Start-AzureRmSqlDatabaseExecuteIndexRecommendation -ResourceGroup "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -IndexRecommendationName "INDEX_NAME" - - This command runs index recommendation. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseIndexRecommendations - - - - - Stop-AzureRmSqlDatabaseExecuteIndexRecommendation - - - - - - - - - Start-AzureRmSqlServerUpgrade - - Starts the upgrade of an Azure SQL Database server. - - - - - Start - AzureRMSqlServerUpgrade - - - - The Start-AzureRmSqlServerUpgrade cmdlet starts the upgrade of an Azure SQL Database server version 11 to version 12. Monitor the progress of an upgrade by using the Get-AzureRmSqlServerUpgrade cmdlet. - - - - Start-AzureRmSqlServerUpgrade - - ServerVersion - - Specifies the version to which this cmdlet upgrades the server. Currently, the only valid value is 12.0. - - String - - - ScheduleUpgradeAfterUtcDateTime - - Specifies the earliest time, as a DateTime object, to upgrade the server. Specify a value in the ISO8601 format, in Coordinated Universal Time (UTC). For more information, type Get-Help Get-Date. - - Nullable`1[DateTime] - - - DatabaseCollection - - Specifies an array of RecommendedDatabaseProperties objects that this cmdlet uses for the server upgrade. - - RecommendedDatabaseProperties[] - - - ElasticPoolCollection - - Collection of UpgradeRecommendedElasticPoolProperties objects to be used for the server upgrade. Check the examples on how to construct a sample object. - - UpgradeRecommendedElasticPoolProperties[] - - - ServerName - - Specifies the name of the server that this cmdlet upgrades. - - String - - - ResourceGroupName - - Specifies the name of the resource group in which this cmdlet upgrades a server. - - String - - - - - - ServerVersion - - Specifies the version to which this cmdlet upgrades the server. Currently, the only valid value is 12.0. - - String - - String - - - none - - - ScheduleUpgradeAfterUtcDateTime - - Specifies the earliest time, as a DateTime object, to upgrade the server. Specify a value in the ISO8601 format, in Coordinated Universal Time (UTC). For more information, type Get-Help Get-Date. - - Nullable`1[DateTime] - - Nullable`1[DateTime] - - - none - - - DatabaseCollection - - Specifies an array of RecommendedDatabaseProperties objects that this cmdlet uses for the server upgrade. - - RecommendedDatabaseProperties[] - - RecommendedDatabaseProperties[] - - - none - - - ElasticPoolCollection - - Collection of UpgradeRecommendedElasticPoolProperties objects to be used for the server upgrade. Check the examples on how to construct a sample object. - - UpgradeRecommendedElasticPoolProperties[] - - UpgradeRecommendedElasticPoolProperties[] - - - none - - - ServerName - - Specifies the name of the server that this cmdlet upgrades. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group in which this cmdlet upgrades a server. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Upgrade a Simple server -------------------------- - - PS C:\> - - PS C:\> Start-AzureRmSqlServerUpgrade -ResourceGroupName "resourcegroup01" -ServerName "server01" -ServerVersion 12.0 - - This command upgrades the server named server01 in resource group named resourcegroup01 to version 12.0. server01 must currently be version 2.0. - - - ResourceGroupName : resourcegroup01 + + + + + + + + + + + + + Azure SQL Database + + + + Get-AzureRmSqlServerFirewallRule + + + + New-AzureRmSqlServerFirewallRule + + + + Remove-AzureRmSqlServerFirewallRule + + + + + + + + Start-AzureRmSqlDatabaseExecuteIndexRecommendation + + Starts the workflow that runs a recommended index operation. + + + + + Start + AzureRmSqlDatabaseExecuteIndexRecommendation + + + + The Start-AzureRmSqlDatabaseExecuteIndexRecommendation cmdlet starts the workflow that runs a recommended index operation in Azure SQL Database. + + + + Start-AzureRmSqlDatabaseExecuteIndexRecommendation + + ServerName + + Specifies the server that hosts the database for which this cmdlet starts a workflow. + + String + + + DatabaseName + + Specifies the name of the database for which this cmdlet starts the workflow. + + String + + + IndexRecommendationName + + Specifies the name of the index recommendation that this cmdlet runs. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the server. This cmdlet starts a workflow on a database that this server hosts. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the server that hosts the database for which this cmdlet starts a workflow. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database for which this cmdlet starts the workflow. + + String + + String + + + none + + + IndexRecommendationName + + Specifies the name of the index recommendation that this cmdlet runs. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the server. This cmdlet starts a workflow on a database that this server hosts. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Run an index recommendation -------------------------- + + PS C:\> + + PS C:\> Start-AzureRmSqlDatabaseExecuteIndexRecommendation -ResourceGroup "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -IndexRecommendationName "INDEX_NAME" + + This command runs index recommendation. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseIndexRecommendations + + + + Stop-AzureRmSqlDatabaseExecuteIndexRecommendation + + + + + + + + Start-AzureRmSqlServerUpgrade + + Starts the upgrade of an Azure SQL Database server. + + + + + Start + AzureRmSqlServerUpgrade + + + + The Start-AzureRmSqlServerUpgrade cmdlet starts the upgrade of an Azure SQL Database server version 11 to version 12. Monitor the progress of an upgrade by using the Get-AzureRmSqlServerUpgrade cmdlet. + + + + Start-AzureRmSqlServerUpgrade + + ServerVersion + + Specifies the version to which this cmdlet upgrades the server. Currently, the only valid value is 12.0. + + String + + + ScheduleUpgradeAfterUtcDateTime + + Specifies the earliest time, as a DateTime object, to upgrade the server. Specify a value in the ISO8601 format, in Coordinated Universal Time (UTC). For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + + DatabaseCollection + + Specifies an array of RecommendedDatabaseProperties objects that this cmdlet uses for the server upgrade. + + RecommendedDatabaseProperties[] + + + ElasticPoolCollection + + Collection of UpgradeRecommendedElasticPoolProperties objects to be used for the server upgrade. Check the examples on how to construct a sample object. + + UpgradeRecommendedElasticPoolProperties[] + + + ServerName + + Specifies the name of the server that this cmdlet upgrades. + + String + + + ResourceGroupName + + Specifies the name of the resource group in which this cmdlet upgrades a server. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerVersion + + Specifies the version to which this cmdlet upgrades the server. Currently, the only valid value is 12.0. + + String + + String + + + none + + + ScheduleUpgradeAfterUtcDateTime + + Specifies the earliest time, as a DateTime object, to upgrade the server. Specify a value in the ISO8601 format, in Coordinated Universal Time (UTC). For more information, type Get-Help Get-Date. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + none + + + DatabaseCollection + + Specifies an array of RecommendedDatabaseProperties objects that this cmdlet uses for the server upgrade. + + RecommendedDatabaseProperties[] + + RecommendedDatabaseProperties[] + + + none + + + ElasticPoolCollection + + Collection of UpgradeRecommendedElasticPoolProperties objects to be used for the server upgrade. Check the examples on how to construct a sample object. + + UpgradeRecommendedElasticPoolProperties[] + + UpgradeRecommendedElasticPoolProperties[] + + + none + + + ServerName + + Specifies the name of the server that this cmdlet upgrades. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group in which this cmdlet upgrades a server. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Upgrade a Simple server -------------------------- + + PS C:\> + + PS C:\> Start-AzureRmSqlServerUpgrade -ResourceGroupName "resourcegroup01" -ServerName "server01" -ServerVersion 12.0 + + This command upgrades the server named server01 in resource group named resourcegroup01 to version 12.0. server01 must currently be version 2.0. + + + ResourceGroupName : resourcegroup01 ServerName : server01 ServerVersion : 12.0 ScheduleUpgradeAfterUtcDateTime : DatabaseCollection : - - - - - - - - - - - -------------------------- Example 2: Upgrade server by using schedule time and database recommendation -------------------------- - - PS C:\> - - PS C:\> $ScheduleTime = (Get-Date).AddMinutes(5).ToUniversalTime() + + + + + + + + + + + -------------------------- Example 2: Upgrade server by using schedule time and database recommendation -------------------------- + + PS C:\> + + PS C:\> $ScheduleTime = (Get-Date).AddMinutes(5).ToUniversalTime() PS C:\> $DatabaseMap = New-Object -TypeName Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties -PS C:\> $DatabaseMap.Name = "contosodb" -PS C:\> $DatabaseMap.TargetEdition = "Standard" -PS C:\> $DatabaseMap.TargetServiceLevelObjective = "S0" -PS C:\> Start-AzureRmSqlServerUpgrade -ResourceGroupName "resourcegroup01" -ServerName "server01" -ServerVersion 12.0 -ScheduleUpgradeAfterUtcDateTime $ScheduleTime -DatabaseCollection ($DatabaseMap) - - The first command creates a time five minutes in the future by using the Get-Date core cmdlet. The command stores the date in the $ScheduleTime variable. For more information, type Get-Help Get-Date. +PS C:\> $DatabaseMap.Name = "contosodb" +PS C:\> $DatabaseMap.TargetEdition = "Standard" +PS C:\> $DatabaseMap.TargetServiceLevelObjective = "S0" +PS C:\> Start-AzureRmSqlServerUpgrade -ResourceGroupName "resourcegroup01" -ServerName "server01" -ServerVersion 12.0 -ScheduleUpgradeAfterUtcDateTime $ScheduleTime -DatabaseCollection ($DatabaseMap) + + The first command creates a time five minutes in the future by using the Get-Date core cmdlet. The command stores the date in the $ScheduleTime variable. For more information, type Get-Help Get-Date. The second command creates a RecommendedDatabaseProperties object, and then stores that object in the $DatabaseMap variable. The next three commands assign values to properties of the object stored in $DatabaseMap. The final command upgrades the existing server named server02 in the resource group named resourcegroup01 to version 12.0. The earliest time to upgrade is five minutes after you run the command, as specified by the $ScheduleTime variable. After the upgrade, the database contosodb has the edition Standard and the Service Level Objective value of S0. - - - - - - - - - - - - - - - - - Get-AzureRmSqlServerUpgrade - - - - - Stop-AzureRmSqlServerUpgrade - - - - - - - - - Stop-AzureRmSqlDatabaseExecuteIndexRecommendation - - Stops the workflow that runs a recommended index operation. - - - - - Stop - AzureRMSqlDatabaseExecuteIndexRecommendation - - - - The Stop-AzureRmSqlDatabaseExecuteIndexRecommendation cmdlet stops the workflow that runs a recommended index operation. - - - - Stop-AzureRmSqlDatabaseExecuteIndexRecommendation - - ServerName - - Specifies the server that hosts the database for which this cmdlet stops a workflow. - - String - - - DatabaseName - - Specifies the name of the database for which this cmdlet stops the workflow. - - String - - - IndexRecommendationName - - Specifies the name of the index recommendation that this cmdlet stops. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the server. This cmdlet stops a workflow on a database that this server hosts. - - String - - - - - - ServerName - - Specifies the server that hosts the database for which this cmdlet stops a workflow. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database for which this cmdlet stops the workflow. - - String - - String - - - none - - - IndexRecommendationName - - Specifies the name of the index recommendation that this cmdlet stops. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the server. This cmdlet stops a workflow on a database that this server hosts. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Stop running an index recommendation -------------------------- - - PS C:\> - - PS C:\> Stop-AzureRmSqlDatabaseExecuteIndexRecommendation -ResourceGroup "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -IndexRecommendationName "INDEX_NAME" - - This command stops running the index recommendation. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseIndexRecommendations - - - - - Start-AzureRmSqlDatabaseExecuteIndexRecommendation - - - - - - - - - Stop-AzureRmSqlServerUpgrade - - Stops the upgrade of an Azure SQL Database server. - - - - - Stop - AzureRMSqlServerUpgrade - - - - The Stop-AzureRmSqlServerUpgrade cmdlet stops the upgrade of an Azure SQL Database server. - - - - Stop-AzureRmSqlServerUpgrade - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - - ServerName - - Specifies the name of the server for which this cmdlet stops an upgrade. - - String - - - ResourceGroupName - - Specifies the name of the resource group in which this cmdlet stops the upgrade of a server. - - String - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - - - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - ServerName - - Specifies the name of the server for which this cmdlet stops an upgrade. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group in which this cmdlet stops the upgrade of a server. - - String - - String - - - none - - - WhatIf - - Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - - SwitchParameter - - SwitchParameter - - - false - - - Confirm - - Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - - SwitchParameter - - SwitchParameter - - - false - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Stop a server upgrade -------------------------- - - PS C:\> - - PS C:\> Stop-AzureRmSqlServerUpgrade -ResourceGroupName "resourcegroup01" -ServerName "server02" - - This command stops the request to upgrade the server named server02 in the resource group named resourcegroup01. - - - - - - - - - - - - - - - - - Get-AzureRmSqlServerUpgrade - - - - - Start-AzureRmSqlServerUpgrade - - - - - - - - - Suspend-AzureRmSqlDatabase - - Suspends an Azure SQL Data Warehouse database. - - - - - Suspend - AzureRMSqlDatabase - - - - The Suspend-AzureRmSqlDatabase cmdlet suspends an Azure SQL Data Warehouse database. - - - - Suspend-AzureRmSqlDatabase - - ServerName - - Specifies the name of the server which hosts the database that this cmdlet suspends. - - String - - - DatabaseName - - Specifies the name of the database that this cmdlet suspends. - - String - - - ResourceGroupName - - Specifies the name of the resource group. - - String - - - - - - ServerName - - Specifies the name of the server which hosts the database that this cmdlet suspends. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database that this cmdlet suspends. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel - - - - - - - - - - - - - - - - - - This Suspend-AzureRmSqlDatabase cmdlet works only on Azure SQL Data Warehouse databases. This operation is not supported on Azure SQL Database Basic, Standard and Premium editions. - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Suspends an Azure SQL Data Warehouse database -------------------------- - - PS C:\> - - PS C:\> Suspend-AzureSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" - - This command suspends an active Azure SQL Data Warehouse database. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabase - - - - - New-AzureRmSqlDatabase - - - - - Remove-AzureRmSqlDatabase - - - - - Resume-AzureRmSqlDatabase - - - - - Set-AzureRmSqlDatabase - - - - - - - - - Use-AzureRmSqlServerAuditingPolicy - - Specifies that a database uses the auditing policy of its hosting server. - - - - - Use - AzureRMSqlServerAuditingPolicy - - - - The Use-AzureRmSqlServerAuditingPolicy cmdlet specifies that a database uses the auditing policy of its host server. Specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. If no auditing policy is defined for the database server, this cmdlet fails. - If the host uses server level auditing, threat detection is removed. - - - - Use-AzureRmSqlServerAuditingPolicy - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - - ServerName - - Specifies the name of the server that hosts the database to use the auditing policy. - - String - - - DatabaseName - - Specifies the name of the database to use the auditing policy. - - String - - - ResourceGroupName - - Specifies the name of the resource group that contains the database to use the auditing policy. - - String - - - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter - - SwitchParameter - - - none - - - ServerName - - Specifies the name of the server that hosts the database to use the auditing policy. - - String - - String - - - none - - - DatabaseName - - Specifies the name of the database to use the auditing policy. - - String - - String - - - none - - - ResourceGroupName - - Specifies the name of the resource group that contains the database to use the auditing policy. - - String - - String - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - azureprofile - - azureprofile - - - none - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql - - - - - -------------------------- Example 1: Define for a database to use the auditing policy of its server -------------------------- - - PS C:\> - - PS C:\> Use-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server02" -DatabaseName "database01" - - This command specifies that the database named database01 on server01 uses the auditing policy of its server. - - - - - - - - - - - - - - - - - Get-AzureRmSqlDatabaseAuditingPolicy - - - - - Get-AzureRmSqlServerAuditingPolicy - - - - - Set-AzureRmSqlDatabaseAuditingPolicy - - - - - Set-AzureRmSqlServerAuditingPolicy - - - - - - + + + + + + + + + + + + + + + + Get-AzureRmSqlServerUpgrade + + + + Stop-AzureRmSqlServerUpgrade + + + + + + + + Stop-AzureRmSqlDatabaseExecuteIndexRecommendation + + Stops the workflow that runs a recommended index operation. + + + + + Stop + AzureRmSqlDatabaseExecuteIndexRecommendation + + + + The Stop-AzureRmSqlDatabaseExecuteIndexRecommendation cmdlet stops the workflow that runs a recommended index operation. + + + + Stop-AzureRmSqlDatabaseExecuteIndexRecommendation + + ServerName + + Specifies the server that hosts the database for which this cmdlet stops a workflow. + + String + + + DatabaseName + + Specifies the name of the database for which this cmdlet stops the workflow. + + String + + + IndexRecommendationName + + Specifies the name of the index recommendation that this cmdlet stops. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the server. This cmdlet stops a workflow on a database that this server hosts. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the server that hosts the database for which this cmdlet stops a workflow. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database for which this cmdlet stops the workflow. + + String + + String + + + none + + + IndexRecommendationName + + Specifies the name of the index recommendation that this cmdlet stops. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the server. This cmdlet stops a workflow on a database that this server hosts. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Stop running an index recommendation -------------------------- + + PS C:\> + + PS C:\> Stop-AzureRmSqlDatabaseExecuteIndexRecommendation -ResourceGroup "resourcegroup01" -ServerName "server01" -DatabaseName "database01" -IndexRecommendationName "INDEX_NAME" + + This command stops running the index recommendation. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseIndexRecommendations + + + + Start-AzureRmSqlDatabaseExecuteIndexRecommendation + + + + + + + + Stop-AzureRmSqlServerUpgrade + + Stops the upgrade of an Azure SQL Database server. + + + + + Stop + AzureRmSqlServerUpgrade + + + + The Stop-AzureRmSqlServerUpgrade cmdlet stops the upgrade of an Azure SQL Database server. + + + + Stop-AzureRmSqlServerUpgrade + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + + ServerName + + Specifies the name of the server for which this cmdlet stops an upgrade. + + String + + + ResourceGroupName + + Specifies the name of the resource group in which this cmdlet stops the upgrade of a server. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + + + + + Force + + Forces the command to run without asking for user confirmation. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the server for which this cmdlet stops an upgrade. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group in which this cmdlet stops the upgrade of a server. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false + + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + SwitchParameter + + SwitchParameter + + + false + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.ServerUpgrade.Model.AzureSqlServerUpgradeModel + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Stop a server upgrade -------------------------- + + PS C:\> + + PS C:\> Stop-AzureRmSqlServerUpgrade -ResourceGroupName "resourcegroup01" -ServerName "server02" + + This command stops the request to upgrade the server named server02 in the resource group named resourcegroup01. + + + + + + + + + + + + + + + + Get-AzureRmSqlServerUpgrade + + + + Start-AzureRmSqlServerUpgrade + + + + + + + + Suspend-AzureRmSqlDatabase + + Suspends an Azure SQL Data Warehouse database. + + + + + Suspend + AzureRmSqlDatabase + + + + The Suspend-AzureRmSqlDatabase cmdlet suspends an Azure SQL Data Warehouse database. + + + + Suspend-AzureRmSqlDatabase + + ServerName + + Specifies the name of the server which hosts the database that this cmdlet suspends. + + String + + + DatabaseName + + Specifies the name of the database that this cmdlet suspends. + + String + + + ResourceGroupName + + Specifies the name of the resource group. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + ServerName + + Specifies the name of the server which hosts the database that this cmdlet suspends. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database that this cmdlet suspends. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Database.Model.AzureSqlDatabaseModel + + + + + + + + + + + + + + + This Suspend-AzureRmSqlDatabase cmdlet works only on Azure SQL Data Warehouse databases. This operation is not supported on Azure SQL Database Basic, Standard and Premium editions. + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Suspends an Azure SQL Data Warehouse database -------------------------- + + PS C:\> + + PS C:\> Suspend-AzureSqlDatabase -ResourceGroupName "resourcegroup01" -ServerName "server01" -DatabaseName "database01" + + This command suspends an active Azure SQL Data Warehouse database. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabase + + + + New-AzureRmSqlDatabase + + + + Remove-AzureRmSqlDatabase + + + + Resume-AzureRmSqlDatabase + + + + Set-AzureRmSqlDatabase + + + + + + + + Use-AzureRmSqlServerAuditingPolicy + + Specifies that a database uses the auditing policy of its hosting server. + + + + + Use + AzureRmSqlServerAuditingPolicy + + + + The Use-AzureRmSqlServerAuditingPolicy cmdlet specifies that a database uses the auditing policy of its host server. Specify the ResourceGroupName, ServerName, and DatabaseName parameters to identify the database. If no auditing policy is defined for the database server, this cmdlet fails. + If the host uses server level auditing, threat detection is removed. + + + + Use-AzureRmSqlServerAuditingPolicy + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + + ServerName + + Specifies the name of the server that hosts the database to use the auditing policy. + + String + + + DatabaseName + + Specifies the name of the database to use the auditing policy. + + String + + + ResourceGroupName + + Specifies the name of the resource group that contains the database to use the auditing policy. + + String + + + InformationAction + + + + ActionPreference + + + InformationVariable + + + + String + + + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + SwitchParameter + + SwitchParameter + + + none + + + ServerName + + Specifies the name of the server that hosts the database to use the auditing policy. + + String + + String + + + none + + + DatabaseName + + Specifies the name of the database to use the auditing policy. + + String + + String + + + none + + + ResourceGroupName + + Specifies the name of the resource group that contains the database to use the auditing policy. + + String + + String + + + none + + + InformationAction + + + + ActionPreference + + ActionPreference + + + + + + InformationVariable + + + + String + + String + + + + + + Profile + + Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + + azureprofile + + azureprofile + + + none + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.Sql.Security.Model.DatabaseAuditingPolicyModel + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, sql, database, mssql + + + + + -------------------------- Example 1: Define for a database to use the auditing policy of its server -------------------------- + + PS C:\> + + PS C:\> Use-AzureRmSqlServerAuditingPolicy -ResourceGroupName "resourcegroup01" -ServerName "server02" -DatabaseName "database01" + + This command specifies that the database named database01 on server01 uses the auditing policy of its server. + + + + + + + + + + + + + + + + Get-AzureRmSqlDatabaseAuditingPolicy + + + + Get-AzureRmSqlServerAuditingPolicy + + + + Set-AzureRmSqlDatabaseAuditingPolicy + + + + Set-AzureRmSqlServerAuditingPolicy + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql/packages.config b/src/ResourceManager/Sql/Commands.Sql/packages.config index dff313ee2f27..5243cd81b9a5 100644 --- a/src/ResourceManager/Sql/Commands.Sql/packages.config +++ b/src/ResourceManager/Sql/Commands.Sql/packages.config @@ -5,7 +5,7 @@ - +