diff --git a/src/SDKs/SqlManagement/Sql.Tests/BlobAuditingTest.cs b/src/SDKs/SqlManagement/Sql.Tests/BlobAuditingTest.cs index f018b8d85c2ad..711508f462f99 100644 --- a/src/SDKs/SqlManagement/Sql.Tests/BlobAuditingTest.cs +++ b/src/SDKs/SqlManagement/Sql.Tests/BlobAuditingTest.cs @@ -151,9 +151,10 @@ private void VerifyDatabaseAuditingPolicyInformation(DatabaseBlobAuditingPolicy Assert.Equal(expected.RetentionDays, actual.RetentionDays); Assert.Equal(expected.StorageEndpoint, actual.StorageEndpoint); Assert.Equal(string.Empty, actual.StorageAccountAccessKey); - if (expected.AuditActionsAndGroups == null) + if (expected.AuditActionsAndGroups == null || actual.AuditActionsAndGroups == null) { - Assert.Equal(null, actual.AuditActionsAndGroups); + Assert.Null(expected.AuditActionsAndGroups); + Assert.Null(actual.AuditActionsAndGroups); } else { @@ -175,8 +176,8 @@ private DatabaseBlobAuditingPolicy GetDefaultDatabaseBlobAuditingProperties() State = BlobAuditingPolicyState.Disabled, RetentionDays = 0, StorageAccountAccessKey = string.Empty, - StorageEndpoint = string.Empty, - AuditActionsAndGroups = new List(), + StorageEndpoint = null, + AuditActionsAndGroups = null, StorageAccountSubscriptionId = new Guid("00000000-0000-0000-0000-000000000000"), IsStorageSecondaryKeyInUse = false, }; diff --git a/src/SDKs/SqlManagement/Sql.Tests/SessionRecords/Sql.Tests.BlobAuditingTest/TestBlobAuditing.json b/src/SDKs/SqlManagement/Sql.Tests/SessionRecords/Sql.Tests.BlobAuditingTest/TestBlobAuditing.json index f8c3c91355fc0..b2d7aad233a0d 100644 --- a/src/SDKs/SqlManagement/Sql.Tests/SessionRecords/Sql.Tests.BlobAuditingTest/TestBlobAuditing.json +++ b/src/SDKs/SqlManagement/Sql.Tests/SessionRecords/Sql.Tests.BlobAuditingTest/TestBlobAuditing.json @@ -1,19 +1,19 @@ { "Entries": [ { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourcegroups/sqlcrudtest-2499?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTI0OTk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourcegroups/sqlcrudtest-4695?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTU/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"Japan East\",\r\n \"tags\": {\r\n \"sqlcrudtest-2499\": \"2017-08-02 01:48:21Z\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"north central us\",\r\n \"tags\": {\r\n \"sqlcrudtest-4695\": \"2018-03-13 03:39:55Z\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "99" + "105" ], "x-ms-client-request-id": [ - "c74ebade-24f7-4891-9187-8370f75f12e9" + "7ff30c54-c670-44f3-bf9b-a7f46bdf0c1e" ], "accept-language": [ "en-US" @@ -23,10 +23,10 @@ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499\",\r\n \"name\": \"sqlcrudtest-2499\",\r\n \"location\": \"japaneast\",\r\n \"tags\": {\r\n \"sqlcrudtest-2499\": \"2017-08-02 01:48:21Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695\",\r\n \"name\": \"sqlcrudtest-4695\",\r\n \"location\": \"northcentralus\",\r\n \"tags\": {\r\n \"sqlcrudtest-4695\": \"2018-03-13 03:39:55Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "239" + "244" ], "Content-Type": [ "application/json; charset=utf-8" @@ -38,7 +38,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:48:22 GMT" + "Tue, 13 Mar 2018 03:39:56 GMT" ], "Pragma": [ "no-cache" @@ -47,44 +47,47 @@ "1199" ], "x-ms-request-id": [ - "455ccbe0-70ff-4c34-b212-6f31e93877b6" + "fde082f4-380f-467a-99ef-bd8e40edb4c4" ], "x-ms-correlation-request-id": [ - "455ccbe0-70ff-4c34-b212-6f31e93877b6" + "fde082f4-380f-467a-99ef-bd8e40edb4c4" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014823Z:455ccbe0-70ff-4c34-b212-6f31e93877b6" + "WESTUS2:20180313T033956Z:fde082f4-380f-467a-99ef-bd8e40edb4c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzU/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"tags\": {},\r\n \"location\": \"Japan East\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"tags\": {},\r\n \"location\": \"north central us\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "184" + "190" ], "x-ms-client-request-id": [ - "598a6594-bb09-4a06-85ac-a4b2dddf401b" + "31b1ca43-3ca3-4771-88cc-6644a0c3fd40" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2017-08-02T01:48:27.517Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2018-03-13T03:39:57.677Z\"\r\n}", "ResponseHeaders": { "Content-Length": [ "74" @@ -99,13 +102,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:48:27 GMT" + "Tue, 13 Mar 2018 03:39:57 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/providers/Microsoft.Sql/locations/japaneast/serverOperationResults/6dc04b30-11ca-4045-91bd-da8d5c7d0a17?api-version=2015-05-01-preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/locations/northcentralus/serverOperationResults/2a983df0-02ea-4ad7-91d2-ebb69340b70e?api-version=2015-05-01-preview" ], "Retry-After": [ "1" @@ -114,38 +117,41 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/6dc04b30-11ca-4045-91bd-da8d5c7d0a17?api-version=2015-05-01-preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/2a983df0-02ea-4ad7-91d2-ebb69340b70e?api-version=2015-05-01-preview" ], "x-ms-request-id": [ - "6dc04b30-11ca-4045-91bd-da8d5c7d0a17" + "2a983df0-02ea-4ad7-91d2-ebb69340b70e" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "6af46bb9-c6fc-44c1-80f1-a58aef5c17f1" + "c1dbf001-ec0c-4344-832e-e181be510b68" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014827Z:6af46bb9-c6fc-44c1-80f1-a58aef5c17f1" + "WESTUS2:20180313T033958Z:c1dbf001-ec0c-4344-832e-e181be510b68" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/6dc04b30-11ca-4045-91bd-da8d5c7d0a17?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9qYXBhbmVhc3Qvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi82ZGMwNGIzMC0xMWNhLTQwNDUtOTFiZC1kYThkNWM3ZDBhMTc/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/2a983df0-02ea-4ad7-91d2-ebb69340b70e?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL25vcnRoY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMmE5ODNkZjAtMDJlYS00YWQ3LTkxZDItZWJiNjkzNDBiNzBlP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"6dc04b30-11ca-4045-91bd-da8d5c7d0a17\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2017-08-02T01:48:27.517Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2a983df0-02ea-4ad7-91d2-ebb69340b70e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-13T03:39:57.677Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -157,7 +163,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:48:57 GMT" + "Tue, 13 Mar 2018 03:40:09 GMT" ], "Pragma": [ "no-cache" @@ -165,6 +171,9 @@ "Transfer-Encoding": [ "chunked" ], + "Retry-After": [ + "20" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -172,35 +181,38 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "07ab4eec-7595-4424-8f96-1922133f1876" + "f3d7d19b-aa41-476e-9297-b12fd0c8b604" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "14999" ], "x-ms-correlation-request-id": [ - "dd00d5a1-9b33-43c3-b93a-3fb23b20aa3b" + "37e57b3f-e7a7-4b6d-85ab-b9ee659d536d" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014858Z:dd00d5a1-9b33-43c3-b93a-3fb23b20aa3b" + "WESTUS2:20180313T034009Z:37e57b3f-e7a7-4b6d-85ab-b9ee659d536d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/6dc04b30-11ca-4045-91bd-da8d5c7d0a17?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9qYXBhbmVhc3Qvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi82ZGMwNGIzMC0xMWNhLTQwNDUtOTFiZC1kYThkNWM3ZDBhMTc/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/2a983df0-02ea-4ad7-91d2-ebb69340b70e?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL25vcnRoY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMmE5ODNkZjAtMDJlYS00YWQ3LTkxZDItZWJiNjkzNDBiNzBlP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"6dc04b30-11ca-4045-91bd-da8d5c7d0a17\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2017-08-02T01:48:27.517Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2a983df0-02ea-4ad7-91d2-ebb69340b70e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-13T03:39:57.677Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -212,7 +224,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:49:27 GMT" + "Tue, 13 Mar 2018 03:40:28 GMT" ], "Pragma": [ "no-cache" @@ -220,6 +232,9 @@ "Transfer-Encoding": [ "chunked" ], + "Retry-After": [ + "20" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -227,35 +242,38 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "f69f37b5-a852-4112-9022-54169794e972" + "202a7e1d-5662-4d6b-89c5-3542691da5f2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14998" ], "x-ms-correlation-request-id": [ - "f8a24ed5-443b-467f-80c8-ecbfffcdc522" + "f576fd94-87a5-4c06-b1a6-1f450b58e1a3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014928Z:f8a24ed5-443b-467f-80c8-ecbfffcdc522" + "WESTUS2:20180313T034029Z:f576fd94-87a5-4c06-b1a6-1f450b58e1a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzU/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/2a983df0-02ea-4ad7-91d2-ebb69340b70e?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL25vcnRoY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMmE5ODNkZjAtMDJlYS00YWQ3LTkxZDItZWJiNjkzNDBiNzBlP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-835.database.windows.net\"\r\n },\r\n \"location\": \"japaneast\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835\",\r\n \"name\": \"sqlcrudtest-835\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"2a983df0-02ea-4ad7-91d2-ebb69340b70e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-13T03:39:57.677Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -267,7 +285,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:49:28 GMT" + "Tue, 13 Mar 2018 03:40:48 GMT" ], "Pragma": [ "no-cache" @@ -275,6 +293,9 @@ "Transfer-Encoding": [ "chunked" ], + "Retry-After": [ + "20" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -282,47 +303,169 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "ebb933ab-6c35-4d90-8158-050a2d60a566" + "73210ad7-1341-4247-8fa7-7c2cc82718dd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14997" + ], + "x-ms-correlation-request-id": [ + "d54321bc-3b16-47eb-8990-5217250b00b9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180313T034049Z:d54321bc-3b16-47eb-8990-5217250b00b9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/2a983df0-02ea-4ad7-91d2-ebb69340b70e?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL25vcnRoY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vMmE5ODNkZjAtMDJlYS00YWQ3LTkxZDItZWJiNjkzNDBiNzBlP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"2a983df0-02ea-4ad7-91d2-ebb69340b70e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-13T03:39:57.677Z\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 13 Mar 2018 03:41:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "902de0cc-149c-438e-99e1-0ab1a1a77b69" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" ], "x-ms-correlation-request-id": [ - "6d9cb13b-fd66-4118-8d1f-184b225a1322" + "1cf5ed1c-b4e6-468b-a385-e43e87c09caa" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014929Z:6d9cb13b-fd66-4118-8d1f-184b225a1322" + "WESTUS2:20180313T034109Z:1cf5ed1c-b4e6-468b-a385-e43e87c09caa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTQ5MDM/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" + ] + }, + "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-5656.database.windows.net\"\r\n },\r\n \"location\": \"northcentralus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656\",\r\n \"name\": \"sqlcrudtest-5656\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 13 Mar 2018 03:41:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "a9b7c354-e95a-4fab-9f04-c1047e132075" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "527c6d84-19fd-4659-a70b-240fc2ae2c6a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180313T034110Z:527c6d84-19fd-4659-a70b-240fc2ae2c6a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTEyP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"japaneast\"\r\n}", + "RequestBody": "{\r\n \"location\": \"northcentralus\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "31" + "36" ], "x-ms-client-request-id": [ - "65beb637-0ff6-404e-a5d9-d000501f619a" + "1a05646e-87fc-4918-b15f-679fe70e0140" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2017-08-01T18:49:30.836-07:00\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2018-03-12T20:41:13.356-07:00\"\r\n}", "ResponseHeaders": { "Content-Length": [ "80" @@ -334,10 +477,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:49:30 GMT" + "Tue, 13 Mar 2018 03:41:11 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/operationResults/d2daba5c-eb6c-45d0-a78d-39f529364220?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/operationResults/2cdcdc39-7588-4c28-9278-0f1106218be3?api-version=2014-04-01-Preview" ], "Retry-After": [ "30" @@ -346,7 +489,7 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "d2daba5c-eb6c-45d0-a78d-39f529364220" + "2cdcdc39-7588-4c28-9278-0f1106218be3" ], "X-Content-Type-Options": [ "nosniff" @@ -361,44 +504,44 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/azureAsyncOperation/d2daba5c-eb6c-45d0-a78d-39f529364220?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/azureAsyncOperation/2cdcdc39-7588-4c28-9278-0f1106218be3?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1198" ], "x-ms-correlation-request-id": [ - "25ee4ed1-edb1-4c74-ab29-0a2954e40a70" + "d54e6393-0f8d-42fb-8753-ad9c754ae54e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014931Z:25ee4ed1-edb1-4c74-ab29-0a2954e40a70" + "WESTUS2:20180313T034111Z:d54e6393-0f8d-42fb-8753-ad9c754ae54e" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTEyMzc/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"japaneast\"\r\n}", + "RequestBody": "{\r\n \"location\": \"northcentralus\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "31" + "36" ], "x-ms-client-request-id": [ - "2527a2be-c9ba-4fa8-8212-9e9d2bb6d4dd" + "fe13f4a3-0f52-4af8-9558-e65ca6656478" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2017-08-01T18:49:31.409-07:00\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2018-03-12T20:41:13.698-07:00\"\r\n}", "ResponseHeaders": { "Content-Length": [ "80" @@ -410,10 +553,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:49:31 GMT" + "Tue, 13 Mar 2018 03:41:11 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237/operationResults/0f7d59df-89b6-4dce-8c8b-9885a92e8095?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231/operationResults/4dae75d2-1e63-4ce3-92cf-9db1282a48b2?api-version=2014-04-01-Preview" ], "Retry-After": [ "30" @@ -422,7 +565,7 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "0f7d59df-89b6-4dce-8c8b-9885a92e8095" + "4dae75d2-1e63-4ce3-92cf-9db1282a48b2" ], "X-Content-Type-Options": [ "nosniff" @@ -437,32 +580,32 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237/azureAsyncOperation/0f7d59df-89b6-4dce-8c8b-9885a92e8095?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231/azureAsyncOperation/4dae75d2-1e63-4ce3-92cf-9db1282a48b2?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1199" ], "x-ms-correlation-request-id": [ - "f07a5ccd-1722-4252-838b-13256a2137c2" + "0317bb43-6bfd-45c9-906c-8ef511f9595c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014931Z:f07a5ccd-1722-4252-838b-13256a2137c2" + "WESTUS2:20180313T034111Z:0317bb43-6bfd-45c9-906c-8ef511f9595c" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/azureAsyncOperation/d2daba5c-eb6c-45d0-a78d-39f529364220?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTQ5MDMvYXp1cmVBc3luY09wZXJhdGlvbi9kMmRhYmE1Yy1lYjZjLTQ1ZDAtYTc4ZC0zOWY1MjkzNjQyMjA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/azureAsyncOperation/2cdcdc39-7588-4c28-9278-0f1106218be3?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTEyL2F6dXJlQXN5bmNPcGVyYXRpb24vMmNkY2RjMzktNzU4OC00YzI4LTkyNzgtMGYxMTA2MjE4YmUzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operationId\": \"d2daba5c-eb6c-45d0-a78d-39f529364220\",\r\n \"status\": \"Succeeded\",\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"operationId\": \"2cdcdc39-7588-4c28-9278-0f1106218be3\",\r\n \"status\": \"InProgress\",\r\n \"error\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -471,7 +614,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:01 GMT" + "Tue, 13 Mar 2018 03:41:41 GMT" ], "Transfer-Encoding": [ "chunked" @@ -483,7 +626,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "9665c0aa-4075-4433-bfb6-4e01bab46f19" + "4b428c51-f28d-48d3-b326-e21f1ee0356e" ], "X-Content-Type-Options": [ "nosniff" @@ -495,32 +638,32 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/azureAsyncOperation/d2daba5c-eb6c-45d0-a78d-39f529364220?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/azureAsyncOperation/2cdcdc39-7588-4c28-9278-0f1106218be3?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14994" ], "x-ms-correlation-request-id": [ - "5ae5cbbf-e099-4db4-aa16-1eb6fd043875" + "65c86c71-448e-4d7d-85e0-d40a9c42294a" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015002Z:5ae5cbbf-e099-4db4-aa16-1eb6fd043875" + "WESTUS2:20180313T034142Z:65c86c71-448e-4d7d-85e0-d40a9c42294a" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTQ5MDM/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/azureAsyncOperation/2cdcdc39-7588-4c28-9278-0f1106218be3?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTEyL2F6dXJlQXN5bmNPcGVyYXRpb24vMmNkY2RjMzktNzU4OC00YzI4LTkyNzgtMGYxMTA2MjE4YmUzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903\",\r\n \"name\": \"sqlcrudtest-4903\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Japan East\",\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"bee70c59-43ee-4cf4-b05f-7d2e6c8a54fb\",\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\": \"2017-08-02T01:49:31.133Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"Japan West\",\r\n \"earliestRestoreDate\": \"2017-08-02T01:59:57.47Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"operationId\": \"2cdcdc39-7588-4c28-9278-0f1106218be3\",\r\n \"status\": \"Succeeded\",\r\n \"error\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -529,7 +672,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:01 GMT" + "Tue, 13 Mar 2018 03:42:12 GMT" ], "Transfer-Encoding": [ "chunked" @@ -541,7 +684,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "85c43040-1aba-4625-98fc-eb06e48a5443" + "197aa006-807d-4f3d-a794-3e02b944f353" ], "X-Content-Type-Options": [ "nosniff" @@ -552,30 +695,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/azureAsyncOperation/2cdcdc39-7588-4c28-9278-0f1106218be3?api-version=2014-04-01-Preview" + ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14993" ], "x-ms-correlation-request-id": [ - "90f9682e-c737-4e86-aaf7-e9bec835c0e3" + "71cf6c7e-19f6-4ab7-9bbc-4284e2c70c96" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015002Z:90f9682e-c737-4e86-aaf7-e9bec835c0e3" + "WESTUS2:20180313T034212Z:71cf6c7e-19f6-4ab7-9bbc-4284e2c70c96" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237/azureAsyncOperation/0f7d59df-89b6-4dce-8c8b-9885a92e8095?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTEyMzcvYXp1cmVBc3luY09wZXJhdGlvbi8wZjdkNTlkZi04OWI2LTRkY2UtOGM4Yi05ODg1YTkyZTgwOTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231/azureAsyncOperation/4dae75d2-1e63-4ce3-92cf-9db1282a48b2?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMzEvYXp1cmVBc3luY09wZXJhdGlvbi80ZGFlNzVkMi0xZTYzLTRjZTMtOTJjZi05ZGIxMjgyYTQ4YjI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operationId\": \"0f7d59df-89b6-4dce-8c8b-9885a92e8095\",\r\n \"status\": \"InProgress\",\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"operationId\": \"4dae75d2-1e63-4ce3-92cf-9db1282a48b2\",\r\n \"status\": \"InProgress\",\r\n \"error\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -584,7 +730,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:01 GMT" + "Tue, 13 Mar 2018 03:41:42 GMT" ], "Transfer-Encoding": [ "chunked" @@ -596,7 +742,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "9f8d5058-2956-4382-a31f-658bb4bd4022" + "6abca2f8-f205-4ea9-8108-d97703051c33" ], "X-Content-Type-Options": [ "nosniff" @@ -608,32 +754,32 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237/azureAsyncOperation/0f7d59df-89b6-4dce-8c8b-9885a92e8095?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231/azureAsyncOperation/4dae75d2-1e63-4ce3-92cf-9db1282a48b2?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "14999" ], "x-ms-correlation-request-id": [ - "6257e66f-432b-42a7-aed1-6e15b4ea012e" + "86204a9a-928c-440e-bbcc-3bc4ac0176a3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015002Z:6257e66f-432b-42a7-aed1-6e15b4ea012e" + "WESTUS2:20180313T034142Z:86204a9a-928c-440e-bbcc-3bc4ac0176a3" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237/azureAsyncOperation/0f7d59df-89b6-4dce-8c8b-9885a92e8095?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTEyMzcvYXp1cmVBc3luY09wZXJhdGlvbi8wZjdkNTlkZi04OWI2LTRkY2UtOGM4Yi05ODg1YTkyZTgwOTU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231/azureAsyncOperation/4dae75d2-1e63-4ce3-92cf-9db1282a48b2?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMzEvYXp1cmVBc3luY09wZXJhdGlvbi80ZGFlNzVkMi0xZTYzLTRjZTMtOTJjZi05ZGIxMjgyYTQ4YjI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1QcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operationId\": \"0f7d59df-89b6-4dce-8c8b-9885a92e8095\",\r\n \"status\": \"Succeeded\",\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"operationId\": \"4dae75d2-1e63-4ce3-92cf-9db1282a48b2\",\r\n \"status\": \"Succeeded\",\r\n \"error\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -642,7 +788,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:31 GMT" + "Tue, 13 Mar 2018 03:42:12 GMT" ], "Transfer-Encoding": [ "chunked" @@ -654,7 +800,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "b5313949-5c98-438c-a67b-b346941f9e6a" + "dd9ea989-0ef6-4967-a76b-b35a24348226" ], "X-Content-Type-Options": [ "nosniff" @@ -666,32 +812,32 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237/azureAsyncOperation/0f7d59df-89b6-4dce-8c8b-9885a92e8095?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231/azureAsyncOperation/4dae75d2-1e63-4ce3-92cf-9db1282a48b2?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14992" ], "x-ms-correlation-request-id": [ - "f05c6479-4123-49a3-be40-fc370d8e6847" + "b5fd5d51-51b3-4a77-825e-0b9adcd5f348" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015032Z:f05c6479-4123-49a3-be40-fc370d8e6847" + "WESTUS2:20180313T034212Z:b5fd5d51-51b3-4a77-825e-0b9adcd5f348" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTEyMzc/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTEyP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-1237\",\r\n \"name\": \"sqlcrudtest-1237\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Japan East\",\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"66dd8841-15be-4acb-8f37-740f7320f8b8\",\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\": \"2017-08-02T01:49:31.677Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"Japan West\",\r\n \"earliestRestoreDate\": \"2017-08-02T02:00:06.38Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512\",\r\n \"name\": \"sqlcrudtest-2512\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"North Central US\",\r\n \"kind\": \"v12.0,user\",\r\n \"managedBy\": null,\r\n \"properties\": {\r\n \"databaseId\": \"771e88c8-2157-4d7b-a0e3-163d39d8d01e\",\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\": \"2018-03-13T03:41:13.7Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"South Central US\",\r\n \"earliestRestoreDate\": \"2018-03-13T04:12:10.083Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null,\r\n \"zoneRedundant\": false,\r\n \"isUpgradeRequested\": false\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -700,7 +846,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:32 GMT" + "Tue, 13 Mar 2018 03:42:12 GMT" ], "Transfer-Encoding": [ "chunked" @@ -712,7 +858,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "50018897-f275-418a-9168-f5c627dc9636" + "9ffcaebc-00cd-40a0-a390-0cb089b1ebc8" ], "X-Content-Type-Options": [ "nosniff" @@ -724,35 +870,90 @@ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "14998" ], "x-ms-correlation-request-id": [ - "c5d1674b-85eb-4135-87b6-0e21e2564a0f" + "ec562629-7d9b-4a98-8919-d0ddac34a29e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015033Z:c5d1674b-85eb-4135-87b6-0e21e2564a0f" + "WESTUS2:20180313T034212Z:ec562629-7d9b-4a98-8919-d0ddac34a29e" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/auditingSettings/default?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTQ5MDMvYXVkaXRpbmdTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-231\",\r\n \"name\": \"sqlcrudtest-231\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"North Central US\",\r\n \"kind\": \"v12.0,user\",\r\n \"managedBy\": null,\r\n \"properties\": {\r\n \"databaseId\": \"4f501c00-b141-4618-bc0b-22e7cce42447\",\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\": \"2018-03-13T03:41:14.01Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"South Central US\",\r\n \"earliestRestoreDate\": \"2018-03-13T04:11:59.353Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null,\r\n \"zoneRedundant\": false,\r\n \"isUpgradeRequested\": false\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 13 Mar 2018 03:42:12 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "e3b3ebfd-3592-4cc1-87ae-89e281bea809" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "e2881d1f-6da1-4a4c-8622-5bee21ddc20c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180313T034212Z:e2881d1f-6da1-4a4c-8622-5bee21ddc20c" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/auditingSettings/default?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTEyL2F1ZGl0aW5nU2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "099ebd95-97fa-46cb-8e52-ee8569ac2d43" + "f39d0c9c-e958-4d5a-a7be-c5ae34da6ce7" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"storageEndpoint\": \"\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 0,\r\n \"auditActionsAndGroups\": [],\r\n \"storageAccountSubscriptionId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"isStorageSecondaryKeyInUse\": false\r\n },\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/auditingSettings/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/auditingSettings\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 0,\r\n \"storageAccountSubscriptionId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"isStorageSecondaryKeyInUse\": false\r\n },\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/auditingSettings/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/auditingSettings\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -764,7 +965,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:33 GMT" + "Tue, 13 Mar 2018 03:42:13 GMT" ], "Pragma": [ "no-cache" @@ -779,41 +980,44 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "53b43dfc-6dcb-4f05-94f7-cc14fb9a6565" + "57912d90-3639-446c-a744-006c0f2feee6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14991" ], "x-ms-correlation-request-id": [ - "7f56b24b-a995-44ab-9b6c-e7ae3ec0e272" + "4665fe4c-8660-4553-9212-b4d9b73117a9" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015034Z:7f56b24b-a995-44ab-9b6c-e7ae3ec0e272" + "WESTUS2:20180313T034213Z:4665fe4c-8660-4553-9212-b4d9b73117a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/auditingSettings/default?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTQ5MDMvYXVkaXRpbmdTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/auditingSettings/default?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTEyL2F1ZGl0aW5nU2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f0358eec-0899-44a1-9904-c3714087a954" + "e59a0864-fa59-4f37-b4dc-a719b79dd3be" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 5,\r\n \"auditActionsAndGroups\": [\r\n \"SCHEMA_OBJECT_ACCESS_GROUP\",\r\n \"UPDATE on database::testdb by public\"\r\n ],\r\n \"storageAccountSubscriptionId\": \"00000000-1234-0000-5678-000000000000\",\r\n \"isStorageSecondaryKeyInUse\": false\r\n },\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/auditingSettings/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/auditingSettings\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 5,\r\n \"auditActionsAndGroups\": [\r\n \"SCHEMA_OBJECT_ACCESS_GROUP\",\r\n \"UPDATE on database::testdb by public\"\r\n ],\r\n \"storageAccountSubscriptionId\": \"00000000-1234-0000-5678-000000000000\",\r\n \"isStorageSecondaryKeyInUse\": false\r\n },\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/auditingSettings/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/auditingSettings\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -825,7 +1029,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:35 GMT" + "Tue, 13 Mar 2018 03:42:15 GMT" ], "Pragma": [ "no-cache" @@ -840,26 +1044,29 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "92e508e1-4fb9-417e-bf57-90628ef3ee2b" + "4b5d91a1-51a8-4ee6-8ec7-0cee656c6c1f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14990" ], "x-ms-correlation-request-id": [ - "d4a20072-2879-453b-8cea-e4f89ed50db1" + "1a8d6516-96b9-4e9f-93cd-e37b06ab9c67" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015035Z:d4a20072-2879-453b-8cea-e4f89ed50db1" + "WESTUS2:20180313T034215Z:1a8d6516-96b9-4e9f-93cd-e37b06ab9c67" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/auditingSettings/default?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI0OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC04MzUvZGF0YWJhc2VzL3NxbGNydWR0ZXN0LTQ5MDMvYXVkaXRpbmdTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/auditingSettings/default?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC01NjU2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNTEyL2F1ZGl0aW5nU2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==\",\r\n \"retentionDays\": 5,\r\n \"auditActionsAndGroups\": [\r\n \"SCHEMA_OBJECT_ACCESS_GROUP\",\r\n \"UPDATE on database::testdb by public\"\r\n ],\r\n \"storageAccountSubscriptionId\": \"00000000-1234-0000-5678-000000000000\",\r\n \"isStorageSecondaryKeyInUse\": false\r\n }\r\n}", "RequestHeaders": { @@ -870,17 +1077,17 @@ "507" ], "x-ms-client-request-id": [ - "b83ae508-f42f-4cbb-918c-027e6e119c7d" + "1dcadfdc-53d2-4d08-b4f7-23193c9a3979" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 5,\r\n \"auditActionsAndGroups\": [\r\n \"SCHEMA_OBJECT_ACCESS_GROUP\",\r\n \"UPDATE on database::testdb by public\"\r\n ],\r\n \"storageAccountSubscriptionId\": \"00000000-1234-0000-5678-000000000000\",\r\n \"isStorageSecondaryKeyInUse\": false\r\n },\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-2499/providers/Microsoft.Sql/servers/sqlcrudtest-835/databases/sqlcrudtest-4903/auditingSettings/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/auditingSettings\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 5,\r\n \"auditActionsAndGroups\": [\r\n \"SCHEMA_OBJECT_ACCESS_GROUP\",\r\n \"UPDATE on database::testdb by public\"\r\n ],\r\n \"storageAccountSubscriptionId\": \"00000000-1234-0000-5678-000000000000\",\r\n \"isStorageSecondaryKeyInUse\": false\r\n },\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-4695/providers/Microsoft.Sql/servers/sqlcrudtest-5656/databases/sqlcrudtest-2512/auditingSettings/Default\",\r\n \"name\": \"Default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/auditingSettings\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -892,7 +1099,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:35 GMT" + "Tue, 13 Mar 2018 03:42:14 GMT" ], "Pragma": [ "no-cache" @@ -907,31 +1114,34 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "d7f8688a-5acc-4883-9b67-a76f0e80a928" + "9a0aff99-04e6-4f28-bff2-f0d40486ba75" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1198" ], "x-ms-correlation-request-id": [ - "7af6db2a-7a88-4094-bbf5-542be06184e2" + "3b5374ed-57d3-448e-a1c2-4b72663f8ff5" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015035Z:7af6db2a-7a88-4094-bbf5-542be06184e2" + "WESTUS2:20180313T034214Z:3b5374ed-57d3-448e-a1c2-4b72663f8ff5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourcegroups/sqlcrudtest-2499?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTI0OTk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourcegroups/sqlcrudtest-4695?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTQ2OTU/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "90c9a48f-cb24-446c-a147-0b73bcda9d9f" + "716aeaaa-f024-42d1-8c66-29c3614a57a9" ], "accept-language": [ "en-US" @@ -953,31 +1163,34 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:50:38 GMT" + "Tue, 13 Mar 2018 03:42:15 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDI0OTktSkFQQU5FQVNUIiwiam9iTG9jYXRpb24iOiJqYXBhbmVhc3QifQ?api-version=2017-05-10" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDQ2OTUtTk9SVEhDRU5UUkFMVVMiLCJqb2JMb2NhdGlvbiI6Im5vcnRoY2VudHJhbHVzIn0?api-version=2017-05-10" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1199" ], "x-ms-request-id": [ - "0618c6fe-8785-4818-ac98-54437dcad937" + "f46f1e6f-18cb-49bb-99e3-420d6f5d02ff" ], "x-ms-correlation-request-id": [ - "0618c6fe-8785-4818-ac98-54437dcad937" + "f46f1e6f-18cb-49bb-99e3-420d6f5d02ff" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T015038Z:0618c6fe-8785-4818-ac98-54437dcad937" + "WESTUS2:20180313T034216Z:f46f1e6f-18cb-49bb-99e3-420d6f5d02ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 202 @@ -985,18 +1198,18 @@ ], "Names": { "CreateResourceGroup": [ - "sqlcrudtest-2499" + "sqlcrudtest-4695" ], "CreateServer": [ - "sqlcrudtest-835" + "sqlcrudtest-5656" ], "CreateDatabasesAsync": [ - "sqlcrudtest-4903", - "sqlcrudtest-1237" + "sqlcrudtest-2512", + "sqlcrudtest-231" ] }, "Variables": { - "DefaultLocation": "Japan East", - "SubscriptionId": "b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2" + "DefaultLocation": "north central us", + "SubscriptionId": "f28872d6-4a93-4bb1-84b9-aecb02b6af4c" } } \ No newline at end of file diff --git a/src/SDKs/SqlManagement/Sql.Tests/SessionRecords/Sql.Tests.ThreatDetectionTest/TestThreatDetection.json b/src/SDKs/SqlManagement/Sql.Tests/SessionRecords/Sql.Tests.ThreatDetectionTest/TestThreatDetection.json index 2a2edd035f550..c037677c72a49 100644 --- a/src/SDKs/SqlManagement/Sql.Tests/SessionRecords/Sql.Tests.ThreatDetectionTest/TestThreatDetection.json +++ b/src/SDKs/SqlManagement/Sql.Tests/SessionRecords/Sql.Tests.ThreatDetectionTest/TestThreatDetection.json @@ -1,19 +1,19 @@ { "Entries": [ { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourcegroups/sqlcrudtest-4940?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDA/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourcegroups/sqlcrudtest-8716?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg3MTY/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"Japan East\",\r\n \"tags\": {\r\n \"sqlcrudtest-4940\": \"2017-08-02 01:43:40Z\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"north central us\",\r\n \"tags\": {\r\n \"sqlcrudtest-8716\": \"2018-03-13 03:37:49Z\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "99" + "105" ], "x-ms-client-request-id": [ - "59079291-3aa8-4e62-b4c6-c896394eed3a" + "c1705827-4ec4-45d8-a49b-3a04ea24e82c" ], "accept-language": [ "en-US" @@ -23,10 +23,10 @@ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940\",\r\n \"name\": \"sqlcrudtest-4940\",\r\n \"location\": \"japaneast\",\r\n \"tags\": {\r\n \"sqlcrudtest-4940\": \"2017-08-02 01:43:40Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716\",\r\n \"name\": \"sqlcrudtest-8716\",\r\n \"location\": \"northcentralus\",\r\n \"tags\": {\r\n \"sqlcrudtest-8716\": \"2018-03-13 03:37:49Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "239" + "244" ], "Content-Type": [ "application/json; charset=utf-8" @@ -38,56 +38,59 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:43:41 GMT" + "Tue, 13 Mar 2018 03:37:51 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-request-id": [ - "24bdb99a-c122-4aef-8f29-4ab5412494df" + "e35192c2-badb-4bd3-879e-425dce85b775" ], "x-ms-correlation-request-id": [ - "24bdb99a-c122-4aef-8f29-4ab5412494df" + "e35192c2-badb-4bd3-879e-425dce85b775" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014342Z:24bdb99a-c122-4aef-8f29-4ab5412494df" + "WESTUS2:20180313T033751Z:e35192c2-badb-4bd3-879e-425dce85b775" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"tags\": {},\r\n \"location\": \"Japan East\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"tags\": {},\r\n \"location\": \"north central us\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "184" + "190" ], "x-ms-client-request-id": [ - "b76bb8ad-51a7-4d69-857b-13fdaf765ac9" + "62938958-d722-4c83-a056-4d7bdfc17552" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2017-08-02T01:43:46.417Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2018-03-13T03:37:55.6Z\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "74" + "72" ], "Content-Type": [ "application/json; charset=utf-8" @@ -99,13 +102,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:43:46 GMT" + "Tue, 13 Mar 2018 03:37:53 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/providers/Microsoft.Sql/locations/japaneast/serverOperationResults/dba0b7b0-6af0-4012-804e-0c9fb72a545c?api-version=2015-05-01-preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/locations/northcentralus/serverOperationResults/80b25fd3-2f04-44cf-97ec-aca85498f73d?api-version=2015-05-01-preview" ], "Retry-After": [ "1" @@ -114,38 +117,41 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/dba0b7b0-6af0-4012-804e-0c9fb72a545c?api-version=2015-05-01-preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/80b25fd3-2f04-44cf-97ec-aca85498f73d?api-version=2015-05-01-preview" ], "x-ms-request-id": [ - "dba0b7b0-6af0-4012-804e-0c9fb72a545c" + "80b25fd3-2f04-44cf-97ec-aca85498f73d" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "457afe15-4443-48e0-a2fe-41a129011409" + "7a275946-e91e-4bbe-9082-6f91b8a7af43" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014346Z:457afe15-4443-48e0-a2fe-41a129011409" + "WESTUS2:20180313T033754Z:7a275946-e91e-4bbe-9082-6f91b8a7af43" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/dba0b7b0-6af0-4012-804e-0c9fb72a545c?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9qYXBhbmVhc3Qvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9kYmEwYjdiMC02YWYwLTQwMTItODA0ZS0wYzlmYjcyYTU0NWM/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/80b25fd3-2f04-44cf-97ec-aca85498f73d?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL25vcnRoY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vODBiMjVmZDMtMmYwNC00NGNmLTk3ZWMtYWNhODU0OThmNzNkP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"dba0b7b0-6af0-4012-804e-0c9fb72a545c\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2017-08-02T01:43:46.417Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"80b25fd3-2f04-44cf-97ec-aca85498f73d\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-13T03:37:55.6Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -157,7 +163,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:44:17 GMT" + "Tue, 13 Mar 2018 03:38:04 GMT" ], "Pragma": [ "no-cache" @@ -165,6 +171,9 @@ "Transfer-Encoding": [ "chunked" ], + "Retry-After": [ + "20" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -172,35 +181,38 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "48f16070-3b01-4a97-9ede-47272d9c5fb4" + "8824a852-6a51-4601-be45-ded282f45c77" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "14999" ], "x-ms-correlation-request-id": [ - "776c6305-a50b-42aa-96d4-6487ee329d1a" + "9549384e-03a5-4415-87fe-00cc97e5c444" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014417Z:776c6305-a50b-42aa-96d4-6487ee329d1a" + "WESTUS2:20180313T033804Z:9549384e-03a5-4415-87fe-00cc97e5c444" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/dba0b7b0-6af0-4012-804e-0c9fb72a545c?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9qYXBhbmVhc3Qvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9kYmEwYjdiMC02YWYwLTQwMTItODA0ZS0wYzlmYjcyYTU0NWM/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/80b25fd3-2f04-44cf-97ec-aca85498f73d?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL25vcnRoY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vODBiMjVmZDMtMmYwNC00NGNmLTk3ZWMtYWNhODU0OThmNzNkP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"dba0b7b0-6af0-4012-804e-0c9fb72a545c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2017-08-02T01:43:46.417Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"80b25fd3-2f04-44cf-97ec-aca85498f73d\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-13T03:37:55.6Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -212,7 +224,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:44:47 GMT" + "Tue, 13 Mar 2018 03:38:24 GMT" ], "Pragma": [ "no-cache" @@ -220,6 +232,9 @@ "Transfer-Encoding": [ "chunked" ], + "Retry-After": [ + "20" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -227,35 +242,38 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "46954e6b-5e63-4ff3-a166-ee3ef205273d" + "f14fe1f1-1ce6-42e6-928a-87de6f2b3bfc" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14998" ], "x-ms-correlation-request-id": [ - "ae08bd84-be7c-47d3-8177-8cc849096dd2" + "8a8d4702-9f79-432a-9470-419b37f5e76d" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014447Z:ae08bd84-be7c-47d3-8177-8cc849096dd2" + "WESTUS2:20180313T033825Z:8a8d4702-9f79-432a-9470-419b37f5e76d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/locations/northcentralus/serverAzureAsyncOperation/80b25fd3-2f04-44cf-97ec-aca85498f73d?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL25vcnRoY2VudHJhbHVzL3NlcnZlckF6dXJlQXN5bmNPcGVyYXRpb24vODBiMjVmZDMtMmYwNC00NGNmLTk3ZWMtYWNhODU0OThmNzNkP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-6031.database.windows.net\"\r\n },\r\n \"location\": \"japaneast\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031\",\r\n \"name\": \"sqlcrudtest-6031\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"80b25fd3-2f04-44cf-97ec-aca85498f73d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-13T03:37:55.6Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -267,7 +285,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:44:48 GMT" + "Tue, 13 Mar 2018 03:38:44 GMT" ], "Pragma": [ "no-cache" @@ -275,6 +293,9 @@ "Transfer-Encoding": [ "chunked" ], + "Retry-After": [ + "15" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -282,47 +303,108 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "9e45ab0f-40e2-4d0d-b419-70a38adf7821" + "377cbc74-ef20-4b25-8168-ec48cff10f93" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14997" ], "x-ms-correlation-request-id": [ - "68ce2101-c45c-492c-aefe-0832d57cc5b6" + "b5226334-68a6-4498-bb7b-adfabd1c626c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014448Z:68ce2101-c45c-492c-aefe-0832d57cc5b6" + "WESTUS2:20180313T033845Z:b5226334-68a6-4498-bb7b-adfabd1c626c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-1397?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xMzk3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" + ] + }, + "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-7648.database.windows.net\"\r\n },\r\n \"location\": \"northcentralus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648\",\r\n \"name\": \"sqlcrudtest-7648\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 13 Mar 2018 03:38:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "2d5e209c-d685-49e6-9092-933b71d5c79f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "9e8b7828-3f4c-4c03-8073-55c9d8e125ec" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180313T033845Z:9e8b7828-3f4c-4c03-8073-55c9d8e125ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03NT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"japaneast\"\r\n}", + "RequestBody": "{\r\n \"location\": \"northcentralus\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "31" + "36" ], "x-ms-client-request-id": [ - "51be21f2-22e7-44be-a61c-0a9d0faa1f2f" + "220bb9dd-ab2a-45b0-ae3c-e86473b26c41" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2017-08-01T18:44:50.416-07:00\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2018-03-12T20:38:45.06-07:00\"\r\n}", "ResponseHeaders": { "Content-Length": [ "80" @@ -334,10 +416,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:44:50 GMT" + "Tue, 13 Mar 2018 03:38:46 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-1397/operationResults/fa86f7f5-d277-4884-8379-b5b34ded189e?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75/operationResults/1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1?api-version=2014-04-01-Preview" ], "Retry-After": [ "30" @@ -346,7 +428,7 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "fa86f7f5-d277-4884-8379-b5b34ded189e" + "1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1" ], "X-Content-Type-Options": [ "nosniff" @@ -361,44 +443,44 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-1397/azureAsyncOperation/fa86f7f5-d277-4884-8379-b5b34ded189e?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75/azureAsyncOperation/1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "3fa5930f-3871-4626-a8a4-8b65d23cdb4a" + "49eb7dfa-d928-4c8a-98f5-83164f43e94a" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014450Z:3fa5930f-3871-4626-a8a4-8b65d23cdb4a" + "WESTUS2:20180313T033846Z:49eb7dfa-d928-4c8a-98f5-83164f43e94a" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDQ4P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01NDY3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"japaneast\"\r\n}", + "RequestBody": "{\r\n \"location\": \"northcentralus\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "31" + "36" ], "x-ms-client-request-id": [ - "eb529e9a-3543-4eef-9a4e-70796c3ace4b" + "ffbc450d-86b8-4f8b-826a-7163e29421a9" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2017-08-01T18:44:50.684-07:00\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2018-03-12T20:38:45.972-07:00\"\r\n}", "ResponseHeaders": { "Content-Length": [ "80" @@ -410,10 +492,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:44:50 GMT" + "Tue, 13 Mar 2018 03:38:46 GMT" ], "Location": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/operationResults/99ed9b2f-56c8-4df8-9175-2492157b7b1a?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/operationResults/1d6f8558-3cae-494f-a866-f68093ab8c55?api-version=2014-04-01-Preview" ], "Retry-After": [ "30" @@ -422,7 +504,7 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "99ed9b2f-56c8-4df8-9175-2492157b7b1a" + "1d6f8558-3cae-494f-a866-f68093ab8c55" ], "X-Content-Type-Options": [ "nosniff" @@ -437,32 +519,32 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/azureAsyncOperation/99ed9b2f-56c8-4df8-9175-2492157b7b1a?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/azureAsyncOperation/1d6f8558-3cae-494f-a866-f68093ab8c55?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1198" ], "x-ms-correlation-request-id": [ - "a5f04ffe-87b1-4816-9d61-0960d9cb6a44" + "3520c072-65b2-4c8d-b81a-9c20fefb3bc6" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014451Z:a5f04ffe-87b1-4816-9d61-0960d9cb6a44" + "WESTUS2:20180313T033846Z:3520c072-65b2-4c8d-b81a-9c20fefb3bc6" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-1397/azureAsyncOperation/fa86f7f5-d277-4884-8379-b5b34ded189e?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xMzk3L2F6dXJlQXN5bmNPcGVyYXRpb24vZmE4NmY3ZjUtZDI3Ny00ODg0LTgzNzktYjViMzRkZWQxODllP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/azureAsyncOperation/1d6f8558-3cae-494f-a866-f68093ab8c55?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01NDY3L2F6dXJlQXN5bmNPcGVyYXRpb24vMWQ2Zjg1NTgtM2NhZS00OTRmLWE4NjYtZjY4MDkzYWI4YzU1P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operationId\": \"fa86f7f5-d277-4884-8379-b5b34ded189e\",\r\n \"status\": \"Succeeded\",\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"operationId\": \"1d6f8558-3cae-494f-a866-f68093ab8c55\",\r\n \"status\": \"InProgress\",\r\n \"error\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -471,7 +553,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:21 GMT" + "Tue, 13 Mar 2018 03:39:16 GMT" ], "Transfer-Encoding": [ "chunked" @@ -483,7 +565,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "4e0f92a0-adb4-44a7-a56c-8104a46a5f5c" + "7da9c01d-b3f1-415d-a724-6a64911e9030" ], "X-Content-Type-Options": [ "nosniff" @@ -495,32 +577,32 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-1397/azureAsyncOperation/fa86f7f5-d277-4884-8379-b5b34ded189e?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/azureAsyncOperation/1d6f8558-3cae-494f-a866-f68093ab8c55?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14995" ], "x-ms-correlation-request-id": [ - "ddc4859e-a9bb-4c10-af7b-25641ca7a118" + "2be9177d-3355-4e44-95e1-09dfdfecf46e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014521Z:ddc4859e-a9bb-4c10-af7b-25641ca7a118" + "WESTUS2:20180313T033917Z:2be9177d-3355-4e44-95e1-09dfdfecf46e" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/azureAsyncOperation/99ed9b2f-56c8-4df8-9175-2492157b7b1a?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDQ4L2F6dXJlQXN5bmNPcGVyYXRpb24vOTllZDliMmYtNTZjOC00ZGY4LTkxNzUtMjQ5MjE1N2I3YjFhP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/azureAsyncOperation/1d6f8558-3cae-494f-a866-f68093ab8c55?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01NDY3L2F6dXJlQXN5bmNPcGVyYXRpb24vMWQ2Zjg1NTgtM2NhZS00OTRmLWE4NjYtZjY4MDkzYWI4YzU1P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operationId\": \"99ed9b2f-56c8-4df8-9175-2492157b7b1a\",\r\n \"status\": \"InProgress\",\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"operationId\": \"1d6f8558-3cae-494f-a866-f68093ab8c55\",\r\n \"status\": \"Succeeded\",\r\n \"error\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -529,7 +611,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:20 GMT" + "Tue, 13 Mar 2018 03:39:47 GMT" ], "Transfer-Encoding": [ "chunked" @@ -541,7 +623,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "70da75b4-fa51-463d-9bff-67af6a508a14" + "1cad80bb-9d0c-4b7a-b63c-b959186b7a35" ], "X-Content-Type-Options": [ "nosniff" @@ -553,32 +635,32 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/azureAsyncOperation/99ed9b2f-56c8-4df8-9175-2492157b7b1a?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/azureAsyncOperation/1d6f8558-3cae-494f-a866-f68093ab8c55?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "14994" ], "x-ms-correlation-request-id": [ - "f2d0ec90-1c94-4434-b76e-78f010e779a5" + "7d192a4b-0a46-41b9-9fdf-beec1704eece" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014521Z:f2d0ec90-1c94-4434-b76e-78f010e779a5" + "WESTUS2:20180313T033947Z:7d192a4b-0a46-41b9-9fdf-beec1704eece" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/azureAsyncOperation/99ed9b2f-56c8-4df8-9175-2492157b7b1a?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDQ4L2F6dXJlQXN5bmNPcGVyYXRpb24vOTllZDliMmYtNTZjOC00ZGY4LTkxNzUtMjQ5MjE1N2I3YjFhP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75/azureAsyncOperation/1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03NS9henVyZUFzeW5jT3BlcmF0aW9uLzFlNDQyNTNiLWVjZjEtNGU0NC05OGUxLTUzZGNmNGRkNWVmMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"operationId\": \"99ed9b2f-56c8-4df8-9175-2492157b7b1a\",\r\n \"status\": \"Succeeded\",\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"operationId\": \"1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1\",\r\n \"status\": \"InProgress\",\r\n \"error\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -587,7 +669,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:50 GMT" + "Tue, 13 Mar 2018 03:39:17 GMT" ], "Transfer-Encoding": [ "chunked" @@ -599,7 +681,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "ca6a9c1e-c07f-456d-a3cb-b0c8ab0e6eb4" + "6f7b7c68-5e16-485a-8aa6-1396a598086b" ], "X-Content-Type-Options": [ "nosniff" @@ -611,32 +693,32 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/azureAsyncOperation/99ed9b2f-56c8-4df8-9175-2492157b7b1a?api-version=2014-04-01-Preview" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75/azureAsyncOperation/1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1?api-version=2014-04-01-Preview" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14999" ], "x-ms-correlation-request-id": [ - "447e1517-7060-4ec5-aad3-b30618cbc9ea" + "3208594d-1bac-4ec4-9771-b6288c8083cc" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014551Z:447e1517-7060-4ec5-aad3-b30618cbc9ea" + "WESTUS2:20180313T033917Z:3208594d-1bac-4ec4-9771-b6288c8083cc" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-1397?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xMzk3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75/azureAsyncOperation/1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03NS9henVyZUFzeW5jT3BlcmF0aW9uLzFlNDQyNTNiLWVjZjEtNGU0NC05OGUxLTUzZGNmNGRkNWVmMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLVByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-1397\",\r\n \"name\": \"sqlcrudtest-1397\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Japan East\",\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"507bbba6-5f40-4032-8a48-d1dfd5094218\",\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\": \"2017-08-02T01:44:50.73Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"Japan West\",\r\n \"earliestRestoreDate\": \"2017-08-02T01:55:16.963Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"operationId\": \"1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1\",\r\n \"status\": \"Succeeded\",\r\n \"error\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -645,7 +727,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:21 GMT" + "Tue, 13 Mar 2018 03:39:47 GMT" ], "Transfer-Encoding": [ "chunked" @@ -657,7 +739,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "0ee8b74d-ca09-484c-a91a-b90bc5e5347a" + "05510a0b-705d-4092-9380-41e689f21c68" ], "X-Content-Type-Options": [ "nosniff" @@ -668,30 +750,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75/azureAsyncOperation/1e44253b-ecf1-4e44-98e1-53dcf4dd5ef1?api-version=2014-04-01-Preview" + ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14998" ], "x-ms-correlation-request-id": [ - "c129428e-250c-41c7-9978-ea06f9778ae5" + "f6eaeeae-ac32-4bc9-8464-825bbb4963e2" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014521Z:c129428e-250c-41c7-9978-ea06f9778ae5" + "WESTUS2:20180313T033947Z:f6eaeeae-ac32-4bc9-8464-825bbb4963e2" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDQ4P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01NDY3P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448\",\r\n \"name\": \"sqlcrudtest-2448\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"Japan East\",\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"databaseId\": \"68caf4be-3830-4408-b2bf-72e079eac957\",\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\": \"2017-08-02T01:44:51.06Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"Japan West\",\r\n \"earliestRestoreDate\": \"2017-08-02T01:55:24.417Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467\",\r\n \"name\": \"sqlcrudtest-5467\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"North Central US\",\r\n \"kind\": \"v12.0,user\",\r\n \"managedBy\": null,\r\n \"properties\": {\r\n \"databaseId\": \"d6a1f133-72b1-4e98-af96-5a29b67a4594\",\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\": \"2018-03-13T03:38:46.44Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"South Central US\",\r\n \"earliestRestoreDate\": \"2018-03-13T04:09:32.003Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null,\r\n \"zoneRedundant\": false,\r\n \"isUpgradeRequested\": false\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -700,7 +785,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:51 GMT" + "Tue, 13 Mar 2018 03:39:47 GMT" ], "Transfer-Encoding": [ "chunked" @@ -712,7 +797,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "b85d2b82-7a83-4130-ad30-c9bd9b4c7938" + "8b36c357-7328-4f8c-bc11-f82c8b6dff12" ], "X-Content-Type-Options": [ "nosniff" @@ -724,35 +809,90 @@ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14993" ], "x-ms-correlation-request-id": [ - "de56c052-2af4-408d-9ba2-d319ce9b547f" + "6a108167-4b0a-497a-ae3b-dbc29b0dcd6c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014552Z:de56c052-2af4-408d-9ba2-d319ce9b547f" + "WESTUS2:20180313T033947Z:6a108167-4b0a-497a-ae3b-dbc29b0dcd6c" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/securityAlertPolicies/default?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDQ4L3NlY3VyaXR5QWxlcnRQb2xpY2llcy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03NT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-75\",\r\n \"name\": \"sqlcrudtest-75\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"North Central US\",\r\n \"kind\": \"v12.0,user\",\r\n \"managedBy\": null,\r\n \"properties\": {\r\n \"databaseId\": \"12821bab-2981-41d0-bc07-f1dd2d4af116\",\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\": \"2018-03-13T03:38:45.483Z\",\r\n \"currentServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveId\": \"f1173c43-91bd-4aaa-973c-54e79e15235b\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"South Central US\",\r\n \"earliestRestoreDate\": \"2018-03-13T04:09:31.063Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null,\r\n \"zoneRedundant\": false,\r\n \"isUpgradeRequested\": false\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Tue, 13 Mar 2018 03:39:47 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "2f2040da-d92f-4a4b-a430-8c0faad1d428" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "ee504614-64b9-43e2-8503-396b61794dca" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180313T033948Z:ee504614-64b9-43e2-8503-396b61794dca" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/securityAlertPolicies/default?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01NDY3L3NlY3VyaXR5QWxlcnRQb2xpY2llcy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ce9b6bec-9c91-41b3-90f5-a2c6a10070b7" + "a9ebdaa6-e058-4000-babb-3cd7bafafdb7" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/securityAlertPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/securityAlertPolicies\",\r\n \"location\": \"Japan East\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"useServerDefault\": \"Enabled\",\r\n \"state\": \"New\",\r\n \"disabledAlerts\": \"Preview\",\r\n \"emailAddresses\": \"\",\r\n \"emailAccountAdmins\": \"Enabled\",\r\n \"storageEndpoint\": \"\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 0\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/securityAlertPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/securityAlertPolicies\",\r\n \"location\": \"North Central US\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"useServerDefault\": \"Disabled\",\r\n \"state\": \"Disabled\",\r\n \"disabledAlerts\": \"\",\r\n \"emailAddresses\": \"\",\r\n \"emailAccountAdmins\": \"Disabled\",\r\n \"storageEndpoint\": \"\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 0\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -761,7 +901,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:52 GMT" + "Tue, 13 Mar 2018 03:39:48 GMT" ], "Transfer-Encoding": [ "chunked" @@ -773,7 +913,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "b0aad5f6-f53c-4fa4-9503-6ce031ebf666" + "2a45be35-15d0-4c80-9be7-f15c9900c6a1" ], "X-Content-Type-Options": [ "nosniff" @@ -785,35 +925,35 @@ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14997" ], "x-ms-correlation-request-id": [ - "42f0de32-be55-4ced-aff9-0f7f1264437d" + "40df86ad-96d6-40db-ae79-fc2a4a3eff39" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014553Z:42f0de32-be55-4ced-aff9-0f7f1264437d" + "WESTUS2:20180313T033948Z:40df86ad-96d6-40db-ae79-fc2a4a3eff39" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/securityAlertPolicies/default?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDQ4L3NlY3VyaXR5QWxlcnRQb2xpY2llcy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/securityAlertPolicies/default?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01NDY3L3NlY3VyaXR5QWxlcnRQb2xpY2llcy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7ef679c7-7ff3-478b-8342-527ff08298da" + "28f0aa29-34af-4928-8eff-cc5daa26fc90" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/securityAlertPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/securityAlertPolicies\",\r\n \"location\": \"Japan East\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"useServerDefault\": \"Disabled\",\r\n \"state\": \"Disabled\",\r\n \"disabledAlerts\": \"Access_Anomaly; Usage_Anomaly\",\r\n \"emailAddresses\": \"testSecurityAlert@microsoft.com\",\r\n \"emailAccountAdmins\": \"Enabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 5\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/securityAlertPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/securityAlertPolicies\",\r\n \"location\": \"North Central US\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"useServerDefault\": \"Disabled\",\r\n \"state\": \"Disabled\",\r\n \"disabledAlerts\": \"Access_Anomaly; Usage_Anomaly\",\r\n \"emailAddresses\": \"testSecurityAlert@microsoft.com\",\r\n \"emailAccountAdmins\": \"Enabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"\",\r\n \"retentionDays\": 5\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -822,7 +962,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:55 GMT" + "Tue, 13 Mar 2018 03:39:51 GMT" ], "Transfer-Encoding": [ "chunked" @@ -834,7 +974,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "89f54bdc-0b4d-4fa6-9746-a5d14a551470" + "b9d7bda6-78c1-4bb3-b282-cd5c728181f0" ], "X-Content-Type-Options": [ "nosniff" @@ -846,20 +986,20 @@ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14996" ], "x-ms-correlation-request-id": [ - "2e72778e-967a-4d9f-b2f8-dd18dcff3d4d" + "77f1d919-4698-4ed6-8bde-49ab2f7146ec" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014556Z:2e72778e-967a-4d9f-b2f8-dd18dcff3d4d" + "WESTUS2:20180313T033951Z:77f1d919-4698-4ed6-8bde-49ab2f7146ec" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/securityAlertPolicies/default?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MDMxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDQ4L3NlY3VyaXR5QWxlcnRQb2xpY2llcy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/securityAlertPolicies/default?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03NjQ4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01NDY3L3NlY3VyaXR5QWxlcnRQb2xpY2llcy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"Disabled\",\r\n \"disabledAlerts\": \"Access_Anomaly; Usage_Anomaly\",\r\n \"emailAddresses\": \"testSecurityAlert@microsoft.com\",\r\n \"emailAccountAdmins\": \"Enabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==\",\r\n \"retentionDays\": 5,\r\n \"useServerDefault\": \"Disabled\"\r\n }\r\n}", "RequestHeaders": { @@ -870,17 +1010,17 @@ "454" ], "x-ms-client-request-id": [ - "40046844-da19-4bef-aa2e-36aad6dd1a93" + "6e0c77d5-bd6c-4077-97d0-01cb8d3ad7e1" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.7.0.0" + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.12.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourceGroups/sqlcrudtest-4940/providers/Microsoft.Sql/servers/sqlcrudtest-6031/databases/sqlcrudtest-2448/securityAlertPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/securityAlertPolicies\",\r\n \"location\": null,\r\n \"kind\": null,\r\n \"properties\": {\r\n \"useServerDefault\": \"Disabled\",\r\n \"state\": \"Disabled\",\r\n \"disabledAlerts\": \"Access_Anomaly; Usage_Anomaly\",\r\n \"emailAddresses\": \"testSecurityAlert@microsoft.com\",\r\n \"emailAccountAdmins\": \"Enabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==\",\r\n \"retentionDays\": 5\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourceGroups/sqlcrudtest-8716/providers/Microsoft.Sql/servers/sqlcrudtest-7648/databases/sqlcrudtest-5467/securityAlertPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/securityAlertPolicies\",\r\n \"location\": null,\r\n \"kind\": null,\r\n \"properties\": {\r\n \"useServerDefault\": \"Disabled\",\r\n \"state\": \"Disabled\",\r\n \"disabledAlerts\": \"Access_Anomaly; Usage_Anomaly\",\r\n \"emailAddresses\": \"testSecurityAlert@microsoft.com\",\r\n \"emailAccountAdmins\": \"Enabled\",\r\n \"storageEndpoint\": \"https://MyAccount.blob.core.windows.net/\",\r\n \"storageAccountAccessKey\": \"sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==\",\r\n \"retentionDays\": 5\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" @@ -889,7 +1029,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:55 GMT" + "Tue, 13 Mar 2018 03:39:50 GMT" ], "Transfer-Encoding": [ "chunked" @@ -901,7 +1041,7 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "287b9a83-2bf0-4979-89bd-31f3056dfde7" + "13078312-0563-4e46-b010-f7cc5185cfd8" ], "X-Content-Type-Options": [ "nosniff" @@ -919,22 +1059,22 @@ "1197" ], "x-ms-correlation-request-id": [ - "6d3216e3-8ea7-4ca3-9896-e39cb3c61728" + "2e160896-8035-42b5-b71c-7eb29682fa07" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014555Z:6d3216e3-8ea7-4ca3-9896-e39cb3c61728" + "WESTUS2:20180313T033950Z:2e160896-8035-42b5-b71c-7eb29682fa07" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/resourcegroups/sqlcrudtest-4940?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjZhNmUwYzUtZTc5Yy00YzZkLWE4NzgtNzJlYWZiY2E0Y2YyL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTQ5NDA/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/resourcegroups/sqlcrudtest-8716?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjI4ODcyZDYtNGE5My00YmIxLTg0YjktYWVjYjAyYjZhZjRjL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg3MTY/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bce781a6-f3d5-491e-9275-5a33a4c107a9" + "9b6095ec-1fa0-4d64-b139-4be1ea43dad6" ], "accept-language": [ "en-US" @@ -956,31 +1096,34 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 01:45:57 GMT" + "Tue, 13 Mar 2018 03:39:52 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDQ5NDAtSkFQQU5FQVNUIiwiam9iTG9jYXRpb24iOiJqYXBhbmVhc3QifQ?api-version=2017-05-10" + "https://management.azure.com/subscriptions/f28872d6-4a93-4bb1-84b9-aecb02b6af4c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDg3MTYtTk9SVEhDRU5UUkFMVVMiLCJqb2JMb2NhdGlvbiI6Im5vcnRoY2VudHJhbHVzIn0?api-version=2017-05-10" ], "Retry-After": [ "15" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1199" ], "x-ms-request-id": [ - "7fb00530-215c-4b28-9a64-86d252a9920a" + "1e2ea938-d5cc-4392-859e-939210de0f38" ], "x-ms-correlation-request-id": [ - "7fb00530-215c-4b28-9a64-86d252a9920a" + "1e2ea938-d5cc-4392-859e-939210de0f38" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T014558Z:7fb00530-215c-4b28-9a64-86d252a9920a" + "WESTUS2:20180313T033953Z:1e2ea938-d5cc-4392-859e-939210de0f38" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 202 @@ -988,18 +1131,18 @@ ], "Names": { "CreateResourceGroup": [ - "sqlcrudtest-4940" + "sqlcrudtest-8716" ], "CreateServer": [ - "sqlcrudtest-6031" + "sqlcrudtest-7648" ], "CreateDatabasesAsync": [ - "sqlcrudtest-2448", - "sqlcrudtest-1397" + "sqlcrudtest-5467", + "sqlcrudtest-75" ] }, "Variables": { - "DefaultLocation": "Japan East", - "SubscriptionId": "b6a6e0c5-e79c-4c6d-a878-72eafbca4cf2" + "SubscriptionId": "f28872d6-4a93-4bb1-84b9-aecb02b6af4c", + "DefaultLocation": "north central us" } } \ No newline at end of file diff --git a/src/SDKs/SqlManagement/Sql.Tests/ThreatDetectionTest.cs b/src/SDKs/SqlManagement/Sql.Tests/ThreatDetectionTest.cs index ecfa0eaf82b1e..305d20e41cfb6 100644 --- a/src/SDKs/SqlManagement/Sql.Tests/ThreatDetectionTest.cs +++ b/src/SDKs/SqlManagement/Sql.Tests/ThreatDetectionTest.cs @@ -152,11 +152,11 @@ private DatabaseSecurityAlertPolicy GetDefaultDatabaseSecurityAlertProperties() { DatabaseSecurityAlertPolicy properties = new DatabaseSecurityAlertPolicy { - State = SecurityAlertPolicyState.New, - EmailAccountAdmins = SecurityAlertPolicyEmailAccountAdmins.Enabled, - DisabledAlerts = "Preview", + State = SecurityAlertPolicyState.Disabled, + EmailAccountAdmins = SecurityAlertPolicyEmailAccountAdmins.Disabled, + DisabledAlerts = string.Empty, EmailAddresses = string.Empty, - UseServerDefault = SecurityAlertPolicyUseServerDefault.Enabled, + UseServerDefault = SecurityAlertPolicyUseServerDefault.Disabled, StorageEndpoint = string.Empty, StorageAccountAccessKey = string.Empty, RetentionDays = 0,