diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/DetectLanguageTests.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/DetectLanguageTests.cs index 2c7a75d87ef9c..ce33975ecd0a5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/DetectLanguageTests.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/DetectLanguageTests.cs @@ -66,7 +66,6 @@ public async Task DetectLanguageWithAADTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageTest() { TextAnalyticsClient client = GetClient(); @@ -78,7 +77,6 @@ public async Task DetectLanguageTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageWithCountryHintTest() { TextAnalyticsClient client = GetClient(); @@ -90,7 +88,6 @@ public async Task DetectLanguageWithCountryHintTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public void DetectLanguageWithErrorCountryHintTest() { TextAnalyticsClient client = GetClient(); @@ -101,7 +98,6 @@ public void DetectLanguageWithErrorCountryHintTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageWithNoneCountryHintTest() { TextAnalyticsClient client = GetClient(); @@ -113,7 +109,6 @@ public async Task DetectLanguageWithNoneCountryHintTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageWithNoneDefaultCountryHintTest() { var options = new TextAnalyticsClientOptions(_serviceVersion) @@ -130,7 +125,6 @@ public async Task DetectLanguageWithNoneDefaultCountryHintTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageBatchConvenienceTest() { TextAnalyticsClient client = GetClient(); @@ -146,7 +140,6 @@ public async Task DetectLanguageBatchConvenienceTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageBatchConvenienceWithStatisticsTest() { TextAnalyticsClient client = GetClient(); @@ -168,7 +161,6 @@ public async Task DetectLanguageBatchConvenienceWithStatisticsTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageBatchTest() { TextAnalyticsClient client = GetClient(); @@ -185,7 +177,6 @@ public async Task DetectLanguageBatchTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageBatchWithStatisticsTest() { TextAnalyticsClient client = GetClient(); @@ -208,7 +199,6 @@ public async Task DetectLanguageBatchWithStatisticsTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageBatchWithErrorTest() { TextAnalyticsClient client = GetClient(); @@ -231,7 +221,6 @@ public async Task DetectLanguageBatchWithErrorTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public void DetectLanguageBatchWithNullIdTest() { TextAnalyticsClient client = GetClient(); @@ -243,7 +232,6 @@ public void DetectLanguageBatchWithNullIdTest() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task DetectLanguageBatchWithNullTextTest() { TextAnalyticsClient client = GetClient(); diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceTest.json index 9ce6eceb1ef69..83e785b6b2649 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "177", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-b524be5c2b054e4aa71dc21ae72dc6f2-b18a183c89672a4c-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-1ce0bfe115e03241a719283a3aee81c3-a36e658707dff24f-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "5005f5e8a08b47218215f19574b370f6", "x-ms-return-client-request-id": "true" }, @@ -34,14 +34,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "373c845a-60e0-4db5-999f-f241c54e1e96", + "apim-request-id": "48174bf5-22ba-4ab8-ad56-805413d2ed16", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3", - "Date": "Tue, 11 May 2021 16:08:01 GMT", + "Date": "Wed, 16 Jun 2021 22:35:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "12" + "x-envoy-upstream-service-time": "17" }, "ResponseBody": { "documents": [ @@ -81,6 +81,6 @@ "Variables": { "RandomSeed": "2925177", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceTestAsync.json index c4627338aef9d..3b82bb1ee0ad4 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "177", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-66984dcb37f91a4ea39c3c4c52825238-e87c40e87d108c4f-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-75f55d6d822a7641a6d3be9ade11145d-d6bfbb9372039343-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "3574863b78b3d4b99962ee1a8b7bbd89", "x-ms-return-client-request-id": "true" }, @@ -34,14 +34,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5947e4cf-9b32-4d5b-b7be-a384e1f39e59", + "apim-request-id": "35ca3348-c9de-4d6b-9dbe-2003eb592a3f", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3", - "Date": "Tue, 11 May 2021 16:08:22 GMT", + "Date": "Wed, 16 Jun 2021 22:35:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5020" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -81,6 +81,6 @@ "Variables": { "RandomSeed": "1287375904", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceWithStatisticsTest.json index 82351d20c86a6..b831e13fe0b9b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceWithStatisticsTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "177", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e95ecf7296d1804b9f19b7a34db30938-8fb2205376f3d94a-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-b74ab6c192ea6c4e925205f497a3a17f-bea5357a2aee7641-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "738db85ac016be284349434968e4adff", "x-ms-return-client-request-id": "true" }, @@ -34,14 +34,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "29c3bfc5-ba49-45b5-8186-70d7152ea9ed", + "apim-request-id": "f7013d33-a9f2-4393-9776-a9493a97f0c4", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3", - "Date": "Tue, 11 May 2021 16:08:03 GMT", + "Date": "Wed, 16 Jun 2021 22:35:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2232" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "statistics": { @@ -99,6 +99,6 @@ "Variables": { "RandomSeed": "211607003", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceWithStatisticsTestAsync.json index c195d8307b909..9fcfea76b0d05 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchConvenienceWithStatisticsTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "177", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e003804230ab664d905445741f3f41f3-ddea0aa96ffd2c4c-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-3b6be1106865ed46aa368b91d1b2e2fd-78d9b4f9eb202b4b-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "6246079b8393935bca52b813124b2ad7", "x-ms-return-client-request-id": "true" }, @@ -34,14 +34,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fa77921f-4067-483a-9dc8-9a42a85e592e", + "apim-request-id": "bf31213d-70a6-48de-a8dd-0948fdea6216", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3", - "Date": "Tue, 11 May 2021 16:08:22 GMT", + "Date": "Wed, 16 Jun 2021 22:35:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "statistics": { @@ -99,6 +99,6 @@ "Variables": { "RandomSeed": "293475495", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchTest.json index 26dbe44a1ff0d..64cbd5c2edbe1 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "225", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ebe2d0b54599454b97ade08325dc9512-265544276401fa44-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-7a150a6536e5bb479b994b75702da61f-ced9978938217a40-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "9ed49d935379ea824d7c2153a1e6e6e4", "x-ms-return-client-request-id": "true" }, @@ -39,14 +39,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3b71af96-f994-42df-9d52-ab08a2cdef39", + "apim-request-id": "27490f60-47cf-4436-ba13-1b7e4837be84", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Tue, 11 May 2021 16:08:03 GMT", + "Date": "Wed, 16 Jun 2021 22:35:14 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "16" }, "ResponseBody": { "documents": [ @@ -95,6 +95,6 @@ "Variables": { "RandomSeed": "1725013070", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchTestAsync.json index 61c724574f4cc..d4f45006a87ab 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "225", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-72f7f263e82b5a4c9e38e3a09b44c372-e5e197ec6b4e0342-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-9285900e2f15bd46809f44803936ea72-b72a99e5776b0148-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "da5f41d41140dce5b95983493bb999e3", "x-ms-return-client-request-id": "true" }, @@ -39,10 +39,10 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a54441a9-9bd7-4d3c-a06a-bf349bfd6e44", + "apim-request-id": "7e0dbc54-9355-4095-a26f-af6f7d26ed2a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Tue, 11 May 2021 16:08:22 GMT", + "Date": "Wed, 16 Jun 2021 22:35:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", @@ -95,6 +95,6 @@ "Variables": { "RandomSeed": "1564753879", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithErrorTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithErrorTest.json index 6303283d17a7a..f35036de18838 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithErrorTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithErrorTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "156", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-249057d9a5273b4baa5c8e54fcca19cd-382c27edcc411846-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-3dba794cb4ce35469ad2059554504377-6e93b4527f1fa549-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "3ce40d8d4db949068b12a56808d1cfa5", "x-ms-return-client-request-id": "true" }, @@ -34,14 +34,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "65c84ad0-ee38-4bed-bcca-dbe9d091133b", + "apim-request-id": "ee17f8f4-7500-433d-9d92-331f87868fda", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2", - "Date": "Tue, 11 May 2021 16:08:06 GMT", + "Date": "Wed, 16 Jun 2021 22:35:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2516" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -84,6 +84,6 @@ "Variables": { "RandomSeed": "1998787501", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithErrorTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithErrorTestAsync.json index e05a19ecd0baa..4790e9e400396 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithErrorTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithErrorTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "156", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-659df37f63cea449859a9a9bc4e0dba0-b1b424f78c33b649-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-1c221613de481d469e86e20be76ab1ad-94795fd453a8b247-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "51807d44b190171f3639086e14582723", "x-ms-return-client-request-id": "true" }, @@ -34,14 +34,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9cfaf13a-52e3-484d-a9dc-2b82b7b37ddd", + "apim-request-id": "bbb48774-fd9a-4455-a44d-fbe45771a229", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2", - "Date": "Tue, 11 May 2021 16:08:27 GMT", + "Date": "Wed, 16 Jun 2021 22:35:24 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5014" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -84,6 +84,6 @@ "Variables": { "RandomSeed": "1902435763", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullIdTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullIdTest.json index fa90ff5952370..13a01d9dd51f9 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullIdTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullIdTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "67", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8a1c1aeb04a1a54ba40afe7793e6eb09-8e3ca5eada229c44-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-9ca372104e17c842b3af2640ffcf5c64-7f2e0eb87f53ad44-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "1a3b3f53b2eb19e83bb91b78bee10b95", "x-ms-return-client-request-id": "true" }, @@ -24,9 +24,9 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "44a0abd0-9f3b-46bb-bee8-666deb92632f", + "apim-request-id": "d319ca8e-d2e9-40b1-b74c-d3034ddb8e02", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 16:08:07 GMT", + "Date": "Wed, 16 Jun 2021 22:35:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", @@ -47,6 +47,6 @@ "Variables": { "RandomSeed": "1842668100", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullIdTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullIdTestAsync.json index 28e44f21e207d..767e6355f9ed0 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullIdTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullIdTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "67", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f797591366459541b4ef572881c5e6e6-351ffa19322d6147-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-ecb972f0ad448247bb752bb960c9f4b1-7d6aeea9e99df74b-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "b23c80179f571f450cf30413f8966972", "x-ms-return-client-request-id": "true" }, @@ -24,9 +24,9 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "be1d4246-ad6b-4c99-a961-7b5a91b1c3e6", + "apim-request-id": "df61d9d5-ceaa-4a48-af70-074ca4e360a3", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 16:08:27 GMT", + "Date": "Wed, 16 Jun 2021 22:35:26 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", @@ -47,6 +47,6 @@ "Variables": { "RandomSeed": "1421275547", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullTextTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullTextTest.json index 37c8745e76840..cf1ad93e43e99 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullTextTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullTextTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "57", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-7aac37b1c111a74bb5e14bb2258431d0-641c582234bee64d-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-e4bee381422a87459110b4f2d946a50a-5ec774c9174f224d-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "ed66d74da14036cde144d6235dacd6d3", "x-ms-return-client-request-id": "true" }, @@ -24,13 +24,13 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d886e7a5-1137-4414-be78-6965677234a9", + "apim-request-id": "bf6d8f00-e77e-4fd4-a3ab-add1c4fb7d89", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 16:08:07 GMT", + "Date": "Wed, 16 Jun 2021 22:35:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2" + "x-envoy-upstream-service-time": "3" }, "ResponseBody": { "documents": [], @@ -54,6 +54,6 @@ "Variables": { "RandomSeed": "1472278800", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullTextTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullTextTestAsync.json index 08ed65b62d9a8..a621ca9e1f847 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullTextTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithNullTextTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "57", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f950b46f6e172343afaf2d7ce67a1912-2e7fc359efafd248-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-f5ab62386fe86c499039295a9dbda55d-3b54db23e1546f46-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "46af5eece4595e8658920ddb272bdb42", "x-ms-return-client-request-id": "true" }, @@ -24,13 +24,13 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5c413215-010b-4188-a14e-fd5c32bd7b0b", + "apim-request-id": "8348065c-39d5-4334-9044-a218499e2c54", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 16:08:27 GMT", + "Date": "Wed, 16 Jun 2021 22:35:26 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2" + "x-envoy-upstream-service-time": "3" }, "ResponseBody": { "documents": [], @@ -54,6 +54,6 @@ "Variables": { "RandomSeed": "1379897499", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithStatisticsTest.json index 65ca0c7ad8b77..ae3e9f8f80a31 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithStatisticsTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "225", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-6265634566192345befc145d728813e1-51531de7fdf51246-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-041b239e05aa7d4da2d27a91c0875597-bb6baff4a938a34c-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "acad3cc12aa10a7667d1533045b0a321", "x-ms-return-client-request-id": "true" }, @@ -39,14 +39,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "90e2c11f-55ba-4f63-8229-78eaa8a7803c", + "apim-request-id": "35608931-8a76-4252-a2c1-d03f1215a982", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Tue, 11 May 2021 16:08:07 GMT", + "Date": "Wed, 16 Jun 2021 22:35:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "statistics": { @@ -117,6 +117,6 @@ "Variables": { "RandomSeed": "1441514523", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithStatisticsTestAsync.json index b95f97cdb47a5..343c2538a24f3 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageBatchWithStatisticsTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages?model-version=2019-10-01\u0026showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages?model-version=2019-10-01\u0026showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "225", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a221a8ace45cfa44a4cf2a0608bf4f24-b7ceced9ab18aa49-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-58c7d0e0bd245f4ba843365ff1031456-a87d53fb59f45f4e-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "50a7683e77aad92fe53b41b770dfa6fb", "x-ms-return-client-request-id": "true" }, @@ -39,14 +39,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2b3277f8-1c79-4eaa-9d1d-f022664638d4", + "apim-request-id": "548d15cc-53a1-4346-9ac4-873f7a8bcfb0", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "Date": "Tue, 11 May 2021 16:08:27 GMT", + "Date": "Wed, 16 Jun 2021 22:35:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "8" }, "ResponseBody": { "statistics": { @@ -117,6 +117,6 @@ "Variables": { "RandomSeed": "1925146009", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageTest.json index e70dcc37773c4..b0ae8387f2149 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "82", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-4bbda903f084644987e2b0069754eb93-f81b8fe629bcab43-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-10c18b6a41c45746a8acd0728c3a7396-533668119e4fb648-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "7aaab163ed1d982c319bbad40483549a", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "28bcf66d-ffa8-4729-b47a-b69e838776dc", + "apim-request-id": "cbcedb3f-9644-4bae-bd9e-f7f751a3ea11", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:08:08 GMT", + "Date": "Wed, 16 Jun 2021 22:35:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "12" + "x-envoy-upstream-service-time": "8" }, "ResponseBody": { "documents": [ @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "1945127661", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageTestAsync.json index 3d8e1b7326005..8ead9a79ad6a8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "82", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c4afcb5c0299ff49b970b7aa21b02a5a-bcdfeb598d53114c-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-b906075ea5cf9f4da980a54098d564ae-376847a9ab5f4647-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "d4cc6357ff58c85240bd64c6445c1d0f", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4c58cc55-012d-4ee9-8ad3-96df8ad9dccc", + "apim-request-id": "958d5590-168f-43e0-9917-d1c92285504c", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:08:27 GMT", + "Date": "Wed, 16 Jun 2021 22:35:27 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "16" + "x-envoy-upstream-service-time": "8" }, "ResponseBody": { "documents": [ @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "2124897013", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithCountryHintTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithCountryHintTest.json index c25cad5436e92..36e039625ec0c 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithCountryHintTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithCountryHintTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "95", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-47ae48b9420d424086e5bfffe4029fae-c1d75e2b241f2c4e-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-757c2f96d38fd64c92d122d96af490d3-4217cd4099cb8d48-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "98a2a27e9082d475805aa932800b5cf6", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5b32e879-cb63-4c62-9485-1a2fc6e28b7a", + "apim-request-id": "39c2e0e5-7933-4e73-82e0-4e8cb894f708", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:08:14 GMT", + "Date": "Wed, 16 Jun 2021 22:35:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "1745096315", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithCountryHintTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithCountryHintTestAsync.json index e3cb44b7361dc..023a4b7edd680 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithCountryHintTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithCountryHintTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "95", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a34b3a4bd51466418549024ba48bb96f-99a5e9bd5d982d4c-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-d76a2da853070a4d8893abd57712c81e-4bb795dc91b7444d-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "f0760fc68cadb07ff1c89a4d1612c056", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "250f2031-dc5b-4bae-85a4-ed49730a4b33", + "apim-request-id": "43c50167-b380-4d19-b88e-259cacbe74b3", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:08:29 GMT", + "Date": "Wed, 16 Jun 2021 22:35:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "documents": [ @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "2142485753", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithErrorCountryHintTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithErrorCountryHintTest.json index 217dd8e2ad775..4c8b6aab0aa93 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithErrorCountryHintTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithErrorCountryHintTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "101", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-b58a74aa90f99d49abc2ddb2d86d124b-9f954e1f92615e4b-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-01ff07f664d9a645b237f26b7f05613f-83b2df1736e74047-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "d6d037d3997433f0d1d408295081d2b0", "x-ms-return-client-request-id": "true" }, @@ -24,9 +24,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3601b14f-1a56-4813-b570-06cef281da5c", + "apim-request-id": "198d223a-619e-4555-b6e1-fc9b12ec24f6", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 16:08:14 GMT", + "Date": "Wed, 16 Jun 2021 22:35:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", @@ -54,6 +54,6 @@ "Variables": { "RandomSeed": "467349083", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithErrorCountryHintTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithErrorCountryHintTestAsync.json index 92ba5373aa0de..534b127044601 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithErrorCountryHintTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithErrorCountryHintTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "101", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-72a04a48fb988840906a1b692219f757-ca42917125588e4b-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-4f48d6debd03a045ab3dc5bed01c9eee-123c1583d8ef2a4a-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "9d92baec240d7c0e78b80d24d8752359", "x-ms-return-client-request-id": "true" }, @@ -24,13 +24,13 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c660dd3d-46ea-4de0-9f9a-1135ffb84bad", + "apim-request-id": "39b5e192-490e-43d1-a745-25a547c1f675", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 16:08:29 GMT", + "Date": "Wed, 16 Jun 2021 22:35:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2" + "x-envoy-upstream-service-time": "3" }, "ResponseBody": { "documents": [], @@ -54,6 +54,6 @@ "Variables": { "RandomSeed": "1987537636", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneCountryHintTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneCountryHintTest.json index c199a54cf6ac3..592d697ec3db5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneCountryHintTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneCountryHintTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "93", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-03d7c861fb681f489051f531f79f1127-b0b481295ef7d949-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-005604eb9a3f7a438ff7d0d45313eef6-22a39af4fa51384d-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "9cded6f43daa9a1f5be8cb3934e1c44c", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e997ff58-c0f4-48b6-b44b-a95e23fcc002", + "apim-request-id": "b71a328f-0ff1-4f06-af40-bc76c7d0ea5f", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:08:16 GMT", + "Date": "Wed, 16 Jun 2021 22:35:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2516" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "1940049365", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneCountryHintTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneCountryHintTestAsync.json index 3ec3cc66f8f1f..2e4910da613c2 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneCountryHintTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneCountryHintTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "93", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-2f2df8253d799c4aa901465a114ed558-5254c109baecee4b-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-0a5f72b658d3654fb4952c6ab8774d36-fda4b76b7ad91f4a-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "6124b40a04621bbacc815e287718638c", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d1fb0a48-fa95-4ced-9b20-e648e3d52056", + "apim-request-id": "62aa8fc7-1243-4c4f-a43a-6c775fafb0e6", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:08:29 GMT", + "Date": "Wed, 16 Jun 2021 22:35:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "documents": [ @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "1328135102", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneDefaultCountryHintTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneDefaultCountryHintTest.json index c68c9bf3ce46f..d89ef3528cb89 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneDefaultCountryHintTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneDefaultCountryHintTest.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "93", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-390cf1891b576f41be9038b5690e628a-6627570d2ef09542-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-6f2b8abcf55ef348b5d763c282717f70-f135ad8e3d85ad49-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "dda057b9e217d2ba6e5090c17d8fd607", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "579678e1-3f90-4e23-b69d-365d682a353f", + "apim-request-id": "88722079-da1e-4b3c-98b6-526588a4a0bb", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:08:16 GMT", + "Date": "Wed, 16 Jun 2021 22:35:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "24" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "397710028", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneDefaultCountryHintTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneDefaultCountryHintTestAsync.json index fb0e04e787d91..8875c87022d7e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneDefaultCountryHintTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/DetectLanguageTests/DetectLanguageWithNoneDefaultCountryHintTestAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "93", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-68dc2c0f9bf8c64aa59ea42824db4363-bdff833394701a44-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-00e306a74b4cb34e8754deb6f50bfc4b-7ef854b792e5e241-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "bfed051a0d9b7fe81f8b58b8ccb397c0", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "594eda37-ab04-45c3-b06a-b2304dbaac47", + "apim-request-id": "a1ff9591-8064-4e4d-8c20-d655e3e92d08", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:08:29 GMT", + "Date": "Wed, 16 Jun 2021 22:35:31 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "691922193", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKey.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKey.json index e2e1027dad82d..dddd4ca385bf8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKey.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKey.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c06645728675104e96d835740c14079a-a41f941f61021848-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-b0bcc9e20d49ca4d827143179a645629-510c268e7a0c7247-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "31841aab9edddcddb56c91e8fafcead5", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ebc1fa95-469e-45de-a899-9868490f0454", + "apim-request-id": "b37530fe-00f2-494d-895d-d7c44d4dfd47", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:09:12 GMT", + "Date": "Wed, 16 Jun 2021 22:34:26 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "2519" }, "ResponseBody": { "documents": [ @@ -50,15 +50,15 @@ } }, { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c0c528060f9e2642a8ddc4273960cea1-472cde6db4ac0e4c-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-afba1f1303114744999dba58fffffc42-acc21a7c3acef743-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "13daa31269993bffe7f19e3dc94f204e", "x-ms-return-client-request-id": "true" }, @@ -73,21 +73,28 @@ }, "StatusCode": 401, "ResponseHeaders": { + "apim-request-id": "834769f4-8d8f-4658-93af-4c2f7126bbc6", "Content-Length": "224", - "Date": "Tue, 11 May 2021 16:09:12 GMT" + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 22:34:26 GMT" }, - "ResponseBody": "eyJlcnJvciI6eyJjb2RlIjoiNDAxIiwibWVzc2FnZSI6IkFjY2VzcyBkZW5pZWQgZHVlIHRvIGludmFsaWQgc3Vic2NyaXB0aW9uIGtleSBvciB3cm9uZyBBUEkgZW5kcG9pbnQuIE1ha2Ugc3VyZSB0byBwcm92aWRlIGEgdmFsaWQga2V5IGZvciBhbiBhY3RpdmUgc3Vic2NyaXB0aW9uIGFuZCB1c2UgYSBjb3JyZWN0IHJlZ2lvbmFsIEFQSSBlbmRwb2ludCBmb3IgeW91ciByZXNvdXJjZS4ifX0=" + "ResponseBody": { + "error": { + "code": "401", + "message": "Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource." + } + } }, { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9d3132bf36e42446a4807a7bf7fe5897-692884d8e0dffd4c-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-f1696ead608f844fb17d6492c0961772-58ae36368887324d-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "d85ee288a420af625bce0d2748754fc8", "x-ms-return-client-request-id": "true" }, @@ -102,14 +109,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3af06240-da55-4e5f-a43d-6649eee0baf2", + "apim-request-id": "dda182d0-8309-40f8-8f53-2d47fba5165d", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:09:12 GMT", + "Date": "Wed, 16 Jun 2021 22:34:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "12" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -131,6 +138,6 @@ "Variables": { "RandomSeed": "1557994243", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKeyAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKeyAsync.json index f8a2a5568efc1..31829bd010c40 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKeyAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKeyAsync.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-636f40c97130094fa6b98cb395f3828f-3dfca87fa83f044f-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-13c8a472aa06754cb57ccc4b2acb2c4f-9faa3d3b65d36f45-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "fb9f47ae04f9d825012386a2a51b9727", "x-ms-return-client-request-id": "true" }, @@ -24,14 +24,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fceb56d9-e6c7-4c1a-831a-6b9f5887eaf5", + "apim-request-id": "1fcbdbec-b7e2-4e92-a1a3-26ea6042be35", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:09:13 GMT", + "Date": "Wed, 16 Jun 2021 22:34:28 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -50,15 +50,15 @@ } }, { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8b05076a30a5924a9fce616cd87c8777-f5e40264e67b9340-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-59fe9882686ce54b961212cc3ee132e5-21f505a3c656b649-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "5aa0f7e4723c7c582e8ca602e03d8c8c", "x-ms-return-client-request-id": "true" }, @@ -73,21 +73,28 @@ }, "StatusCode": 401, "ResponseHeaders": { + "apim-request-id": "ac810350-bed2-4fc9-beec-877b6547616f", "Content-Length": "224", - "Date": "Tue, 11 May 2021 16:09:13 GMT" + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 22:34:28 GMT" }, - "ResponseBody": "eyJlcnJvciI6eyJjb2RlIjoiNDAxIiwibWVzc2FnZSI6IkFjY2VzcyBkZW5pZWQgZHVlIHRvIGludmFsaWQgc3Vic2NyaXB0aW9uIGtleSBvciB3cm9uZyBBUEkgZW5kcG9pbnQuIE1ha2Ugc3VyZSB0byBwcm92aWRlIGEgdmFsaWQga2V5IGZvciBhbiBhY3RpdmUgc3Vic2NyaXB0aW9uIGFuZCB1c2UgYSBjb3JyZWN0IHJlZ2lvbmFsIEFQSSBlbmRwb2ludCBmb3IgeW91ciByZXNvdXJjZS4ifX0=" + "ResponseBody": { + "error": { + "code": "401", + "message": "Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource." + } + } }, { - "RequestUri": "https://mariari-westus2-s.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json, text/json", "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-b25805b20c05f043a129534a670a1697-af25d49a3c490c4c-00", - "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210511.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19042 )", + "traceparent": "00-4b41c8a1f75c89479f5389af85fda1ed-405ca3a9fe357246-00", + "User-Agent": "azsdk-net-AI.TextAnalytics/5.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "1a26406b44799ec461ce0951aebc7b46", "x-ms-return-client-request-id": "true" }, @@ -102,14 +109,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "5c21717e-884f-4a80-8df2-dc3c6430f20f", + "apim-request-id": "e5637302-a5cd-4ead-9e07-9a678a2e1a78", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "Date": "Tue, 11 May 2021 16:09:13 GMT", + "Date": "Wed, 16 Jun 2021 22:34:30 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -131,6 +138,6 @@ "Variables": { "RandomSeed": "1997725308", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://mariari-westus2-s.cognitiveservices.azure.com/" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientLiveTests.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientLiveTests.cs index 7827318b821d6..5e66719e7698b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientLiveTests.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientLiveTests.cs @@ -80,7 +80,6 @@ public async Task EntitiesCategories() } [RecordedTest] - [Ignore("https://github.com/Azure/azure-sdk-for-net/issues/21795")] public async Task RotateApiKey() { // Instantiate a client that will be used to call the service.