From f2800cc2bba1ed485334e86a7b8f434cac90aebe Mon Sep 17 00:00:00 2001 From: Mariana Rios Flores Date: Fri, 28 Aug 2020 13:36:18 -0700 Subject: [PATCH] [TA] SDK now targets 3.1-preview.2 (#14633) * new features generated + CI enabled + recordings * update changelog --- .../Azure.AI.TextAnalytics/CHANGELOG.md | 3 +- .../Models/ErrorCodeValue.Serialization.cs | 16 +-- .../Models/ErrorResponse.Serialization.cs | 29 +++++ .../src/Generated/Models/ErrorResponse.cs | 31 +++++ .../InnerErrorCodeValue.Serialization.cs | 36 +++--- .../Models/LinkedEntity.Serialization.cs | 8 +- .../PiiDocumentEntities.Serialization.cs | 65 ++++++++++ .../Generated/Models/PiiDocumentEntities.cs | 69 +++++++++++ .../Models/PiiEntitiesResult.Serialization.cs | 59 +++++++++ .../src/Generated/Models/PiiEntitiesResult.cs | 65 ++++++++++ .../Models/SentenceAspectSentiment.cs | 54 -------- .../Models/SentenceOpinionSentiment.cs | 54 -------- .../src/Generated/Models/StringIndexType.cs | 54 ++++++++ .../TokenSentimentValue.Serialization.cs | 30 +++++ .../src/Generated/ServiceRestClient.cs | 116 +++++++++++------- .../src/LinkedEntity.cs | 6 +- .../src/SentenceAspect.cs | 2 +- .../src/SentenceOpinion.cs | 2 +- .../src/SentenceOpinionSentiment.cs | 12 -- ...eAspectSentiment.cs => StringIndexType.cs} | 4 +- .../src/TextAnalyticsClient.cs | 14 ++- .../src/TextAnalyticsModelFactory.cs | 2 +- .../src/TokenSentimentValue.cs | 18 +++ .../Azure.AI.TextAnalytics/src/autorest.md | 2 +- ...lyzeSentimentBatchConvenienceFullTest.json | 14 +-- ...entimentBatchConvenienceFullTestAsync.json | 14 +-- .../AnalyzeSentimentBatchConvenienceTest.json | 14 +-- ...yzeSentimentBatchConvenienceTestAsync.json | 14 +-- ...tBatchConvenienceWithCancellationTest.json | 14 +-- ...hConvenienceWithCancellationTestAsync.json | 14 +-- ...nienceWithLanguageAndCancellationTest.json | 14 +-- ...eWithLanguageAndCancellationTestAsync.json | 14 +-- ...venienceWithLanguageAndStatisticsTest.json | 14 +-- ...nceWithLanguageAndStatisticsTestAsync.json | 14 +-- ...imentBatchConvenienceWithLanguageTest.json | 14 +-- ...BatchConvenienceWithLanguageTestAsync.json | 14 +-- ...BatchConvenienceWithOpinionMiningTest.json | 14 +-- ...ConvenienceWithOpinionMiningTestAsync.json | 14 +-- ...enceWithStatisticsAndCancellationTest.json | 14 +-- ...ithStatisticsAndCancellationTestAsync.json | 14 +-- ...entBatchConvenienceWithStatisticsTest.json | 14 +-- ...tchConvenienceWithStatisticsTestAsync.json | 14 +-- .../AnalyzeSentimentBatchTest.json | 14 +-- .../AnalyzeSentimentBatchTestAsync.json | 14 +-- .../AnalyzeSentimentBatchWithErrorTest.json | 14 +-- ...alyzeSentimentBatchWithErrorTestAsync.json | 14 +-- .../AnalyzeSentimentBatchWithNullIdTest.json | 12 +- ...lyzeSentimentBatchWithNullIdTestAsync.json | 12 +- ...AnalyzeSentimentBatchWithNullTextTest.json | 12 +- ...zeSentimentBatchWithNullTextTestAsync.json | 14 +-- ...zeSentimentBatchWithOpinionMiningTest.json | 14 +-- ...timentBatchWithOpinionMiningTestAsync.json | 14 +-- ...alyzeSentimentBatchWithStatisticsTest.json | 14 +-- ...SentimentBatchWithStatisticsTestAsync.json | 14 +-- .../AnalyzeSentimentTest.json | 14 +-- .../AnalyzeSentimentTestAsync.json | 14 +-- .../AnalyzeSentimentWithCancellationTest.json | 14 +-- ...yzeSentimentWithCancellationTestAsync.json | 14 +-- ...timentWithLanguageAndCancellationTest.json | 14 +-- ...tWithLanguageAndCancellationTestAsync.json | 14 +-- .../AnalyzeSentimentWithLanguageTest.json | 14 +-- ...AnalyzeSentimentWithLanguageTestAsync.json | 14 +-- .../AnalyzeSentimentWithOpinionMining.json | 14 +-- ...nalyzeSentimentWithOpinionMiningAsync.json | 14 +-- ...nalyzeSentimentWithOpinionMiningEmpty.json | 14 +-- ...eSentimentWithOpinionMiningEmptyAsync.json | 14 +-- ...lyzeSentimentWithOpinionMiningNegated.json | 14 +-- ...entimentWithOpinionMiningNegatedAsync.json | 14 +-- .../DetectLanguageBatchConvenienceTest.json | 16 +-- ...tectLanguageBatchConvenienceTestAsync.json | 16 +-- ...ageBatchConvenienceWithStatisticsTest.json | 16 +-- ...tchConvenienceWithStatisticsTestAsync.json | 16 +-- .../DetectLanguageBatchTest.json | 16 +-- .../DetectLanguageBatchTestAsync.json | 16 +-- .../DetectLanguageBatchWithErrorTest.json | 16 +-- ...DetectLanguageBatchWithErrorTestAsync.json | 16 +-- .../DetectLanguageBatchWithNullIdTest.json | 14 +-- ...etectLanguageBatchWithNullIdTestAsync.json | 16 +-- .../DetectLanguageBatchWithNullTextTest.json | 14 +-- ...ectLanguageBatchWithNullTextTestAsync.json | 14 +-- ...DetectLanguageBatchWithStatisticsTest.json | 16 +-- ...tLanguageBatchWithStatisticsTestAsync.json | 16 +-- .../DetectLanguageTest.json | 16 +-- .../DetectLanguageTestAsync.json | 14 +-- .../DetectLanguageWithCountryHintTest.json | 16 +-- ...etectLanguageWithCountryHintTestAsync.json | 16 +-- ...etectLanguageWithErrorCountryHintTest.json | 14 +-- ...LanguageWithErrorCountryHintTestAsync.json | 16 +-- ...DetectLanguageWithNoneCountryHintTest.json | 16 +-- ...tLanguageWithNoneCountryHintTestAsync.json | 16 +-- ...anguageWithNoneDefaultCountryHintTest.json | 16 +-- ...geWithNoneDefaultCountryHintTestAsync.json | 16 +-- ...ExtractKeyPhrasesBatchConvenienceTest.json | 16 +-- ...ctKeyPhrasesBatchConvenienceTestAsync.json | 16 +-- ...sesBatchConvenienceWithStatisticsTest.json | 16 +-- ...tchConvenienceWithStatisticsTestAsync.json | 16 +-- .../ExtractKeyPhrasesBatchTest.json | 16 +-- .../ExtractKeyPhrasesBatchTestAsync.json | 16 +-- .../ExtractKeyPhrasesBatchWithErrorTest.json | 16 +-- ...ractKeyPhrasesBatchWithErrorTestAsync.json | 16 +-- .../ExtractKeyPhrasesBatchWithNullIdTest.json | 16 +-- ...actKeyPhrasesBatchWithNullIdTestAsync.json | 14 +-- ...xtractKeyPhrasesBatchWithNullTextTest.json | 14 +-- ...tKeyPhrasesBatchWithNullTextTestAsync.json | 16 +-- ...tractKeyPhrasesBatchWithSatisticsTest.json | 16 +-- ...KeyPhrasesBatchWithSatisticsTestAsync.json | 14 +-- .../ExtractKeyPhrasesTest.json | 16 +-- .../ExtractKeyPhrasesTestAsync.json | 14 +-- .../ExtractKeyPhrasesWithLanguageTest.json | 14 +-- ...xtractKeyPhrasesWithLanguageTestAsync.json | 16 +-- .../ExtractKeyPhrasesWithWarningTest.json | 16 +-- ...ExtractKeyPhrasesWithWarningTestAsync.json | 16 +-- ...RecognizeEntitiesBatchConvenienceTest.json | 16 +-- ...nizeEntitiesBatchConvenienceTestAsync.json | 16 +-- ...iesBatchConvenienceWithStatisticsTest.json | 16 +-- ...tchConvenienceWithStatisticsTestAsync.json | 16 +-- .../RecognizeEntitiesBatchTest.json | 16 +-- .../RecognizeEntitiesBatchTestAsync.json | 16 +-- .../RecognizeEntitiesBatchWithErrorTest.json | 16 +-- ...ognizeEntitiesBatchWithErrorTestAsync.json | 16 +-- ...EntitiesBatchWithInvalidDocumentBatch.json | 16 +-- ...iesBatchWithInvalidDocumentBatchAsync.json | 16 +-- .../RecognizeEntitiesBatchWithNullIdTest.json | 16 +-- ...gnizeEntitiesBatchWithNullIdTestAsync.json | 16 +-- ...ecognizeEntitiesBatchWithNullTextTest.json | 14 +-- ...izeEntitiesBatchWithNullTextTestAsync.json | 14 +-- ...ognizeEntitiesBatchWithStatisticsTest.json | 16 +-- ...eEntitiesBatchWithStatisticsTestAsync.json | 16 +-- .../RecognizeEntitiesTest.json | 16 +-- .../RecognizeEntitiesTestAsync.json | 16 +-- .../RecognizeEntitiesWithLanguageTest.json | 16 +-- ...ecognizeEntitiesWithLanguageTestAsync.json | 16 +-- .../RecognizeEntitiesWithSubCategoryTest.json | 16 +-- ...gnizeEntitiesWithSubCategoryTestAsync.json | 16 +-- ...izeLinkedEntitiesBatchConvenienceTest.json | 21 ++-- ...nkedEntitiesBatchConvenienceTestAsync.json | 21 ++-- ...iesBatchConvenienceWithStatisticsTest.json | 21 ++-- ...tchConvenienceWithStatisticsTestAsync.json | 21 ++-- .../RecognizeLinkedEntitiesBatchTest.json | 21 ++-- ...RecognizeLinkedEntitiesBatchTestAsync.json | 21 ++-- ...gnizeLinkedEntitiesBatchWithErrorTest.json | 21 ++-- ...LinkedEntitiesBatchWithErrorTestAsync.json | 21 ++-- ...EntitiesBatchWithInvalidDocumentBatch.json | 16 +-- ...iesBatchWithInvalidDocumentBatchAsync.json | 14 +-- ...nizeLinkedEntitiesBatchWithNullIdTest.json | 16 +-- ...inkedEntitiesBatchWithNullIdTestAsync.json | 16 +-- ...zeLinkedEntitiesBatchWithNullTextTest.json | 14 +-- ...kedEntitiesBatchWithNullTextTestAsync.json | 14 +-- ...LinkedEntitiesBatchWithStatisticsTest.json | 21 ++-- ...dEntitiesBatchWithStatisticsTestAsync.json | 21 ++-- .../RecognizeLinkedEntitiesTest.json | 19 +-- .../RecognizeLinkedEntitiesTestAsync.json | 19 +-- ...cognizeLinkedEntitiesWithLanguageTest.json | 19 +-- ...zeLinkedEntitiesWithLanguageTestAsync.json | 19 +-- .../RotateApiKey.json | 38 +++--- .../RotateApiKeyAsync.json | 40 +++--- sdk/textanalytics/test-resources.json | 15 +-- sdk/textanalytics/tests.yml | 5 +- 158 files changed, 1628 insertions(+), 1239 deletions(-) create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorResponse.Serialization.cs create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorResponse.cs create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiDocumentEntities.Serialization.cs create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiDocumentEntities.cs create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiEntitiesResult.Serialization.cs create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiEntitiesResult.cs delete mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceAspectSentiment.cs delete mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceOpinionSentiment.cs create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/StringIndexType.cs create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/TokenSentimentValue.Serialization.cs delete mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceOpinionSentiment.cs rename sdk/textanalytics/Azure.AI.TextAnalytics/src/{SentenceAspectSentiment.cs => StringIndexType.cs} (64%) create mode 100644 sdk/textanalytics/Azure.AI.TextAnalytics/src/TokenSentimentValue.cs diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/CHANGELOG.md b/sdk/textanalytics/Azure.AI.TextAnalytics/CHANGELOG.md index f17ad9457750b..39777741e5d86 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/CHANGELOG.md +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/CHANGELOG.md @@ -1,10 +1,9 @@ # Release History ## 5.1.0-beta.1 (Unreleased) -### Breaking changes -- It defaults to the latest supported API version, which currently is `3.1-preview.1`. ### New Features +- It defaults to the latest supported API version, which currently is `3.1-preview.2`. - `ErrorCode` value returned from the service is now surfaced in `RequestFailedException`. - Support added for Opinion Mining. This feature is available in the Text Analytics service v3.1-preview.1 and above. - `TextAnalyticsError` and `TextAnalyticsWarning` now are marked as immutable. diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorCodeValue.Serialization.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorCodeValue.Serialization.cs index 163deec402d75..0bb72c72e237b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorCodeValue.Serialization.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorCodeValue.Serialization.cs @@ -13,19 +13,19 @@ internal static class ErrorCodeValueExtensions { public static string ToSerialString(this ErrorCodeValue value) => value switch { - ErrorCodeValue.InvalidRequest => "invalidRequest", - ErrorCodeValue.InvalidArgument => "invalidArgument", - ErrorCodeValue.InternalServerError => "internalServerError", - ErrorCodeValue.ServiceUnavailable => "serviceUnavailable", + ErrorCodeValue.InvalidRequest => "InvalidRequest", + ErrorCodeValue.InvalidArgument => "InvalidArgument", + ErrorCodeValue.InternalServerError => "InternalServerError", + ErrorCodeValue.ServiceUnavailable => "ServiceUnavailable", _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown ErrorCodeValue value.") }; public static ErrorCodeValue ToErrorCodeValue(this string value) { - if (string.Equals(value, "invalidRequest", StringComparison.InvariantCultureIgnoreCase)) return ErrorCodeValue.InvalidRequest; - if (string.Equals(value, "invalidArgument", StringComparison.InvariantCultureIgnoreCase)) return ErrorCodeValue.InvalidArgument; - if (string.Equals(value, "internalServerError", StringComparison.InvariantCultureIgnoreCase)) return ErrorCodeValue.InternalServerError; - if (string.Equals(value, "serviceUnavailable", StringComparison.InvariantCultureIgnoreCase)) return ErrorCodeValue.ServiceUnavailable; + if (string.Equals(value, "InvalidRequest", StringComparison.InvariantCultureIgnoreCase)) return ErrorCodeValue.InvalidRequest; + if (string.Equals(value, "InvalidArgument", StringComparison.InvariantCultureIgnoreCase)) return ErrorCodeValue.InvalidArgument; + if (string.Equals(value, "InternalServerError", StringComparison.InvariantCultureIgnoreCase)) return ErrorCodeValue.InternalServerError; + if (string.Equals(value, "ServiceUnavailable", StringComparison.InvariantCultureIgnoreCase)) return ErrorCodeValue.ServiceUnavailable; throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown ErrorCodeValue value."); } } diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..4560cce642407 --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.AI.TextAnalytics.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + TextAnalyticsErrorInternal error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + error = TextAnalyticsErrorInternal.DeserializeTextAnalyticsErrorInternal(property.Value); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorResponse.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..4df7e3ea83f97 --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.AI.TextAnalytics.Models +{ + /// The ErrorResponse. + internal partial class ErrorResponse + { + /// Initializes a new instance of ErrorResponse. + /// Document Error. + /// is null. + internal ErrorResponse(TextAnalyticsErrorInternal error) + { + if (error == null) + { + throw new ArgumentNullException(nameof(error)); + } + + Error = error; + } + + /// Document Error. + public TextAnalyticsErrorInternal Error { get; } + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/InnerErrorCodeValue.Serialization.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/InnerErrorCodeValue.Serialization.cs index e7c227e48f3d3..d4080ae651881 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/InnerErrorCodeValue.Serialization.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/InnerErrorCodeValue.Serialization.cs @@ -13,29 +13,29 @@ internal static class InnerErrorCodeValueExtensions { public static string ToSerialString(this InnerErrorCodeValue value) => value switch { - InnerErrorCodeValue.InvalidParameterValue => "invalidParameterValue", - InnerErrorCodeValue.InvalidRequestBodyFormat => "invalidRequestBodyFormat", - InnerErrorCodeValue.EmptyRequest => "emptyRequest", - InnerErrorCodeValue.MissingInputRecords => "missingInputRecords", - InnerErrorCodeValue.InvalidDocument => "invalidDocument", - InnerErrorCodeValue.ModelVersionIncorrect => "modelVersionIncorrect", - InnerErrorCodeValue.InvalidDocumentBatch => "invalidDocumentBatch", - InnerErrorCodeValue.UnsupportedLanguageCode => "unsupportedLanguageCode", - InnerErrorCodeValue.InvalidCountryHint => "invalidCountryHint", + InnerErrorCodeValue.InvalidParameterValue => "InvalidParameterValue", + InnerErrorCodeValue.InvalidRequestBodyFormat => "InvalidRequestBodyFormat", + InnerErrorCodeValue.EmptyRequest => "EmptyRequest", + InnerErrorCodeValue.MissingInputRecords => "MissingInputRecords", + InnerErrorCodeValue.InvalidDocument => "InvalidDocument", + InnerErrorCodeValue.ModelVersionIncorrect => "ModelVersionIncorrect", + InnerErrorCodeValue.InvalidDocumentBatch => "InvalidDocumentBatch", + InnerErrorCodeValue.UnsupportedLanguageCode => "UnsupportedLanguageCode", + InnerErrorCodeValue.InvalidCountryHint => "InvalidCountryHint", _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown InnerErrorCodeValue value.") }; public static InnerErrorCodeValue ToInnerErrorCodeValue(this string value) { - if (string.Equals(value, "invalidParameterValue", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidParameterValue; - if (string.Equals(value, "invalidRequestBodyFormat", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidRequestBodyFormat; - if (string.Equals(value, "emptyRequest", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.EmptyRequest; - if (string.Equals(value, "missingInputRecords", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.MissingInputRecords; - if (string.Equals(value, "invalidDocument", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidDocument; - if (string.Equals(value, "modelVersionIncorrect", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.ModelVersionIncorrect; - if (string.Equals(value, "invalidDocumentBatch", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidDocumentBatch; - if (string.Equals(value, "unsupportedLanguageCode", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.UnsupportedLanguageCode; - if (string.Equals(value, "invalidCountryHint", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidCountryHint; + if (string.Equals(value, "InvalidParameterValue", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidParameterValue; + if (string.Equals(value, "InvalidRequestBodyFormat", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidRequestBodyFormat; + if (string.Equals(value, "EmptyRequest", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.EmptyRequest; + if (string.Equals(value, "MissingInputRecords", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.MissingInputRecords; + if (string.Equals(value, "InvalidDocument", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidDocument; + if (string.Equals(value, "ModelVersionIncorrect", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.ModelVersionIncorrect; + if (string.Equals(value, "InvalidDocumentBatch", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidDocumentBatch; + if (string.Equals(value, "UnsupportedLanguageCode", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.UnsupportedLanguageCode; + if (string.Equals(value, "InvalidCountryHint", StringComparison.InvariantCultureIgnoreCase)) return InnerErrorCodeValue.InvalidCountryHint; throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown InnerErrorCodeValue value."); } } diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/LinkedEntity.Serialization.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/LinkedEntity.Serialization.cs index 5a031fc912487..0ccd8d4e9d29a 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/LinkedEntity.Serialization.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/LinkedEntity.Serialization.cs @@ -21,6 +21,7 @@ internal static LinkedEntity DeserializeLinkedEntity(JsonElement element) Optional id = default; string url = default; string dataSource = default; + Optional bingId = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("name")) @@ -58,8 +59,13 @@ internal static LinkedEntity DeserializeLinkedEntity(JsonElement element) dataSource = property.Value.GetString(); continue; } + if (property.NameEquals("bingId")) + { + bingId = property.Value.GetString(); + continue; + } } - return new LinkedEntity(name, matches, language, id.Value, url, dataSource); + return new LinkedEntity(name, matches, language, id.Value, url, dataSource, bingId.Value); } } } diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiDocumentEntities.Serialization.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiDocumentEntities.Serialization.cs new file mode 100644 index 0000000000000..bc835ba44dceb --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiDocumentEntities.Serialization.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.AI.TextAnalytics; +using Azure.Core; + +namespace Azure.AI.TextAnalytics.Models +{ + internal partial class PiiDocumentEntities + { + internal static PiiDocumentEntities DeserializePiiDocumentEntities(JsonElement element) + { + string id = default; + IReadOnlyList entities = default; + IReadOnlyList warnings = default; + Optional statistics = default; + Optional redactedText = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("id")) + { + id = property.Value.GetString(); + continue; + } + if (property.NameEquals("entities")) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(Entity.DeserializeEntity(item)); + } + entities = array; + continue; + } + if (property.NameEquals("warnings")) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(TextAnalyticsWarningInternal.DeserializeTextAnalyticsWarningInternal(item)); + } + warnings = array; + continue; + } + if (property.NameEquals("statistics")) + { + statistics = TextDocumentStatistics.DeserializeTextDocumentStatistics(property.Value); + continue; + } + if (property.NameEquals("redactedText")) + { + redactedText = property.Value.GetString(); + continue; + } + } + return new PiiDocumentEntities(id, entities, warnings, Optional.ToNullable(statistics), redactedText.Value); + } + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiDocumentEntities.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiDocumentEntities.cs new file mode 100644 index 0000000000000..feab57ee4f2a4 --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiDocumentEntities.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; +using Azure.AI.TextAnalytics; + +namespace Azure.AI.TextAnalytics.Models +{ + /// The PiiDocumentEntities. + internal partial class PiiDocumentEntities + { + /// Initializes a new instance of PiiDocumentEntities. + /// Unique, non-empty document identifier. + /// Recognized entities in the document. + /// Warnings encountered while processing document. + /// , , or is null. + internal PiiDocumentEntities(string id, IEnumerable entities, IEnumerable warnings) + { + if (id == null) + { + throw new ArgumentNullException(nameof(id)); + } + if (entities == null) + { + throw new ArgumentNullException(nameof(entities)); + } + if (warnings == null) + { + throw new ArgumentNullException(nameof(warnings)); + } + + Id = id; + Entities = entities.ToList(); + Warnings = warnings.ToList(); + } + + /// Initializes a new instance of PiiDocumentEntities. + /// Unique, non-empty document identifier. + /// Recognized entities in the document. + /// Warnings encountered while processing document. + /// if showStats=true was specified in the request this field will contain information about the document payload. + /// Returns redacted text. + internal PiiDocumentEntities(string id, IReadOnlyList entities, IReadOnlyList warnings, TextDocumentStatistics? statistics, string redactedText) + { + Id = id; + Entities = entities; + Warnings = warnings; + Statistics = statistics; + RedactedText = redactedText; + } + + /// Unique, non-empty document identifier. + public string Id { get; } + /// Recognized entities in the document. + public IReadOnlyList Entities { get; } + /// Warnings encountered while processing document. + public IReadOnlyList Warnings { get; } + /// if showStats=true was specified in the request this field will contain information about the document payload. + public TextDocumentStatistics? Statistics { get; } + /// Returns redacted text. + public string RedactedText { get; } + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiEntitiesResult.Serialization.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiEntitiesResult.Serialization.cs new file mode 100644 index 0000000000000..193ea9ea46f97 --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiEntitiesResult.Serialization.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.AI.TextAnalytics; +using Azure.Core; + +namespace Azure.AI.TextAnalytics.Models +{ + internal partial class PiiEntitiesResult + { + internal static PiiEntitiesResult DeserializePiiEntitiesResult(JsonElement element) + { + IReadOnlyList documents = default; + IReadOnlyList errors = default; + Optional statistics = default; + string modelVersion = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("documents")) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(PiiDocumentEntities.DeserializePiiDocumentEntities(item)); + } + documents = array; + continue; + } + if (property.NameEquals("errors")) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(DocumentError.DeserializeDocumentError(item)); + } + errors = array; + continue; + } + if (property.NameEquals("statistics")) + { + statistics = TextDocumentBatchStatistics.DeserializeTextDocumentBatchStatistics(property.Value); + continue; + } + if (property.NameEquals("modelVersion")) + { + modelVersion = property.Value.GetString(); + continue; + } + } + return new PiiEntitiesResult(documents, errors, statistics.Value, modelVersion); + } + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiEntitiesResult.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiEntitiesResult.cs new file mode 100644 index 0000000000000..429f27d2af6a0 --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/PiiEntitiesResult.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; +using Azure.AI.TextAnalytics; + +namespace Azure.AI.TextAnalytics.Models +{ + /// The PiiEntitiesResult. + internal partial class PiiEntitiesResult + { + /// Initializes a new instance of PiiEntitiesResult. + /// Response by document. + /// Errors by document id. + /// This field indicates which model is used for scoring. + /// , , or is null. + internal PiiEntitiesResult(IEnumerable documents, IEnumerable errors, string modelVersion) + { + if (documents == null) + { + throw new ArgumentNullException(nameof(documents)); + } + if (errors == null) + { + throw new ArgumentNullException(nameof(errors)); + } + if (modelVersion == null) + { + throw new ArgumentNullException(nameof(modelVersion)); + } + + Documents = documents.ToList(); + Errors = errors.ToList(); + ModelVersion = modelVersion; + } + + /// Initializes a new instance of PiiEntitiesResult. + /// Response by document. + /// Errors by document id. + /// if showStats=true was specified in the request this field will contain information about the request payload. + /// This field indicates which model is used for scoring. + internal PiiEntitiesResult(IReadOnlyList documents, IReadOnlyList errors, TextDocumentBatchStatistics statistics, string modelVersion) + { + Documents = documents; + Errors = errors; + Statistics = statistics; + ModelVersion = modelVersion; + } + + /// Response by document. + public IReadOnlyList Documents { get; } + /// Errors by document id. + public IReadOnlyList Errors { get; } + /// if showStats=true was specified in the request this field will contain information about the request payload. + public TextDocumentBatchStatistics Statistics { get; } + /// This field indicates which model is used for scoring. + public string ModelVersion { get; } + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceAspectSentiment.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceAspectSentiment.cs deleted file mode 100644 index bd08cbac028e0..0000000000000 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceAspectSentiment.cs +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.AI.TextAnalytics.Models -{ - /// Aspect level sentiment for the aspect in the sentence. - internal readonly partial struct SentenceAspectSentiment : IEquatable - { - private readonly string _value; - - /// Determines if two values are the same. - /// is null. - public SentenceAspectSentiment(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string PositiveValue = "positive"; - private const string MixedValue = "mixed"; - private const string NegativeValue = "negative"; - - /// positive. - public static SentenceAspectSentiment Positive { get; } = new SentenceAspectSentiment(PositiveValue); - /// mixed. - public static SentenceAspectSentiment Mixed { get; } = new SentenceAspectSentiment(MixedValue); - /// negative. - public static SentenceAspectSentiment Negative { get; } = new SentenceAspectSentiment(NegativeValue); - /// Determines if two values are the same. - public static bool operator ==(SentenceAspectSentiment left, SentenceAspectSentiment right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(SentenceAspectSentiment left, SentenceAspectSentiment right) => !left.Equals(right); - /// Converts a string to a . - public static implicit operator SentenceAspectSentiment(string value) => new SentenceAspectSentiment(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is SentenceAspectSentiment other && Equals(other); - /// - public bool Equals(SentenceAspectSentiment other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceOpinionSentiment.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceOpinionSentiment.cs deleted file mode 100644 index 76cca68a7ec0a..0000000000000 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/SentenceOpinionSentiment.cs +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.AI.TextAnalytics.Models -{ - /// Opinion level sentiment for the aspect in the sentence. - internal readonly partial struct SentenceOpinionSentiment : IEquatable - { - private readonly string _value; - - /// Determines if two values are the same. - /// is null. - public SentenceOpinionSentiment(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string PositiveValue = "positive"; - private const string MixedValue = "mixed"; - private const string NegativeValue = "negative"; - - /// positive. - public static SentenceOpinionSentiment Positive { get; } = new SentenceOpinionSentiment(PositiveValue); - /// mixed. - public static SentenceOpinionSentiment Mixed { get; } = new SentenceOpinionSentiment(MixedValue); - /// negative. - public static SentenceOpinionSentiment Negative { get; } = new SentenceOpinionSentiment(NegativeValue); - /// Determines if two values are the same. - public static bool operator ==(SentenceOpinionSentiment left, SentenceOpinionSentiment right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(SentenceOpinionSentiment left, SentenceOpinionSentiment right) => !left.Equals(right); - /// Converts a string to a . - public static implicit operator SentenceOpinionSentiment(string value) => new SentenceOpinionSentiment(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is SentenceOpinionSentiment other && Equals(other); - /// - public bool Equals(SentenceOpinionSentiment other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/StringIndexType.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/StringIndexType.cs new file mode 100644 index 0000000000000..2a94f328d2f70 --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/StringIndexType.cs @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.AI.TextAnalytics.Models +{ + /// The StringIndexType. + internal readonly partial struct StringIndexType : IEquatable + { + private readonly string _value; + + /// Determines if two values are the same. + /// is null. + public StringIndexType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string TextElementsV8Value = "TextElements_v8"; + private const string UnicodeCodePointValue = "UnicodeCodePoint"; + private const string Utf16CodeUnitValue = "Utf16CodeUnit"; + + /// Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. + public static StringIndexType TextElementsV8 { get; } = new StringIndexType(TextElementsV8Value); + /// Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. + public static StringIndexType UnicodeCodePoint { get; } = new StringIndexType(UnicodeCodePointValue); + /// Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. + public static StringIndexType Utf16CodeUnit { get; } = new StringIndexType(Utf16CodeUnitValue); + /// Determines if two values are the same. + public static bool operator ==(StringIndexType left, StringIndexType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(StringIndexType left, StringIndexType right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator StringIndexType(string value) => new StringIndexType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is StringIndexType other && Equals(other); + /// + public bool Equals(StringIndexType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/TokenSentimentValue.Serialization.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/TokenSentimentValue.Serialization.cs new file mode 100644 index 0000000000000..161ca9f0f57cd --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/TokenSentimentValue.Serialization.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.AI.TextAnalytics.Models +{ + internal static class TokenSentimentValueExtensions + { + public static string ToSerialString(this TokenSentimentValue value) => value switch + { + TokenSentimentValue.Positive => "positive", + TokenSentimentValue.Mixed => "mixed", + TokenSentimentValue.Negative => "negative", + _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown TokenSentimentValue value.") + }; + + public static TokenSentimentValue ToTokenSentimentValue(this string value) + { + if (string.Equals(value, "positive", StringComparison.InvariantCultureIgnoreCase)) return TokenSentimentValue.Positive; + if (string.Equals(value, "mixed", StringComparison.InvariantCultureIgnoreCase)) return TokenSentimentValue.Mixed; + if (string.Equals(value, "negative", StringComparison.InvariantCultureIgnoreCase)) return TokenSentimentValue.Negative; + throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown TokenSentimentValue value."); + } + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/ServiceRestClient.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/ServiceRestClient.cs index 58e19649986fb..6d8c71a123ef3 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/ServiceRestClient.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/ServiceRestClient.cs @@ -39,14 +39,14 @@ public ServiceRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipel _pipeline = pipeline; } - internal HttpMessage CreateEntitiesRecognitionGeneralRequest(MultiLanguageBatchInput input, string modelVersion, bool? showStats) + internal HttpMessage CreateEntitiesRecognitionGeneralRequest(MultiLanguageBatchInput input, string modelVersion, bool? showStats, StringIndexType? stringIndexType) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendRaw("/text/analytics/v3.1-preview.1", false); + uri.AppendRaw("/text/analytics/v3.1-preview.2", false); uri.AppendPath("/entities/recognition/general", false); if (modelVersion != null) { @@ -56,6 +56,10 @@ internal HttpMessage CreateEntitiesRecognitionGeneralRequest(MultiLanguageBatchI { uri.AppendQuery("showStats", showStats.Value, true); } + if (stringIndexType != null) + { + uri.AppendQuery("stringIndexType", stringIndexType.Value.ToString(), true); + } request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); request.Headers.Add("Accept", "application/json, text/json"); @@ -68,17 +72,18 @@ internal HttpMessage CreateEntitiesRecognitionGeneralRequest(MultiLanguageBatchI /// The API returns a list of general named entities in a given document. For the list of supported entity types, check <a href="https://aka.ms/taner">Supported Entity Types in Text Analytics API</a>. See the <a href="https://aka.ms/talangs">Supported languages in Text Analytics API</a> for the list of enabled languages. /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. + /// (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. /// The cancellation token to use. /// is null. - public async Task> EntitiesRecognitionGeneralAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, CancellationToken cancellationToken = default) + public async Task> EntitiesRecognitionGeneralAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, StringIndexType? stringIndexType = null, CancellationToken cancellationToken = default) { if (input == null) { throw new ArgumentNullException(nameof(input)); } - using var message = CreateEntitiesRecognitionGeneralRequest(input, modelVersion, showStats); + using var message = CreateEntitiesRecognitionGeneralRequest(input, modelVersion, showStats, stringIndexType); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -97,17 +102,18 @@ public async Task> EntitiesRecognitionGeneralAsync(Mult /// The API returns a list of general named entities in a given document. For the list of supported entity types, check <a href="https://aka.ms/taner">Supported Entity Types in Text Analytics API</a>. See the <a href="https://aka.ms/talangs">Supported languages in Text Analytics API</a> for the list of enabled languages. /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. + /// (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. /// The cancellation token to use. /// is null. - public Response EntitiesRecognitionGeneral(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, CancellationToken cancellationToken = default) + public Response EntitiesRecognitionGeneral(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, StringIndexType? stringIndexType = null, CancellationToken cancellationToken = default) { if (input == null) { throw new ArgumentNullException(nameof(input)); } - using var message = CreateEntitiesRecognitionGeneralRequest(input, modelVersion, showStats); + using var message = CreateEntitiesRecognitionGeneralRequest(input, modelVersion, showStats, stringIndexType); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { @@ -123,14 +129,14 @@ public Response EntitiesRecognitionGeneral(MultiLanguageBatchInp } } - internal HttpMessage CreateEntitiesRecognitionPiiRequest(MultiLanguageBatchInput input, string modelVersion, bool? showStats, string domain) + internal HttpMessage CreateEntitiesRecognitionPiiRequest(MultiLanguageBatchInput input, string modelVersion, bool? showStats, string domain, StringIndexType? stringIndexType) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendRaw("/text/analytics/v3.1-preview.1", false); + uri.AppendRaw("/text/analytics/v3.1-preview.2", false); uri.AppendPath("/entities/recognition/pii", false); if (modelVersion != null) { @@ -144,6 +150,10 @@ internal HttpMessage CreateEntitiesRecognitionPiiRequest(MultiLanguageBatchInput { uri.AppendQuery("domain", domain, true); } + if (stringIndexType != null) + { + uri.AppendQuery("stringIndexType", stringIndexType.Value.ToString(), true); + } request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); request.Headers.Add("Accept", "application/json, text/json"); @@ -159,26 +169,27 @@ internal HttpMessage CreateEntitiesRecognitionPiiRequest(MultiLanguageBatchInput /// /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. /// (Optional) if set to 'PHI', response will contain only PHI entities. + /// (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. /// The cancellation token to use. /// is null. - public async Task> EntitiesRecognitionPiiAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, string domain = null, CancellationToken cancellationToken = default) + public async Task> EntitiesRecognitionPiiAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, string domain = null, StringIndexType? stringIndexType = null, CancellationToken cancellationToken = default) { if (input == null) { throw new ArgumentNullException(nameof(input)); } - using var message = CreateEntitiesRecognitionPiiRequest(input, modelVersion, showStats, domain); + using var message = CreateEntitiesRecognitionPiiRequest(input, modelVersion, showStats, domain, stringIndexType); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: { - EntitiesResult value = default; + PiiEntitiesResult value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = EntitiesResult.DeserializeEntitiesResult(document.RootElement); + value = PiiEntitiesResult.DeserializePiiEntitiesResult(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -192,26 +203,27 @@ public async Task> EntitiesRecognitionPiiAsync(MultiLan /// /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. /// (Optional) if set to 'PHI', response will contain only PHI entities. + /// (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. /// The cancellation token to use. /// is null. - public Response EntitiesRecognitionPii(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, string domain = null, CancellationToken cancellationToken = default) + public Response EntitiesRecognitionPii(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, string domain = null, StringIndexType? stringIndexType = null, CancellationToken cancellationToken = default) { if (input == null) { throw new ArgumentNullException(nameof(input)); } - using var message = CreateEntitiesRecognitionPiiRequest(input, modelVersion, showStats, domain); + using var message = CreateEntitiesRecognitionPiiRequest(input, modelVersion, showStats, domain, stringIndexType); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: { - EntitiesResult value = default; + PiiEntitiesResult value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = EntitiesResult.DeserializeEntitiesResult(document.RootElement); + value = PiiEntitiesResult.DeserializePiiEntitiesResult(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -219,14 +231,14 @@ public Response EntitiesRecognitionPii(MultiLanguageBatchInput i } } - internal HttpMessage CreateEntitiesLinkingRequest(MultiLanguageBatchInput input, string modelVersion, bool? showStats) + internal HttpMessage CreateEntitiesLinkingRequest(MultiLanguageBatchInput input, string modelVersion, bool? showStats, StringIndexType? stringIndexType) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendRaw("/text/analytics/v3.1-preview.1", false); + uri.AppendRaw("/text/analytics/v3.1-preview.2", false); uri.AppendPath("/entities/linking", false); if (modelVersion != null) { @@ -236,6 +248,10 @@ internal HttpMessage CreateEntitiesLinkingRequest(MultiLanguageBatchInput input, { uri.AppendQuery("showStats", showStats.Value, true); } + if (stringIndexType != null) + { + uri.AppendQuery("stringIndexType", stringIndexType.Value.ToString(), true); + } request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); request.Headers.Add("Accept", "application/json, text/json"); @@ -248,17 +264,18 @@ internal HttpMessage CreateEntitiesLinkingRequest(MultiLanguageBatchInput input, /// The API returns a list of recognized entities with links to a well-known knowledge base. See the <a href="https://aka.ms/talangs">Supported languages in Text Analytics API</a> for the list of enabled languages. /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. + /// (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. /// The cancellation token to use. /// is null. - public async Task> EntitiesLinkingAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, CancellationToken cancellationToken = default) + public async Task> EntitiesLinkingAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, StringIndexType? stringIndexType = null, CancellationToken cancellationToken = default) { if (input == null) { throw new ArgumentNullException(nameof(input)); } - using var message = CreateEntitiesLinkingRequest(input, modelVersion, showStats); + using var message = CreateEntitiesLinkingRequest(input, modelVersion, showStats, stringIndexType); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -277,17 +294,18 @@ public async Task> EntitiesLinkingAsync(MultiLangu /// The API returns a list of recognized entities with links to a well-known knowledge base. See the <a href="https://aka.ms/talangs">Supported languages in Text Analytics API</a> for the list of enabled languages. /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. + /// (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. /// The cancellation token to use. /// is null. - public Response EntitiesLinking(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, CancellationToken cancellationToken = default) + public Response EntitiesLinking(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, StringIndexType? stringIndexType = null, CancellationToken cancellationToken = default) { if (input == null) { throw new ArgumentNullException(nameof(input)); } - using var message = CreateEntitiesLinkingRequest(input, modelVersion, showStats); + using var message = CreateEntitiesLinkingRequest(input, modelVersion, showStats, stringIndexType); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { @@ -310,7 +328,7 @@ internal HttpMessage CreateKeyPhrasesRequest(MultiLanguageBatchInput input, stri request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendRaw("/text/analytics/v3.1-preview.1", false); + uri.AppendRaw("/text/analytics/v3.1-preview.2", false); uri.AppendPath("/keyPhrases", false); if (modelVersion != null) { @@ -330,9 +348,9 @@ internal HttpMessage CreateKeyPhrasesRequest(MultiLanguageBatchInput input, stri } /// The API returns a list of strings denoting the key phrases in the input text. See the <a href="https://aka.ms/talangs">Supported languages in Text Analytics API</a> for the list of enabled languages. - /// Collection of documents to analyze. Documents can now contain a language field to indicate the text language. + /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. /// The cancellation token to use. /// is null. public async Task> KeyPhrasesAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, CancellationToken cancellationToken = default) @@ -359,9 +377,9 @@ public async Task> KeyPhrasesAsync(MultiLanguageBatchI } /// The API returns a list of strings denoting the key phrases in the input text. See the <a href="https://aka.ms/talangs">Supported languages in Text Analytics API</a> for the list of enabled languages. - /// Collection of documents to analyze. Documents can now contain a language field to indicate the text language. + /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. /// The cancellation token to use. /// is null. public Response KeyPhrases(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, CancellationToken cancellationToken = default) @@ -394,7 +412,7 @@ internal HttpMessage CreateLanguagesRequest(LanguageBatchInput input, string mod request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendRaw("/text/analytics/v3.1-preview.1", false); + uri.AppendRaw("/text/analytics/v3.1-preview.2", false); uri.AppendPath("/languages", false); if (modelVersion != null) { @@ -414,9 +432,9 @@ internal HttpMessage CreateLanguagesRequest(LanguageBatchInput input, string mod } /// The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. See the <a href="https://aka.ms/talangs">Supported languages in Text Analytics API</a> for the list of enabled languages. - /// Collection of documents to analyze. + /// Collection of documents to analyze for language endpoint. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. /// The cancellation token to use. /// is null. public async Task> LanguagesAsync(LanguageBatchInput input, string modelVersion = null, bool? showStats = null, CancellationToken cancellationToken = default) @@ -443,9 +461,9 @@ public async Task> LanguagesAsync(LanguageBatchInput in } /// The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. See the <a href="https://aka.ms/talangs">Supported languages in Text Analytics API</a> for the list of enabled languages. - /// Collection of documents to analyze. + /// Collection of documents to analyze for language endpoint. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. /// The cancellation token to use. /// is null. public Response Languages(LanguageBatchInput input, string modelVersion = null, bool? showStats = null, CancellationToken cancellationToken = default) @@ -471,14 +489,14 @@ public Response Languages(LanguageBatchInput input, string model } } - internal HttpMessage CreateSentimentRequest(MultiLanguageBatchInput input, string modelVersion, bool? showStats, bool? opinionMining) + internal HttpMessage CreateSentimentRequest(MultiLanguageBatchInput input, string modelVersion, bool? showStats, bool? opinionMining, StringIndexType? stringIndexType) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendRaw("/text/analytics/v3.1-preview.1", false); + uri.AppendRaw("/text/analytics/v3.1-preview.2", false); uri.AppendPath("/sentiment", false); if (modelVersion != null) { @@ -492,6 +510,10 @@ internal HttpMessage CreateSentimentRequest(MultiLanguageBatchInput input, strin { uri.AppendQuery("opinionMining", opinionMining.Value, true); } + if (stringIndexType != null) + { + uri.AppendQuery("stringIndexType", stringIndexType.Value.ToString(), true); + } request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); request.Headers.Add("Accept", "application/json, text/json"); @@ -504,18 +526,19 @@ internal HttpMessage CreateSentimentRequest(MultiLanguageBatchInput input, strin /// The API returns a detailed sentiment analysis for the input text. The analysis is done in multiple levels of granularity, start from the a document level, down to sentence and key terms (aspects) and opinions. /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. /// (Optional) if set to true, response will contain input and document level statistics including aspect-based sentiment analysis results. + /// (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. /// The cancellation token to use. /// is null. - public async Task> SentimentAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, bool? opinionMining = null, CancellationToken cancellationToken = default) + public async Task> SentimentAsync(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, bool? opinionMining = null, StringIndexType? stringIndexType = null, CancellationToken cancellationToken = default) { if (input == null) { throw new ArgumentNullException(nameof(input)); } - using var message = CreateSentimentRequest(input, modelVersion, showStats, opinionMining); + using var message = CreateSentimentRequest(input, modelVersion, showStats, opinionMining, stringIndexType); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -534,18 +557,19 @@ public async Task> SentimentAsync(MultiLanguageBatch /// The API returns a detailed sentiment analysis for the input text. The analysis is done in multiple levels of granularity, start from the a document level, down to sentence and key terms (aspects) and opinions. /// Collection of documents to analyze. /// (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. - /// (Optional) if set to true, response will contain input and document level statistics. + /// (Optional) if set to true, response will contain request and document level statistics. /// (Optional) if set to true, response will contain input and document level statistics including aspect-based sentiment analysis results. + /// (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. /// The cancellation token to use. /// is null. - public Response Sentiment(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, bool? opinionMining = null, CancellationToken cancellationToken = default) + public Response Sentiment(MultiLanguageBatchInput input, string modelVersion = null, bool? showStats = null, bool? opinionMining = null, StringIndexType? stringIndexType = null, CancellationToken cancellationToken = default) { if (input == null) { throw new ArgumentNullException(nameof(input)); } - using var message = CreateSentimentRequest(input, modelVersion, showStats, opinionMining); + using var message = CreateSentimentRequest(input, modelVersion, showStats, opinionMining, stringIndexType); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/LinkedEntity.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/LinkedEntity.cs index 9135bc17effd5..f74744d9c861a 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/LinkedEntity.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/LinkedEntity.cs @@ -22,7 +22,7 @@ public readonly partial struct LinkedEntity [CodeGenMember("Url")] private string _url { get; } - internal LinkedEntity(string name, IEnumerable matches, string language, string dataSourceEntityId, string url, string dataSource) + internal LinkedEntity(string name, IEnumerable matches, string language, string dataSourceEntityId, string url, string dataSource, string bingId) { Name = name; DataSourceEntityId = dataSourceEntityId; @@ -31,6 +31,7 @@ internal LinkedEntity(string name, IEnumerable matches, strin _url = url; Url = new Uri(url); Matches = matches; + BingId = bingId; } /// @@ -64,5 +65,8 @@ internal LinkedEntity(string name, IEnumerable matches, strin /// to this linked entity. /// public IEnumerable Matches { get; } + + /// Bing unique identifier of the recognized entity. Use in conjunction with the Bing Entity Search API to fetch additional relevant information. + private string BingId { get; } } } diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceAspect.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceAspect.cs index ffbf1775b4f0c..ff1267edef3a3 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceAspect.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceAspect.cs @@ -8,7 +8,7 @@ namespace Azure.AI.TextAnalytics.Models [CodeGenModel("SentenceAspect")] internal partial class SentenceAspect { - // Transform from enum SentenceOpinionSentiment to string so we can parse it into a TextSentiment + // Transform from enum TokenSentimentValue to string so we can parse it into a TextSentiment public string Sentiment { get; } } } diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceOpinion.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceOpinion.cs index ef8e915c4a67a..c9a3be0fb4322 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceOpinion.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceOpinion.cs @@ -8,7 +8,7 @@ namespace Azure.AI.TextAnalytics.Models [CodeGenModel("SentenceOpinion")] internal partial class SentenceOpinion { - // Transform from enum SentenceOpinionSentiment to string so we can parse it into a TextSentiment + // Transform from enum TokenSentimentValue to string so we can parse it into a TextSentiment public string Sentiment { get; } } } diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceOpinionSentiment.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceOpinionSentiment.cs deleted file mode 100644 index 903cf5e3be111..0000000000000 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceOpinionSentiment.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.AI.TextAnalytics.Models -{ - [CodeGenModel("SentenceOpinionSentiment")] - internal partial struct SentenceOpinionSentiment - { - } -} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceAspectSentiment.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/StringIndexType.cs similarity index 64% rename from sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceAspectSentiment.cs rename to sdk/textanalytics/Azure.AI.TextAnalytics/src/StringIndexType.cs index 896b7d27f87d1..c8f0fa5014180 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/SentenceAspectSentiment.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/StringIndexType.cs @@ -5,8 +5,8 @@ namespace Azure.AI.TextAnalytics.Models { - [CodeGenModel("SentenceAspectSentiment")] - internal partial struct SentenceAspectSentiment + [CodeGenModel("StringIndexType")] + internal partial struct StringIndexType { } } diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsClient.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsClient.cs index 71597cd120ce9..689d820a56249 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsClient.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsClient.cs @@ -639,7 +639,7 @@ private async Task> RecognizeEntitie try { - Response result = await _serviceRestClient.EntitiesRecognitionGeneralAsync(batchInput, options.ModelVersion, options.IncludeStatistics, cancellationToken).ConfigureAwait(false); + Response result = await _serviceRestClient.EntitiesRecognitionGeneralAsync(batchInput, options.ModelVersion, options.IncludeStatistics, null, cancellationToken).ConfigureAwait(false); var response = result.GetRawResponse(); IDictionary map = CreateIdToIndexMap(batchInput.Documents); @@ -660,7 +660,7 @@ private Response RecognizeEntitiesBatch(Multi try { - Response result = _serviceRestClient.EntitiesRecognitionGeneral(batchInput, options.ModelVersion, options.IncludeStatistics, cancellationToken); + Response result = _serviceRestClient.EntitiesRecognitionGeneral(batchInput, options.ModelVersion, options.IncludeStatistics, null, cancellationToken); var response = result.GetRawResponse(); IDictionary map = CreateIdToIndexMap(batchInput.Documents); @@ -773,6 +773,7 @@ public virtual async Task> AnalyzeSentimentAsync(str options.ModelVersion, options.IncludeStatistics, options.IncludeOpinionMining, + null, cancellationToken).ConfigureAwait(false); Response response = result.GetRawResponse(); @@ -832,6 +833,7 @@ public virtual Response AnalyzeSentiment(string document, str options.ModelVersion, options.IncludeStatistics, options.IncludeOpinionMining, + null, cancellationToken); Response response = result.GetRawResponse(); @@ -1104,7 +1106,7 @@ private async Task> AnalyzeSentimentB try { - Response result = await _serviceRestClient.SentimentAsync(batchInput, options.ModelVersion, options.IncludeStatistics, options.IncludeOpinionMining, cancellationToken).ConfigureAwait(false); + Response result = await _serviceRestClient.SentimentAsync(batchInput, options.ModelVersion, options.IncludeStatistics, options.IncludeOpinionMining, null, cancellationToken).ConfigureAwait(false); var response = result.GetRawResponse(); IDictionary map = CreateIdToIndexMap(batchInput.Documents); @@ -1125,7 +1127,7 @@ private Response AnalyzeSentimentBatch(MultiLa try { - Response result = _serviceRestClient.Sentiment(batchInput, options.ModelVersion, options.IncludeStatistics, options.IncludeOpinionMining, cancellationToken); + Response result = _serviceRestClient.Sentiment(batchInput, options.ModelVersion, options.IncludeStatistics, options.IncludeOpinionMining, null, cancellationToken); var response = result.GetRawResponse(); IDictionary map = CreateIdToIndexMap(batchInput.Documents); @@ -1664,7 +1666,7 @@ private async Task> RecognizeL try { - Response result = await _serviceRestClient.EntitiesLinkingAsync(batchInput, options.ModelVersion, options.IncludeStatistics, cancellationToken).ConfigureAwait(false); + Response result = await _serviceRestClient.EntitiesLinkingAsync(batchInput, options.ModelVersion, options.IncludeStatistics, null, cancellationToken).ConfigureAwait(false); var response = result.GetRawResponse(); IDictionary map = CreateIdToIndexMap(batchInput.Documents); @@ -1685,7 +1687,7 @@ private Response RecognizeLinkedEntitie try { - Response result = _serviceRestClient.EntitiesLinking(batchInput, options.ModelVersion, options.IncludeStatistics, cancellationToken); + Response result = _serviceRestClient.EntitiesLinking(batchInput, options.ModelVersion, options.IncludeStatistics, null, cancellationToken); var response = result.GetRawResponse(); IDictionary map = CreateIdToIndexMap(batchInput.Documents); diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsModelFactory.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsModelFactory.cs index 88f55bfb6a306..27b6343aa4a07 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsModelFactory.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/TextAnalyticsModelFactory.cs @@ -377,7 +377,7 @@ public static ExtractKeyPhrasesResultCollection ExtractKeyPhrasesResultCollectio /// A new instance of for mocking purposes. public static LinkedEntity LinkedEntity(string name, string dataSourceEntityId, string language, string dataSource, Uri url, IEnumerable matches) { - return new LinkedEntity(name, matches, language, dataSourceEntityId, url.AbsoluteUri, dataSource); + return new LinkedEntity(name, matches, language, dataSourceEntityId, url.AbsoluteUri, dataSource, default); } /// diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/TokenSentimentValue.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/src/TokenSentimentValue.cs new file mode 100644 index 0000000000000..4cd483e96fcc6 --- /dev/null +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/TokenSentimentValue.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core; + +namespace Azure.AI.TextAnalytics.Models +{ + [CodeGenModel("TokenSentimentValue")] + internal enum TokenSentimentValue + { + /// positive. + Positive, + /// mixed. + Mixed, + /// negative. + Negative + } +} diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/src/autorest.md b/sdk/textanalytics/Azure.AI.TextAnalytics/src/autorest.md index c4b7dbc55f38c..f0096e31d60b4 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/src/autorest.md +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/src/autorest.md @@ -7,7 +7,7 @@ Run `dotnet msbuild /t:GenerateCode` to generate code. ``` yaml input-file: - - https://github.com/Azure/azure-rest-api-specs/blob/38a485fdacf92b48427f02bc0ea3f6f8d4964614/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/TextAnalytics.json + - https://github.com/Azure/azure-rest-api-specs/blob/bc1d3e6f1d19840375907101b30579c16c8a5d76/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.2/TextAnalytics.json ``` ### Make generated models internal by default diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceFullTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceFullTest.json index 9e14fd3bb9e20..c5b65307c63d7 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceFullTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceFullTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ffb7e9795d2c4741be5783b867c70f09-467b86d63c3dae4a-00", + "traceparent": "00-b5f0fe109c90634cb06cdf8ee3c05083-47ae0a87a73cab46-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "46ff8a88da6043764cc996c5f7278ab9", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1f8538a7-92d1-4c32-a87e-a3c94965d41b", + "apim-request-id": "27518100-1285-4a77-9767-1811c6d2bdea", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:02 GMT", + "Date": "Thu, 27 Aug 2020 23:17:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86" + "x-envoy-upstream-service-time": "98" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "1693535771", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceFullTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceFullTestAsync.json index ab8c2f99393ff..dbb4cd047d310 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceFullTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceFullTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-50855557d029104596d7effc3f78c9c2-d0e01e165e4c794b-00", + "traceparent": "00-25beb0f04c744f43b41f9c4a38ae5803-86522d9a92cb264e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "f8a8f7907fedbc9f57347ef6c34cb316", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "42e6f797-7a60-49ea-b790-493ae4f64023", + "apim-request-id": "1c56b4c5-c0b8-412b-b0bf-ad02ebdbc00b", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:09 GMT", + "Date": "Thu, 27 Aug 2020 23:17:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "129" + "x-envoy-upstream-service-time": "101" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "502980484", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceTest.json index 3f147f4dde490..7dc9a70da3eec 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-6b9fd496f0d9cd4d9dd81991bb871cff-f914284d3441d042-00", + "traceparent": "00-fe4e736612713942a9f284b5888c685c-37a969143d4c404b-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "cce289a26d1d061596864ecabf823579", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "adebede7-3834-4658-806a-d2e54b96f184", + "apim-request-id": "666cf4c8-0c24-4a53-968e-640cbd7d5999", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:03 GMT", + "Date": "Thu, 27 Aug 2020 23:17:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "85" + "x-envoy-upstream-service-time": "102" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "1710784328", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceTestAsync.json index 91617fdbcdd61..08b934fe0a6dc 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-7fdba4fd99e6124d826b2ba080bdf5c4-5ab309001986f647-00", + "traceparent": "00-ac7fd49ceb381f449bcd53c60317e835-c1b9589d2b60ec45-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "44df025ef52d84b38b1d7faf3d8a01ae", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3b97c7f0-fd2d-4f51-9050-7de49b9ebf5d", + "apim-request-id": "84dc3de3-f86d-46bc-8285-099f910eeda4", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:10 GMT", + "Date": "Thu, 27 Aug 2020 23:17:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86" + "x-envoy-upstream-service-time": "99" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "422757483", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithCancellationTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithCancellationTest.json index 5855815388025..d9c4d0055420e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithCancellationTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithCancellationTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-7d77a6a095cdb44dafa0b391cb32bae0-301bc2cb06178448-00", + "traceparent": "00-00c319f8f73f1b4c8efc0c1ef88579e2-830643c30ec4b94e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "54fde997c1f5f7688b9cd9428878262b", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ca6d666e-7033-4e07-bc0e-1efcb7409e30", + "apim-request-id": "202e804b-20bb-471d-bc17-b9755d79e3c7", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:03 GMT", + "Date": "Thu, 27 Aug 2020 23:17:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "99" + "x-envoy-upstream-service-time": "113" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "1098921679", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithCancellationTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithCancellationTestAsync.json index 2adefd9507239..76e58684d7ca6 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithCancellationTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithCancellationTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-cf13bd861d901d4a86e64cc110b786a1-799bea5f1f3ede47-00", + "traceparent": "00-8aaaef2aff43ae4f82203bfafc4a701c-c19d5f82e2dbd146-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "b1e40acf80a85b6108138f9b3f72011a", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "65f81f98-9c8c-4e88-b3fc-2d30d74305c8", + "apim-request-id": "242af440-5152-44c7-8079-11b80c042c7d", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:10 GMT", + "Date": "Thu, 27 Aug 2020 23:17:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "87" + "x-envoy-upstream-service-time": "102" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "732458544", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithLanguageAndCancellationTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndCancellationTest.json index 74d935b338ca3..3d2daa81c28be 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndCancellationTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndCancellationTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-d66f8bb9a67a4442b3e8f357cf724062-9cc83a573b9b2c44-00", + "traceparent": "00-af534ddf8195ae4692f8bb8e9dee0dbb-9d771554fbb2ce47-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e1b266d48f5f689ed2fddb131e2db2bd", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "367d6a99-8246-46c1-831b-a7f1310f8038", + "apim-request-id": "8e7e8af0-b024-4d49-819e-d5b583fa2fdd", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:03 GMT", + "Date": "Thu, 27 Aug 2020 23:17:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "106" + "x-envoy-upstream-service-time": "102" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "135476072", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithLanguageAndCancellationTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndCancellationTestAsync.json index 2c07d571c6871..4a048b807609a 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndCancellationTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndCancellationTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-d762aa36a4cde54bbcaf5916ab262a86-50120e270e1e5f4a-00", + "traceparent": "00-e30c28b530eef24281f405cd412fe7f5-089b0498f9e3db47-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e99fe160fe54b80554f8b5d876bef462", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "bb295652-f67f-483b-91d6-4734cf2e1295", + "apim-request-id": "5e8b541c-457b-4a1e-a869-e6cfa1f11678", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:10 GMT", + "Date": "Thu, 27 Aug 2020 23:17:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "116" + "x-envoy-upstream-service-time": "101" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "1902873651", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithLanguageAndStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndStatisticsTest.json index 2031d5770dc7b..d6a076433a754 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-4c0d6c217f4e954780dd19380f8090b8-c83cbdc0f071b84e-00", + "traceparent": "00-78cae7f077410545966f9a44a62837b2-eb242c4463f96045-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "b6ab84e556961447e84a495dc7538f45", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e8589d09-7f0f-46ae-8a23-e779dcf08e64", + "apim-request-id": "b9ddddce-4993-4a7b-8158-316c771f3af1", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:04 GMT", + "Date": "Thu, 27 Aug 2020 23:17:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "129" + "x-envoy-upstream-service-time": "102" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "203642303", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithLanguageAndStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndStatisticsTestAsync.json index 212851e88af08..49a04fb3a1acf 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageAndStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-41c2f04e3494f146b3178783f21ecc9d-5539e6c81e1a6841-00", + "traceparent": "00-edd37da00b49a948a117ea7fe7a23ca8-68cc23b3c4f8e74c-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "6d2057b51fca1a7a74154471e36a2a15", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2defc665-e867-41b2-9c75-644cc1f8a6e3", + "apim-request-id": "6ffd73b7-48f2-4f67-b165-e4983556baea", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:11 GMT", + "Date": "Thu, 27 Aug 2020 23:17:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "94" + "x-envoy-upstream-service-time": "101" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "660289230", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithLanguageTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageTest.json index 5929e485fc615..3d333c1aa4d0b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-364e2ae334210b4393035b123d23275d-4cb8f9ad198eeb45-00", + "traceparent": "00-ce6d6a49e17c534288554fd075f39737-1b646e7d27a1dc4f-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "b751cfcd8b1d05146e7c370392a32dcb", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "235a1d9f-1439-499c-8cce-3d4c54cbf499", + "apim-request-id": "22132077-fa2e-4e21-a180-b6f8c80c0569", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:04 GMT", + "Date": "Thu, 27 Aug 2020 23:17:09 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "81" + "x-envoy-upstream-service-time": "100" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "169109921", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithLanguageTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageTestAsync.json index 68329aef3619f..2e77822c9893b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithLanguageTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e4f6e89c85a5ae4f972635fcb9f3052b-cfb0db648e5b0545-00", + "traceparent": "00-c688bd6ea480b140b48d4db6877a0807-a7bdd587b3d1de4e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "7aca2e6e056f378c5f5710447b50e9c9", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2f0e444a-495c-4a16-a552-92bcf60ab00e", + "apim-request-id": "1b85b214-f836-4425-b7fb-87114fa845d4", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:11 GMT", + "Date": "Thu, 27 Aug 2020 23:17:17 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86" + "x-envoy-upstream-service-time": "106" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "1624647033", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithOpinionMiningTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithOpinionMiningTest.json index ed0eb839ea884..9861c90816223 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithOpinionMiningTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithOpinionMiningTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "197", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-11a48b37f30115488a29a0e162d94764-4bc31abb326ef24c-00", + "traceparent": "00-95cff41db4e02348aeb55f85e2cb9c13-8a38693fcc76564b-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "ed0d70a441b79d5b983d6b4403d45b0f", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0a72088d-9d92-463d-8d6a-9960006b3a41", + "apim-request-id": "fb003552-06d7-4268-b4db-3fde6ed8b9f7", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:04 GMT", + "Date": "Thu, 27 Aug 2020 23:17:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "174" + "x-envoy-upstream-service-time": "117" }, "ResponseBody": { "documents": [ @@ -252,6 +252,6 @@ "Variables": { "RandomSeed": "1661649878", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithOpinionMiningTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithOpinionMiningTestAsync.json index 0917d56d20e87..88688c59b92ce 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithOpinionMiningTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithOpinionMiningTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "197", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e70bd628f373a444a38bd006e17fe816-813b0a784aa6d144-00", + "traceparent": "00-ff8889964e53a445b786552115d9429b-e5fe720dfbd93f44-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "d1327a22f43212ee6dadcb6413966ecb", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8e15e0d5-d6c8-49c2-9a86-f2a843367c1f", + "apim-request-id": "2820752c-025e-45e1-b01d-9e7d229a119a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:13 GMT", + "Date": "Thu, 27 Aug 2020 23:17:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "85" + "x-envoy-upstream-service-time": "124" }, "ResponseBody": { "documents": [ @@ -252,6 +252,6 @@ "Variables": { "RandomSeed": "1922826120", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithStatisticsAndCancellationTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsAndCancellationTest.json index 5cefc31fdc29d..4b0dfb3f700b8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsAndCancellationTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsAndCancellationTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-14fd8bd27d0f5543bf34ec542d6d2f12-3d10e2a0d2fe6d43-00", + "traceparent": "00-4f65338f88c2d943af559ed9c473f98e-373f8c1ae68a7141-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "a6417f006fa752e96600f228c7db64e0", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0e9bdd2e-7979-4542-8eb3-b2178cfa4a71", + "apim-request-id": "2feddc15-64ba-4812-a82a-aefa2890df21", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:05 GMT", + "Date": "Thu, 27 Aug 2020 23:17:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "97" + "x-envoy-upstream-service-time": "100" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "993481281", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithStatisticsAndCancellationTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsAndCancellationTestAsync.json index 29fd8efe65755..680308c419df8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsAndCancellationTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsAndCancellationTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c30b5b9fe4843848836d84652cd3275a-797cc31c73290f49-00", + "traceparent": "00-0fd7b5c8825f4e48865bff13e71c9a58-bd8d766a5497d144-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "5b6319a3c690399b9da1a33405705416", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "90e53b19-9549-46e9-97d1-fa5d195ad7e9", + "apim-request-id": "66a14c73-7f92-4f2f-8a59-8011021348fd", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:14 GMT", + "Date": "Thu, 27 Aug 2020 23:17:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "85" + "x-envoy-upstream-service-time": "127" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "130239598", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsTest.json index 80d77fedf44cb..0daf091d7fe92 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-5de9e3191609e5439fd7a8c7b576b753-bef2761ccc85e948-00", + "traceparent": "00-a8a674c19a26b145b3cabdbaabc9199b-f517d97cc52cb944-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "17ec55c0a84dd73d000a062a1817ddf0", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a4e23489-a6ca-4e13-afaa-50156ad2e15d", + "apim-request-id": "d47c2fb4-a430-4533-9ccc-66d39c926afe", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:05 GMT", + "Date": "Thu, 27 Aug 2020 23:17:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "81" + "x-envoy-upstream-service-time": "104" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "1999677929", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchConvenienceWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsTestAsync.json index 11e2123a3e0b7..c709d1f0c8fd4 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchConvenienceWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "222", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-2e4bb0222a4335478c34bb50ada774dc-9ba776caac2f9647-00", + "traceparent": "00-c3b782d010dbc549b37c6840b402039b-64392d6074e4d748-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "da2fb9e67d1e4ab6bab453ba74215dbf", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "aa46c101-5371-4c6d-8c76-cc84aa6b5749", + "apim-request-id": "278da063-0ca8-4bd3-8f50-f2a001075515", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:14 GMT", + "Date": "Thu, 27 Aug 2020 23:17:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "97" + "x-envoy-upstream-service-time": "101" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "1869430359", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchTest.json index 64237f169d62f..91a011ecd025d 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "224", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ce3f9f8b19cefc4b80c8c92e2b8e0c16-9fcbf9c4cd2e4045-00", + "traceparent": "00-093f738e337592458d2c92fbb36f0a05-6b3551bcbbcacf41-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8479acead5457b0ebd6d7bff6dd0a798", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7d4f2520-754f-4102-9dfb-49068dc2bb4b", + "apim-request-id": "239af802-9497-4e47-afe7-29c933b2e4d9", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:06 GMT", + "Date": "Thu, 27 Aug 2020 23:17:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "89" + "x-envoy-upstream-service-time": "109" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "92020506", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchTestAsync.json index 9272136b23f49..f0068fb72bc2c 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "224", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c131ecb83d2b2d4f82754c881ca6ef09-164875e3c614c54a-00", + "traceparent": "00-5841cf49b09ccf40a2d19be91465565a-bfb1dfbcf4436042-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "d174c8ab203d7953b05875c33a571967", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "aa0bc3af-aa8d-4678-8e5b-2b85e4361c24", + "apim-request-id": "002dbfe7-3ad7-4c8a-abd9-b63510532c8a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:15 GMT", + "Date": "Thu, 27 Aug 2020 23:17:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "109" + "x-envoy-upstream-service-time": "102" }, "ResponseBody": { "documents": [ @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "286881904", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithErrorTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithErrorTest.json index 0c186a2ecec68..19e285d655f48 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithErrorTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithErrorTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "207", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3a76574cd0abcc418ec23114bda2c50b-b6d778e1cc3a6d4f-00", + "traceparent": "00-3905edd207730b4fbf08adb4946a93c3-2297dff8b722b845-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "65684efd78abd8c78822092f34c17c5b", @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d61af5fd-b3ef-492e-bf73-36049a043752", + "apim-request-id": "d6441d4c-cfb4-449c-99d5-b3a1bd534701", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:06 GMT", + "Date": "Thu, 27 Aug 2020 23:17:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "88" + "x-envoy-upstream-service-time": "97" }, "ResponseBody": { "documents": [ @@ -118,6 +118,6 @@ "Variables": { "RandomSeed": "1594866243", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithErrorTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithErrorTestAsync.json index d8a6da6abaadb..2d6daf7e8b17e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithErrorTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithErrorTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "207", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-b13e571e8702b84db89f5e165bd1a1c1-dc8bf1ab9b12f646-00", + "traceparent": "00-637efdaf6ed8dd46a568eec92ad88dd9-715a7a4b3c8a5641-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "ab19f4e813d43f705e2368629c8b8e23", @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "47e01dd0-16cb-4642-9cea-53045700e8c3", + "apim-request-id": "e6ee0450-a4a2-4fd3-a828-42b1a0358278", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:15 GMT", + "Date": "Thu, 27 Aug 2020 23:17:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "84" + "x-envoy-upstream-service-time": "99" }, "ResponseBody": { "documents": [ @@ -118,6 +118,6 @@ "Variables": { "RandomSeed": "1710653831", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithNullIdTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullIdTest.json index 7536d51c93e68..a4ff2975953a8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullIdTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullIdTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "64", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ef8cdac64f7c6243a949086b3667e9d8-26b76e413838b642-00", + "traceparent": "00-d9bbf4f217cc644fbc09436c18491328-0e20868fc3e12846-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "6e4ac7be9c26c6aed3eb778f7cc6dbed", @@ -30,9 +30,9 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "1a6e211e-4c7c-435d-ac2b-4de7591db53a", + "apim-request-id": "6d02abb0-cde9-4c33-8449-cc04ffa7fa44", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 26 Aug 2020 16:48:06 GMT", + "Date": "Thu, 27 Aug 2020 23:17:10 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "357138695", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithNullIdTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullIdTestAsync.json index 1fddb623405c7..b32e2da8273a4 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullIdTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullIdTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "64", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ceb6a2d5385d0946ae666e4719067b68-bf5ced24e206c649-00", + "traceparent": "00-80949c102f0c1649a5815b4ca08a7702-11d5df1168525647-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "0a776a922d11e0ba04a3660c6245d188", @@ -30,9 +30,9 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "be2dc2e9-efef-4e4f-987a-10018e02e581", + "apim-request-id": "219f8129-b25e-4455-8a01-af9bd96ade6c", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 26 Aug 2020 16:48:15 GMT", + "Date": "Thu, 27 Aug 2020 23:17:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "1087912863", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithNullTextTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullTextTest.json index 7ce0895cc6491..03daf399eb581 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullTextTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullTextTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "54", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-2301136f16c4b64bb1c18ef74b6c150c-9fc6b75f3024f041-00", + "traceparent": "00-d272a86bbae1bc4ab2cabb7bef1a4d3a-a49deec353327542-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "ff7b57ae9e5ae01669c42af3956579b1", @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fd8a07f6-ce22-4e93-af35-55ee46beae5b", + "apim-request-id": "d5b53ba3-613e-4235-be65-bc79c3abc1f6", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 26 Aug 2020 16:48:06 GMT", + "Date": "Thu, 27 Aug 2020 23:17:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "743239613", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithNullTextTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullTextTestAsync.json index 467b8b0dec334..58cad0e807f5f 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullTextTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithNullTextTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "54", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-5c68e0954881914d93bab51297e91812-91d87a2768801943-00", + "traceparent": "00-2ffba7d6fe36ea4d9233f36a156cb680-3af364268a575742-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "6b40e209e3f10531937f48e2e6fa453c", @@ -30,13 +30,13 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "901f4621-e4dc-4659-a419-e2e6176fb9c1", + "apim-request-id": "4a6026f0-327d-4b49-af2e-2acc59887d8f", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 26 Aug 2020 16:48:15 GMT", + "Date": "Thu, 27 Aug 2020 23:17:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" + "x-envoy-upstream-service-time": "2" }, "ResponseBody": { "documents": [], @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "4341640", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithOpinionMiningTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithOpinionMiningTest.json index 6324240837729..34cf70fea56f9 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithOpinionMiningTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithOpinionMiningTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "197", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-05adc0ec66470740a0521b143583cbc3-a7666bdbc3746744-00", + "traceparent": "00-8c44c650572b1a43a54cab0007307d48-dafe9a7ec4b43644-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e16b87c291b1116204554396fc08861e", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6c2e3e9a-3837-4a33-9a50-55dd59d95171", + "apim-request-id": "443a1cb5-1197-4513-9472-bbe7d0952796", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:07 GMT", + "Date": "Thu, 27 Aug 2020 23:17:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "93" + "x-envoy-upstream-service-time": "104" }, "ResponseBody": { "documents": [ @@ -252,6 +252,6 @@ "Variables": { "RandomSeed": "1049128749", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithOpinionMiningTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithOpinionMiningTestAsync.json index 78313e274d0c2..cc5103d11c68e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithOpinionMiningTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithOpinionMiningTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "197", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-bf303898886fce4bab1f6f73327bc4af-441d0254aa7b5046-00", + "traceparent": "00-48cbfcaf1295c24db3569de41a060489-bb21182badff5e42-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "d2b21acce3a0b62a8d6b99372ad1e78c", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "70e0962f-5365-446d-98ea-d97e349ab315", + "apim-request-id": "32138a8d-c60b-4423-bc03-53bc18a59fff", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:16 GMT", + "Date": "Thu, 27 Aug 2020 23:17:18 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "111" + "x-envoy-upstream-service-time": "105" }, "ResponseBody": { "documents": [ @@ -252,6 +252,6 @@ "Variables": { "RandomSeed": "394529441", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithStatisticsTest.json index ef221e6acc67e..5303e17a4d098 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "224", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3776da8584e9d94ca3ccc59ba6a62a82-74edd4074a10914d-00", + "traceparent": "00-a7a33c47b55bad4991855c9b675d6c0d-c1ea205deaf16449-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "aee02b4259146d983f89b05a4810a496", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6c6325f6-cb6e-4009-9f4b-ec56a1311ffd", + "apim-request-id": "2c23ba12-8f72-4667-847c-c165429211d7", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:07 GMT", + "Date": "Thu, 27 Aug 2020 23:17:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "107" + "x-envoy-upstream-service-time": "112" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "454007582", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentBatchWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithStatisticsTestAsync.json index dcff2bb4b55fa..f7a6939ca34b8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentBatchWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=true\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=true\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "224", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c4a0c50ac2fd0d429baabc555e1c7d4b-cddd2f5d8e145444-00", + "traceparent": "00-96985a1dfb6d774b9c8c0283489c9d9d-1c3fb6f737f1ca49-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "4b55c68d669ce524ccb7ff4ef6f574e4", @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8205cb51-1b18-4005-8227-a4397d737aa2", + "apim-request-id": "b587ca8c-67d0-4dfc-87a0-938265544f56", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Wed, 26 Aug 2020 16:48:17 GMT", + "Date": "Thu, 27 Aug 2020 23:17:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "114" + "x-envoy-upstream-service-time": "111" }, "ResponseBody": { "statistics": { @@ -137,6 +137,6 @@ "Variables": { "RandomSeed": "1196844904", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentTest.json index 1be1a6239ac04..956c4b9afdf50 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "85", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-eb28d2190fc109419ad95c9f0d9427cc-594f91dbe57b074b-00", + "traceparent": "00-aa2774c5adb49143ba337a0d68c24188-566ff6dfe80d7f49-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8c4c704653f0fc6bfe188a3209258473", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6f0f3f3b-62ad-4c49-9874-eb540dd49c75", + "apim-request-id": "4e63f838-555a-49f2-aa42-50967b64fd9d", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:07 GMT", + "Date": "Thu, 27 Aug 2020 23:17:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "99" + "x-envoy-upstream-service-time": "98" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "1863375381", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentTestAsync.json index c4de7d9e0ad7f..39eb1d482c85e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "85", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3e7b5e4bacbdbf44b6f387482b35eb7f-31fc204cb6985946-00", + "traceparent": "00-3be5d665d21702448c60d15261bcfe6f-3f48511535f09640-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "15604d360174b1a44fb57e34bb995064", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8642443b-1f9c-421d-aef2-bb0044afd3c8", + "apim-request-id": "30572044-9b1a-43c1-9474-98c9c7d44164", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:17 GMT", + "Date": "Thu, 27 Aug 2020 23:17:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "87" + "x-envoy-upstream-service-time": "104" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "768830390", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithCancellationTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithCancellationTest.json index f264212d930bf..436cd8bf7a852 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithCancellationTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithCancellationTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "76", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-5abfab643c184d48adb88026493132f2-237fca2ba5c2294a-00", + "traceparent": "00-e5fed9e7eb57b647a6e9e518a2ce1a02-627b07c5ba84024a-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "33ec8d48e4e11c0a750514210a0c8cf7", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3eeb2c35-994f-40b1-b78b-0d181cd889e8", + "apim-request-id": "94c0d767-79d5-4c80-82a5-46d00ad275c3", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:08 GMT", + "Date": "Thu, 27 Aug 2020 23:17:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "98" + "x-envoy-upstream-service-time": "99" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "562603342", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithCancellationTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithCancellationTestAsync.json index b441188a98dc7..51f008828e074 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithCancellationTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithCancellationTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "76", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-d352a5fa9d05b24bb0451382151a354d-42ce0ca4839c314e-00", + "traceparent": "00-2a359c2a1da61349aa06114cd24b692d-15d8d75552081a4f-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "daa28f2c76cb079c6b9f0c32a0b3b588", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "398e0390-2447-4ef3-9913-97a08c6690d4", + "apim-request-id": "e5a7dae3-be6f-4ba2-9cfe-7da61597d7a0", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:18 GMT", + "Date": "Thu, 27 Aug 2020 23:17:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "81" + "x-envoy-upstream-service-time": "94" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "1532060103", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithLanguageAndCancellationTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageAndCancellationTest.json index 8db43ba15beb9..b6f88917ed847 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageAndCancellationTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageAndCancellationTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "76", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-85043280a2975b46844a5515e05de061-ec79400e4b9fa142-00", + "traceparent": "00-4871c0d458940442a3f108ffb0ae09fb-1c1aa841eb7ffd4a-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "f07fe4634e8e4b19a56d5d53221b480a", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9c90ef2d-3b45-49ee-a5e3-4ce27dfee387", + "apim-request-id": "c578eec8-bda8-48ab-9e80-9a5c5ccd89d9", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:08 GMT", + "Date": "Thu, 27 Aug 2020 23:17:11 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "110" + "x-envoy-upstream-service-time": "106" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "845655692", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithLanguageAndCancellationTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageAndCancellationTestAsync.json index 5a3a7254a0b47..487973e012f32 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageAndCancellationTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageAndCancellationTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "76", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-5751df1be13a7c4c91ca4fa33da67cae-72f82073c052ac42-00", + "traceparent": "00-e20dd1774821074d801bb78f512d6e0d-52ef6e819ecc0846-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "085b85c90ad472718a9318a8a76a14d2", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "71e81752-281d-41e9-9030-d4fae23d1856", + "apim-request-id": "2567dc0e-d391-4fc7-8a30-96e62863eb1e", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:18 GMT", + "Date": "Thu, 27 Aug 2020 23:17:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "104" + "x-envoy-upstream-service-time": "107" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "645010229", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithLanguageTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageTest.json index d3785b5f5b25f..68b9f9d69646a 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "76", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-266c0fa3b8833840a0cab7fdea548061-79137f6f7af5234c-00", + "traceparent": "00-d74289a25843c7488ba40b8a25ee3ad1-23a9c375374f374a-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "41bf587b8226bfe5d2e3fef8eef6bf9b", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "91e5152d-77fd-4463-b03f-4dbf0a82819e", + "apim-request-id": "f1469341-7b20-4787-a181-a55015308adf", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:08 GMT", + "Date": "Thu, 27 Aug 2020 23:17:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "93" + "x-envoy-upstream-service-time": "119" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "1564931520", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithLanguageTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageTestAsync.json index 4cb3ab9cdfaee..496c1fe6e3705 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithLanguageTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "76", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a215b34f1f59e64fb2845156740e2bd8-91d3ec5f15c0ea4c-00", + "traceparent": "00-8b8fa53894999340bc546757a1912301-b01887d85eff3c40-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "11f67566d0905707792ab32186a02d0e", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ca6d0fdd-4d40-4d41-979b-8b97917c4ec0", + "apim-request-id": "d5007924-28da-4709-a2a3-8f15d7932ffe", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:18 GMT", + "Date": "Thu, 27 Aug 2020 23:17:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "278" + "x-envoy-upstream-service-time": "131" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "1269675162", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithOpinionMining.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMining.json index 535444e1e6415..1a4917faacd77 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMining.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMining.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "127", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ffd96a991aca1443a57c1f05f80faa90-8b6a108a1c4e244b-00", + "traceparent": "00-294f2c8f5b90ed4ebf25a93c7c62954e-632f3922a390fc47-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "d47308cdb653349122f13f116016dffb", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2805092f-47d1-401d-8639-1f8d77fbc328", + "apim-request-id": "1500808e-1f81-4a42-8b9d-7cfd0ea2b596", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:08 GMT", + "Date": "Thu, 27 Aug 2020 23:17:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86" + "x-envoy-upstream-service-time": "102" }, "ResponseBody": { "documents": [ @@ -177,6 +177,6 @@ "Variables": { "RandomSeed": "1083566983", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithOpinionMiningAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningAsync.json index 353f94087877b..d99067620f450 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "127", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-88e79b167a9fa8438bc5479acb28c381-f3438e00036c634f-00", + "traceparent": "00-dfad00109866024ebad9d42e0d57b8da-741c50b6a90e044c-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "f9cb2ba9c122452ad40b4e51d2986ad7", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "99618b06-043a-45f9-be38-f8bf17b02f97", + "apim-request-id": "ab8d5203-7d45-4bab-a372-e9c5aa79d434", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:19 GMT", + "Date": "Thu, 27 Aug 2020 23:17:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "85" + "x-envoy-upstream-service-time": "117" }, "ResponseBody": { "documents": [ @@ -177,6 +177,6 @@ "Variables": { "RandomSeed": "2060805169", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithOpinionMiningEmpty.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningEmpty.json index 8900bc4d46fed..92ac22ff88386 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningEmpty.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningEmpty.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "85", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3187fb9c6c45844087134775af69c373-b4642c89095b854c-00", + "traceparent": "00-bacc358984813249902a09fe17bd0cee-a484868cc8d9b340-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "1cf849efa12d8c772e8815b2f3c5500a", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "336c9a47-c502-4a8c-9b58-c5aa8a497f5a", + "apim-request-id": "3eb769ea-d5f8-4995-a395-503722ff3bbc", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:09 GMT", + "Date": "Thu, 27 Aug 2020 23:17:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "135" + "x-envoy-upstream-service-time": "196" }, "ResponseBody": { "documents": [ @@ -75,6 +75,6 @@ "Variables": { "RandomSeed": "1043094004", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithOpinionMiningEmptyAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningEmptyAsync.json index f34e1527a9cfa..b005e709654db 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningEmptyAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningEmptyAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "85", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c6e80029d9a1ef449d46f1339b8e25b2-4cc7ac22f8e42449-00", + "traceparent": "00-0aac268991869b4a8d64ec75de2e7ba3-40bb4c1718d72b42-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "5803f01bfa4da16870831399351ee9f7", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8061c8a4-7b04-4551-82ba-3d749a7a11bd", + "apim-request-id": "2379fc56-847e-4aab-a8f3-b87fca7af1d6", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:19 GMT", + "Date": "Thu, 27 Aug 2020 23:17:19 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "100" + "x-envoy-upstream-service-time": "109" }, "ResponseBody": { "documents": [ @@ -75,6 +75,6 @@ "Variables": { "RandomSeed": "1789472375", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithOpinionMiningNegated.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningNegated.json index 779961bc92454..582784c2a3c5e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningNegated.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningNegated.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "80", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a6f18eeb3356ff439935d94514b71683-183e59674abd8e4f-00", + "traceparent": "00-3cbf3fd0d2f15d4d8dcb88f36e76099b-d6eb1d74f8103e40-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "272f7774f6f7fb52e40817b664a279ca", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "90685976-5341-4594-8adc-6b83fb2e0ef3", + "apim-request-id": "e8824144-3f42-4af0-a3d0-286019b4b424", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:09 GMT", + "Date": "Thu, 27 Aug 2020 23:17:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "97" + "x-envoy-upstream-service-time": "125" }, "ResponseBody": { "documents": [ @@ -104,6 +104,6 @@ "Variables": { "RandomSeed": "425042415", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/AnalyzeSentimentWithOpinionMiningNegatedAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningNegatedAsync.json index b31d59150e4cc..f5876f8d266cc 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningNegatedAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/AnalyzeSentimentWithOpinionMiningNegatedAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://azsdknet-test-ta.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/sentiment?showStats=false\u0026opinionMining=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/sentiment?showStats=false\u0026opinionMining=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,9 +11,9 @@ "Content-Length": "80", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e5825a8d6b90dc4f869578602cd22701-4da8e98bbc49c740-00", + "traceparent": "00-bec6f0be924fa245b523891f98a95400-afa8c2cbd3924242-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200826.1", + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "3a4567f0137bc56b4f33e876c1eea097", @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4c48ec9a-e4a4-447b-ad9b-2d3322e7af3f", + "apim-request-id": "3e0a0f1c-5bee-4a27-aaee-10eeefdd644e", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Wed, 26 Aug 2020 16:48:19 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "82" + "x-envoy-upstream-service-time": "100" }, "ResponseBody": { "documents": [ @@ -104,6 +104,6 @@ "Variables": { "RandomSeed": "1792759432", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://azsdknet-test-ta.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/DetectLanguageBatchConvenienceTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceTest.json index affc362b67258..8ae8f0aac5253 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "177", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a8ed7ac1dcbdc349bc7b1366c20bc76c-eed792aebdb2b54c-00", + "traceparent": "00-dad2626723db434ebbbea24e5e3429fd-e335e83b7d23f443-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "914bc82dce49e41cba6a4367cbba9fcf", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1aa8ef97-0575-421f-9224-3b62f3ee388f", + "apim-request-id": "71d70fdd-2f33-4ec9-b866-da6bc7b77faa", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=3", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "documents": [ @@ -87,6 +87,6 @@ "Variables": { "RandomSeed": "2029319062", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchConvenienceTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceTestAsync.json index 6ee0249336ffa..1c14a91581791 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "177", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f6f0fd8fc170ec41909409d422f4531f-763eab468a68e946-00", + "traceparent": "00-74b064a36a9d654b9b3a1b7bdba56e3a-965e8aa377a6124e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "9e1f9c908de94dbf9e07c82c8e547218", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "90ec5d9a-1db9-46c4-9a41-d253c9b53a25", + "apim-request-id": "08961adf-e000-47d7-bddc-5995b60dba5a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=3", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": [ @@ -87,6 +87,6 @@ "Variables": { "RandomSeed": "1277759136", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchConvenienceWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceWithStatisticsTest.json index f6f36fd6b7d64..5bbcee284a288 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "120", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e5367bc1cc4feb488e3c7f08888c581f-9c0cae921975174e-00", + "traceparent": "00-a30781716c69344a99f1b7f1c8cdf64c-6997433151cdb646-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "80c454ed7fad46875685f885dcdb8ef8", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f1e4a030-67e2-4edb-8406-d74c14123859", + "apim-request-id": "ff258409-ddf7-41a8-9102-39a81eab5e08", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:12 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": "6" }, "ResponseBody": { "statistics": { @@ -87,6 +87,6 @@ "Variables": { "RandomSeed": "1220476601", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchConvenienceWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceWithStatisticsTestAsync.json index acccb2197cc54..973833adc5aff 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchConvenienceWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "120", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3d6cfa4a7133a443adce3f42fa6a60f5-605a641e80974548-00", + "traceparent": "00-bc484e32934aa54faeda4efb13816501-d6aa9ea2a310cb4d-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "7a898dfa02f943cd8a6abb5b13780393", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cb699559-5b3c-4ea4-8190-dfd2e9eace3a", + "apim-request-id": "bc1e6886-0f45-4f22-9e38-1e44ee572c20", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "statistics": { @@ -87,6 +87,6 @@ "Variables": { "RandomSeed": "987290320", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchTest.json index 9179d391baac3..f0f25e1c89bf5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "225", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ee34966194ba8640b591b322253e6147-2ad4639d1181b04e-00", + "traceparent": "00-fb52d158000c8e4fa9b929fbcacc21c0-d66cc494d9825a46-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "c671f93c0af0e5c4be4a4bc83cb194b3", "x-ms-return-client-request-id": "true" @@ -45,14 +45,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "17153453-c8c0-4d31-9615-bc6097ad60c6", + "apim-request-id": "d8738574-75cc-465a-ba05-7afc97ef9186", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:12 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": "6" }, "ResponseBody": { "documents": [ @@ -101,6 +101,6 @@ "Variables": { "RandomSeed": "1500983447", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchTestAsync.json index abfa845554ecf..95ecd8aaca684 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "225", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3d262dc8df1c09408ff9781940e7e36e-38fe51f5c54a9b4b-00", + "traceparent": "00-0acb11a3e3dc054099d21c9b2ebc12b1-1358c3d843b6aa42-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "0c8b6be01ca20b891b0d06e9f0301f2c", "x-ms-return-client-request-id": "true" @@ -45,14 +45,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a7579dd2-a7c3-4ed9-848b-93e116e4f4d2", + "apim-request-id": "1e3fb8fc-a2a8-485c-9c86-ef06fe6a7946", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": [ @@ -101,6 +101,6 @@ "Variables": { "RandomSeed": "1200704132", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchWithErrorTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithErrorTest.json index 1320fee3c8899..85a37b23af4f0 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithErrorTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithErrorTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "156", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ba3449ba196cf243afe108c8587ad5f9-b53d2a071b74664e-00", + "traceparent": "00-138f1b85e1953b4e8c6b47d07b1cf3d5-9335713f3393c643-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e0972675bfbfa84c6c6209e13f7730a6", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "efd0a120-ccfd-4332-a90e-7446b95dcb3b", + "apim-request-id": "72180f16-9763-4ddc-b757-059d043b32ff", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:12 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "14" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -90,6 +90,6 @@ "Variables": { "RandomSeed": "1961933966", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchWithErrorTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithErrorTestAsync.json index 498c4667b1213..dc3d6ec9a6409 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithErrorTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithErrorTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "156", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-6c6ec6e371204a429e96b9c8c4277ade-93f537c173241a4f-00", + "traceparent": "00-214390bf02dc87479956124509326c3c-9d74d646b6f81b4c-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "c735071118d3b70d3376223e2363354a", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b1b83b35-7534-4871-b31e-8ac806857a8b", + "apim-request-id": "f896f629-3016-488f-8cb2-fafc96ac795a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": [ @@ -90,6 +90,6 @@ "Variables": { "RandomSeed": "804958664", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchWithNullIdTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullIdTest.json index 307a26d4d139d..c017222c1a489 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullIdTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullIdTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "67", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-590c238299108143b009f51c0fbb79d5-45d26e2b3c21b940-00", + "traceparent": "00-0f067dde6013b441b309dd70ae5c23a6-57908e161a2fc540-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "7f6f73c6d06dd1a82275221d1a0c6d59", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "dff923fc-2952-4f80-93df-98e2c2267228", + "apim-request-id": "86825f74-efd7-4db6-84a2-54fc3e8cafbd", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "1095465208", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchWithNullIdTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullIdTestAsync.json index 0643807f53479..15d47c6a7a2ca 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullIdTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullIdTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "67", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8ac3524b8fc1054bb1466a92a1750cd8-5ed1389b68e8a146-00", + "traceparent": "00-a5c8d462529bcf4d90401ecb85ea9d70-ad3622d925640b42-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "2ddf49c8be31af616b47ab79ee132141", "x-ms-return-client-request-id": "true" @@ -30,13 +30,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "c9f680c2-c760-46d8-b659-ded0277c523e", + "apim-request-id": "70606f0a-c66c-40b9-9d83-bfa50ef4a228", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "4" }, "ResponseBody": { "error": { @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "130550458", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchWithNullTextTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullTextTest.json index 0e3865f533ee8..8e306f5df7fd9 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullTextTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullTextTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "57", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-b0c2595bfb04784997ded62c90c0603a-eb8f6ffb6260094a-00", + "traceparent": "00-a7e253abbc7d6b479dc9d57bea52a47f-dcaf783f479ba646-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e02424dc39e0f1eeb5c607560e5f7b82", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c6a303dc-48e9-44f4-8c84-dc18b299d7e1", + "apim-request-id": "118766ca-c6e0-49f5-bd09-94f00add432b", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "93526110", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchWithNullTextTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullTextTestAsync.json index 63046629c12bd..2d884f6e34820 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullTextTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithNullTextTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "57", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-48088ca78069594ca55c56259ba9f9d5-7267a5d713cd2746-00", + "traceparent": "00-557a680cd820bb4e9bfaef8f56310454-86daa9df36b52544-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "102789a0d3f16b6052eaf8641b307b7e", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "46c6e87a-4e2a-4a48-b75a-93d938076e2d", + "apim-request-id": "e808cbb1-ee81-4ddd-8418-f1f462b9b342", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "1170714343", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithStatisticsTest.json index 82596018380fb..f4ccaafa7100b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "225", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3779a239379b4840a0268b6882b70e6e-d38e306647b7f149-00", + "traceparent": "00-c05239017467fb489dbdb3c44e243b6f-21e77230c55a294a-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "d3aa49b9476dfffb9f773e6c1d6340a9", "x-ms-return-client-request-id": "true" @@ -45,14 +45,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0487a2ce-8ed4-4453-afcf-aacaf5dcbd14", + "apim-request-id": "3d5321c2-79be-4299-a6fa-e33a612c4d70", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": { @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "1088584350", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageBatchWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithStatisticsTestAsync.json index 8e708c5c8591b..0e9ef497c98a9 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageBatchWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages?model-version=2019-10-01\u0026showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages?model-version=2019-10-01\u0026showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "225", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-84ea3e428db02d4ca2e2b029714f7338-f1e7afdedfbceb40-00", + "traceparent": "00-a973a4f1ac0a7143b100ee9db9c6a130-bbdd385f955eab44-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "0cb0967cdfeeb2ad634e47eae4364eed", "x-ms-return-client-request-id": "true" @@ -45,14 +45,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d864b6e4-f026-4b6f-8771-ecefc9776312", + "apim-request-id": "2d949543-7030-42ec-b271-6d2b0d1e0b62", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": { "statistics": { @@ -123,6 +123,6 @@ "Variables": { "RandomSeed": "36794140", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageTest.json index 83042b97106a7..57f693261d46d 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "82", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ec7ea3de3bc13a4dbd3daa906739aab8-50c49920a2d22549-00", + "traceparent": "00-2e6b3ce2b724b74dbae40ef3e49a0eec-72e723766a584546-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "36b147e351f1909c5659e4fbe991eeba", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e268dfff-87ea-463d-871d-b49d34556e37", + "apim-request-id": "a9f729ef-2b3e-4c62-b5a6-75d96e710570", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "14" + "x-envoy-upstream-service-time": "8" }, "ResponseBody": { "documents": [ @@ -59,6 +59,6 @@ "Variables": { "RandomSeed": "2130031783", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageTestAsync.json index 2cfbbd1b0dd79..2a5b856abbee5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "82", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9886c64ec638c240bc005dafdfe29be7-76baed6895a0bc4f-00", + "traceparent": "00-311351d1d77e174a9671055190b7cf64-053c619465334441-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "d1d0502c8322f815b1082c313ab172c6", "x-ms-return-client-request-id": "true" @@ -30,10 +30,10 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "35322133-ddd6-4470-9c32-977de663565a", + "apim-request-id": "7bb132f9-b5b8-4289-ae16-94118ce3bd27", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -59,6 +59,6 @@ "Variables": { "RandomSeed": "430074927", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageWithCountryHintTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithCountryHintTest.json index f4fad7a2fd46a..4ed202fefe330 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithCountryHintTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithCountryHintTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "95", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f0c9db0e7bb4ba409ac63f4afed3c087-bbebb516278e0c46-00", + "traceparent": "00-9bf05fbd7f95f24bbcd7c3763e57500c-36f72924d7f7b641-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "1507ae4f174d87bbe34c3242b0c40057", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d56b3de7-08e2-4569-a976-874fb368a688", + "apim-request-id": "42f2340d-99ae-468b-be66-cbe2cab62dbe", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": "6" }, "ResponseBody": { "documents": [ @@ -59,6 +59,6 @@ "Variables": { "RandomSeed": "1898129415", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageWithCountryHintTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithCountryHintTestAsync.json index c93c36a724003..f850a4414259b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithCountryHintTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithCountryHintTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "95", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3cb0709ab09be748991837e8e1ca8b42-94553aa100eedc4c-00", + "traceparent": "00-655f420782520a4aba31156ce1c551ec-bad6f7965d744d49-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "deded72e11d65bc2ed4cfb12c9bf877e", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7bda8d21-0e78-44b3-8a28-229920bd4f70", + "apim-request-id": "4b3fde8e-7429-4967-8791-44b564363a66", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": "7" }, "ResponseBody": { "documents": [ @@ -59,6 +59,6 @@ "Variables": { "RandomSeed": "2031698600", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageWithErrorCountryHintTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithErrorCountryHintTest.json index c45f9df9846c1..3e0260aaf73b4 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithErrorCountryHintTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithErrorCountryHintTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "101", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-50c29b52d701704e9da82a1fd6788c3c-4fbbcfbd9d298847-00", + "traceparent": "00-3e73dd3612e0af4989a6756f39bff2cc-afa5636c99f0144c-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "3a2394d17b2184f40f08b5d23c9e0bb9", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3d557e28-ef04-447f-ab33-64c4dea845d5", + "apim-request-id": "247233bd-ab00-4b49-8647-0dba81f11798", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "1228370084", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageWithErrorCountryHintTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithErrorCountryHintTestAsync.json index 529677c13a81f..9eab7433d5f3d 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithErrorCountryHintTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithErrorCountryHintTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "101", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c91ac4be1e4b524fa16cbf0d84a002c1-6f4d010390a6df4b-00", + "traceparent": "00-823b023c75dffd41980d5bfd9463b0b3-d7b5499afab34640-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "c88a9cd7932db60eeffc7f4bf96f3920", "x-ms-return-client-request-id": "true" @@ -30,13 +30,13 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4ee27b6a-01d9-4140-94b0-a168285df3fb", + "apim-request-id": "390b8b3d-79e5-4540-9908-213d4882619b", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" + "x-envoy-upstream-service-time": "2" }, "ResponseBody": { "documents": [], @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "1796471054", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageWithNoneCountryHintTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneCountryHintTest.json index 7dfe215d18c6f..441e1c8d5fca2 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneCountryHintTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneCountryHintTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "93", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-569b785955f92c428bbe4ab56af5b312-2a3028e4385ebb45-00", + "traceparent": "00-01a5471b38d762448b45df8b849b1dfe-b58d99938b8fb142-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "0cf55a3ad7b7e6d3e233c822e18fb92c", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b508fa53-a014-4872-afd1-aa5daa104a85", + "apim-request-id": "7aa2e71a-9776-46aa-affe-231004dec19a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:48 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": "7" }, "ResponseBody": { "documents": [ @@ -59,6 +59,6 @@ "Variables": { "RandomSeed": "1911433926", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageWithNoneCountryHintTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneCountryHintTestAsync.json index fec55fe2f469f..28a44b5db8fa5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneCountryHintTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneCountryHintTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "93", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f3261903c5491a40a9aebe7438e9e2cf-6ee53a6e72e7c744-00", + "traceparent": "00-9288f01f3597bc43a378b00f57d24417-77c316dbd4d35843-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "fd53760933b525b937759c147449f218", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "7ad5efee-66f8-4cad-836c-616f6b3f53bf", + "apim-request-id": "e2a743c8-0fbd-4ff5-82cc-bcc7210e566b", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "documents": [ @@ -59,6 +59,6 @@ "Variables": { "RandomSeed": "313780713", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageWithNoneDefaultCountryHintTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneDefaultCountryHintTest.json index cb53ecc4b3857..3e768a9bea429 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneDefaultCountryHintTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneDefaultCountryHintTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "93", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9196f4a1ed2fd44f9943322235c1f16e-1b738918444b6c48-00", + "traceparent": "00-22868981c4de744cb8d37876b512af4f-8b3a5abf17126a46-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "924809ed727505b6afeb25ded3df7ff8", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c0ccc462-842b-4251-880e-3d6988dd95a5", + "apim-request-id": "b4119b6e-abcd-4ad1-ba52-fac169864a8a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "7" }, "ResponseBody": { "documents": [ @@ -59,6 +59,6 @@ "Variables": { "RandomSeed": "1818401350", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/DetectLanguageWithNoneDefaultCountryHintTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneDefaultCountryHintTestAsync.json index 58ca4504d3a90..5e66ef41f5fbb 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneDefaultCountryHintTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/DetectLanguageWithNoneDefaultCountryHintTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "93", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9432b50c66c11745a641f605ecbbe97e-3479625a074c3049-00", + "traceparent": "00-7eed5517b87f0f439f29be7a56849988-7f5101984c6b8b43-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "35035f86d40a512dbcb44272119e0f11", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "bfcba24b-2df8-417f-abee-f06ff3665d56", + "apim-request-id": "5b4dc0b7-6c88-416d-b601-e1b451663fe2", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "documents": [ @@ -59,6 +59,6 @@ "Variables": { "RandomSeed": "509688857", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchConvenienceTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceTest.json index 188adbe22dd9a..f6a26b550b901 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "191", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-352d487149c9df4988ee31d8f67c6aef-fe5a007f00ddf346-00", + "traceparent": "00-2f6b9397260ae242b01d87c96557c67f-77b5251c4024a34c-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "c54f0191fec625eb878e6c175c28deff", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "dc280cb5-7b9b-4b06-858c-116a9751d084", + "apim-request-id": "66413312-da8a-4db7-91fd-f20db863a42e", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": "10" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "2092159227", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchConvenienceTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceTestAsync.json index bf81d9c607d0f..81f5935d52ccc 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "191", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-aeb646e6246155448485295683271084-feaa2880884c4746-00", + "traceparent": "00-adad887ab1dcee4ebbc7387dc6a1db74-89d2cfab850b6146-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8e5741dd6a55e201236aea56a7251561", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "31390c71-05b9-44df-8da2-40f0f5d242a5", + "apim-request-id": "feef98dd-f560-450d-995e-641e667a3d5d", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": "13" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "912408563", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchConvenienceWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceWithStatisticsTest.json index a6ee9b897910e..9ec90b0e9fa2f 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "191", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-69b13578ba45cc46b66a7299e8a36092-45b34aaa4da2af47-00", + "traceparent": "00-5d041a70cee3f54aa05ea7091bdabd4f-de54c2efdcea9543-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "d56aa61c333618f2ccabeb973a956f66", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ab61a05b-2454-4a19-8a4d-4925498ea7b6", + "apim-request-id": "d4e5d03f-dd24-48b5-bfc0-e28b28eefc5a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": "11" }, "ResponseBody": { "statistics": { @@ -87,6 +87,6 @@ "Variables": { "RandomSeed": "1624024407", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchConvenienceWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceWithStatisticsTestAsync.json index f0362cb66b78e..1d88782e27730 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchConvenienceWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "191", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-bc6b18d24db01a4b847032384701a462-6d66ea1e25838741-00", + "traceparent": "00-ad045e6e8a73614793b3b32cc3b2f934-4e9c1efd03936a43-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e310a04a0ad5f7d16b24d8670e7126df", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a1f35c0d-0344-4da0-9e82-e613f30e7d95", + "apim-request-id": "ddf52b0c-6931-4f9c-b342-4f333598247a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": "10" }, "ResponseBody": { "statistics": { @@ -87,6 +87,6 @@ "Variables": { "RandomSeed": "794914378", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchTest.json index dbf66829817a0..f5cf6c875ecc6 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "188", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ebc50e3c4f6eab4484015157769259b0-f7d5deb71777ba49-00", + "traceparent": "00-e961ce640ee1584185f5f6c6fc244757-59c578faa34c4746-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "ef078b96747415ac685a6b46aad9d8c3", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0a640486-7d46-4a65-ac11-b279c44252cc", + "apim-request-id": "212aed12-f260-44b5-bae9-c50378f06362", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": "9" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "1774593507", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchTestAsync.json index f2cdc06cd4ca7..35a83946c2f25 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "188", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e03bdb06c97849419b05e6afe7350e82-ff501efe42a5b14b-00", + "traceparent": "00-9c2695eb39a16042bacf96b2ad82bbb7-73d632d81f16494d-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "63cb82583c2a88285d4ae8d7e739b3b0", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6fb35df9-9e7f-482d-b8dc-b834d2ebb649", + "apim-request-id": "db238b60-e0fc-49f9-bd0c-f5638e3bb88e", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": "10" }, "ResponseBody": { "documents": [ @@ -73,6 +73,6 @@ "Variables": { "RandomSeed": "2048089664", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchWithErrorTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithErrorTest.json index 6defea68c2657..ce11faf6ef644 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithErrorTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithErrorTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "217", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-5b055974591e12429e9a251a16c19c28-21df71db9c032448-00", + "traceparent": "00-7565879cffe0f34d84a80e8ad6ccdf88-75ec5e6ba8eeb742-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "1f94a0d5a668d181a6dbd88650ec9cd6", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "dad703ad-1c28-4c06-ac0f-de349dbc7c09", + "apim-request-id": "e344ef75-9ce9-4c63-8db4-79d0a6622ae8", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": { "documents": [ @@ -89,6 +89,6 @@ "Variables": { "RandomSeed": "1391992895", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchWithErrorTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithErrorTestAsync.json index df625e4e9e3d1..4c8737cc1d248 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithErrorTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithErrorTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "217", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8c8174bc4a72244fa16e690acdcbf1f4-b6cbcd8a5707584a-00", + "traceparent": "00-d51f7cffd1d76b4fb262772433051512-1d3d031687479e4c-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "fa792cb9b402586aaed41cf340711303", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "619bf698-a1e6-4fea-86c0-2f1c30ad4983", + "apim-request-id": "a2074449-1722-4002-8302-b90608d32670", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 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": "10" }, "ResponseBody": { "documents": [ @@ -89,6 +89,6 @@ "Variables": { "RandomSeed": "1752379634", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchWithNullIdTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullIdTest.json index 5680da716460f..19dbd1de26dd0 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullIdTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullIdTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "64", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c4d9c7471b66754e9042aa5afd1cfb72-e19ce9e811336c46-00", + "traceparent": "00-af0422928f6f8049b409926b80c153e3-e6837c4832605a41-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "2b469bc6803c7f2fe4a2efe949e037d3", "x-ms-return-client-request-id": "true" @@ -30,13 +30,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "c981ed27-9151-4ec0-a7c0-eea252c53cc0", + "apim-request-id": "782b3932-9aef-453a-89fa-149b26719099", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" + "x-envoy-upstream-service-time": "5" }, "ResponseBody": { "error": { @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "204484173", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchWithNullIdTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullIdTestAsync.json index c096ed8a22c38..5db6fad6144de 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullIdTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullIdTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "64", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-2d9ed6dfa8b2c94dae71dcb44f1cf25c-17e2735dcb6d1548-00", + "traceparent": "00-728b8dbfb1f3fd4b80a03a5d239d0a4b-da20899bd409d54f-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "81c3ed01c6751333b58e2370fc09dc7b", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "f3381c15-c2be-4750-a8fc-4812a897e209", + "apim-request-id": "fbad43c1-bd78-400e-b73e-a0661752d8ed", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "2095332988", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchWithNullTextTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullTextTest.json index 901884b93437f..cf63d47434d4b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullTextTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullTextTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "54", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-15559d71d902ce4886050269eaed6d51-12a295e1efb74a48-00", + "traceparent": "00-f2beea7d743f054e8a35e27e451d673a-397894dd3e1def42-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "578fe93647898ca21df6c5722a29986f", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "15b910d7-487c-4671-93eb-72070f791194", + "apim-request-id": "20c1c2e8-5608-4a66-b0da-72d67a0c80ff", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "1537540539", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchWithNullTextTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullTextTestAsync.json index 7e2fd1895b826..de5376be9525b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullTextTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithNullTextTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "54", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e29ee15e28f1fa4686e5589fe6ca74b6-5b2625a809c1fd46-00", + "traceparent": "00-16d641c6f0772d479aa9187ac61a64fb-a44e774755b8154d-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "09aa48a753a0215b2327e422df86844a", "x-ms-return-client-request-id": "true" @@ -30,13 +30,13 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "3eeb63e8-6fbb-4c7f-b651-acc7d421a65b", + "apim-request-id": "0c00fdc3-f8ec-4cf2-adcf-3319e3abd9c5", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:20 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1" + "x-envoy-upstream-service-time": "2" }, "ResponseBody": { "documents": [], @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "284528488", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchWithSatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithSatisticsTest.json index 1e9ccd6ba271d..e553d351d50b6 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithSatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithSatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "188", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-61c18a6f9f68bc49b9654f887db290f2-e52c75c455ba4d42-00", + "traceparent": "00-72aaacb35a681744b8a7822b78781c67-17118b5695966641-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "51b01516b9e9b99ac91ad6bb2fe2060c", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f03e4697-4d70-4049-bd47-b9e884114087", + "apim-request-id": "453c31ed-a756-43b7-b927-cd9bc52aeaed", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": "12" }, "ResponseBody": { "statistics": { @@ -87,6 +87,6 @@ "Variables": { "RandomSeed": "2068179637", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesBatchWithSatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithSatisticsTestAsync.json index a52ef82b5f2ae..1c102346933dd 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithSatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesBatchWithSatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "188", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f80f583f74692a4b9480d35d8590b345-02990c3a28387845-00", + "traceparent": "00-729f67b7ceeb5848afea6f3b92b4652e-58fc365de0390643-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8bcd93f72d672956da7ad3b4de42f9cb", "x-ms-return-client-request-id": "true" @@ -35,10 +35,10 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "a4e788e1-57e2-41f0-b247-88130289ece3", + "apim-request-id": "89e3d459-c03e-42c8-95d8-bd7d0e5e03ca", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -87,6 +87,6 @@ "Variables": { "RandomSeed": "496452409", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesTest.json index 6e674cd5a7bf3..5b9276fa1cd54 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "92", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-b3963c26f62337499c6e544ffa62aa82-3e7df6e94493c841-00", + "traceparent": "00-eabb90ff96df1f4cad2a876227101ca8-d4dc6a6e76f8bc46-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "48bde2e4b5e8b612fa45a70825ca7b1a", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "ad4de0b2-fae3-447f-8c1a-bb8fa3a8a528", + "apim-request-id": "e37a95e1-814f-4868-bcbe-5e06f4e6b85b", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": "12" }, "ResponseBody": { "documents": [ @@ -58,6 +58,6 @@ "Variables": { "RandomSeed": "1915363258", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesTestAsync.json index 9db25e8c5fff1..d3f1499c5a220 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "92", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-1ee00e9df912b44ea74462d7da4722fb-678d8547291c4c47-00", + "traceparent": "00-ab55f192f41e6941acda5db4f0a71275-9c015f20b8781945-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8559382578bb2ef19b9bcf6a037e172f", "x-ms-return-client-request-id": "true" @@ -30,10 +30,10 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "39e9411d-510a-499a-91b0-4e2fec20f05f", + "apim-request-id": "1024ee76-7c25-43b3-b43f-5a0745c5067c", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -58,6 +58,6 @@ "Variables": { "RandomSeed": "1330909548", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesWithLanguageTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithLanguageTest.json index cdcff2c6bbc78..1fa7b3dac0691 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithLanguageTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithLanguageTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "88", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-3918266806185b48a33b5a5b3aa4b6a4-262511e74f723644-00", + "traceparent": "00-c0c09a936ca75540865348e840d719e6-4c98d9b79e20f946-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "7247bbaf09eee5e5e6f406ff7c17e20c", "x-ms-return-client-request-id": "true" @@ -30,10 +30,10 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "30d98ee1-d62e-4675-be61-dd14167895f8", + "apim-request-id": "3ed93070-0ce8-46b8-bb32-1e02578f36e3", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -58,6 +58,6 @@ "Variables": { "RandomSeed": "579110148", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesWithLanguageTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithLanguageTestAsync.json index d305ee43135d5..579f339a6b3c7 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithLanguageTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithLanguageTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "88", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9fb317b1f1b0d64fa9ad4d9d10162e37-0d521a9c7eda1e46-00", + "traceparent": "00-b371ddf695b623498d81edd9ec3b98a4-cf008b33b5335f48-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e551d8114b9e8ab4cf548d21ea063f29", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "51bb63ed-5f9c-4cae-96df-77a03f6d3a74", + "apim-request-id": "94037fdf-6bad-4f14-a1d5-135b418d974c", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 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": "8" }, "ResponseBody": { "documents": [ @@ -58,6 +58,6 @@ "Variables": { "RandomSeed": "421135054", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesWithWarningTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithWarningTest.json index 266cf7ac27297..9303bae570726 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithWarningTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithWarningTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "180", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a1a3f3ef2cec7a4f8a2627f28eb65611-b06ac0f3fd210a4c-00", + "traceparent": "00-14f5c66ab7a289428c95c495da29ffc2-7b5f50e33723844e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "c1114d59d0530dcf755150fc283a2537", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cf6eee7a-c53e-4971-8b7e-fb400ab6f9eb", + "apim-request-id": "a2e5c97d-2e9b-4ccb-ad57-6e73c5a1f0fc", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 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": "10" }, "ResponseBody": { "documents": [ @@ -64,6 +64,6 @@ "Variables": { "RandomSeed": "344773770", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/ExtractKeyPhrasesWithWarningTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithWarningTestAsync.json index fe82e12af1871..99074f50cd58a 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithWarningTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/ExtractKeyPhrasesWithWarningTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/keyPhrases", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/keyPhrases", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "180", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-1d6140dce94be54bbad82afa73af5e61-a2de61a2ed38584d-00", + "traceparent": "00-0faf51e45ad0b048849c7e924c7ac732-c1aa2c0ffe15c64a-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e7b0961d52b4de12c6b417fac3e9c57f", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c232b2a9-907d-4a48-a181-211bcf11ea9d", + "apim-request-id": "0fd034e6-7be7-4a7d-bbbc-77e7902e9ff3", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:52 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "10" }, "ResponseBody": { "documents": [ @@ -64,6 +64,6 @@ "Variables": { "RandomSeed": "1254603912", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchConvenienceTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceTest.json index 55967090ddfc5..ac9a8327a3240 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "191", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-6ad5cf764d4d254ca67ad4d782505869-e01c058ced14b041-00", + "traceparent": "00-e7787001ef94b94f96d7d5e05ac94f84-eddacc899389a345-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "5d0270d542a9b258c6540948e3fcf907", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1bd9f315-fa01-4892-8bc8-f59db3d99f69", + "apim-request-id": "036dbb74-c17a-4988-a7c6-7517d4ba4364", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:13 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "83" + "x-envoy-upstream-service-time": "81" }, "ResponseBody": { "documents": [ @@ -95,6 +95,6 @@ "Variables": { "RandomSeed": "1395959521", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchConvenienceTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceTestAsync.json index c6f9a58b8e984..61aadf8272e6d 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "191", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c0e4c9e69bac004589cb9adcd03b1456-a2dfcb8eae36af49-00", + "traceparent": "00-27fef6306019f646b405537ded168c58-8c6d1797707ebf44-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "2d4e470e6e3d96eda4aacdd44cae9100", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f6c471e3-cc8b-4715-94d4-767dd1e6e0fa", + "apim-request-id": "02ee7f72-0d11-4ee2-a6b4-6a3768263281", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "77" + "x-envoy-upstream-service-time": "79" }, "ResponseBody": { "documents": [ @@ -95,6 +95,6 @@ "Variables": { "RandomSeed": "1745135522", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchConvenienceWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceWithStatisticsTest.json index f284386c6a691..977f75c87efe7 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "191", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-0d6e4ab80ff5d741a71e532050dc63c5-5e2a429a7a91d449-00", + "traceparent": "00-86f05cf358658949ab409718b32d5d34-8c97158ea699eb4e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "ff4be27d75c93d758603df58d2422daa", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c50313b9-bd5c-458e-9fb8-52b3997eb684", + "apim-request-id": "c090231d-6d55-4c0e-9cf4-1fd9bd99b6df", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "102" + "x-envoy-upstream-service-time": "88" }, "ResponseBody": { "statistics": { @@ -109,6 +109,6 @@ "Variables": { "RandomSeed": "429831713", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchConvenienceWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceWithStatisticsTestAsync.json index 8f6ab6b2f0c56..5eee715b22076 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchConvenienceWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "191", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-1c71c0f1b83ea14e890f81f734640239-248b3278b8047b42-00", + "traceparent": "00-8d078ad6e4d1a14f972da3a7c27e1eff-524cd3ffed19fe43-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "07ad8bb706cb4368bd23a6c1ecc7d5e1", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c9a9cb2f-e85e-423f-b19b-8aea734cd7e1", + "apim-request-id": "cf5d7f96-0607-489b-b812-79f4373c116a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "80" + "x-envoy-upstream-service-time": "79" }, "ResponseBody": { "statistics": { @@ -109,6 +109,6 @@ "Variables": { "RandomSeed": "1538596289", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchTest.json index e9fb439000faf..a5f48f3c043f6 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "188", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9cef1a944225ed4c9ae6561670661b91-4367ee3f3304a24d-00", + "traceparent": "00-c5308de4d49bda4d93bb2ff77240b342-1eb3024648617047-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "1c4a6dd96bbd6f88ca57be2176dfb3b8", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "f2a3557c-776d-4a0c-8519-3a7d057705c0", + "apim-request-id": "c57b3125-570c-495c-9567-bbbc21af7ac4", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "87" + "x-envoy-upstream-service-time": "106" }, "ResponseBody": { "documents": [ @@ -111,6 +111,6 @@ "Variables": { "RandomSeed": "62484034", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchTestAsync.json index fae6431a2ed55..14d34cf755032 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "188", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8295747463762645b971056d161c3f69-635c16d2571fdd47-00", + "traceparent": "00-d80fb8827a64fd4f889524c0ed76dc83-d3c53a80f0a70e4a-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "3a4de4795c4fdedefff258882dacd208", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d653101d-270b-432b-a665-1cf38ecd6451", + "apim-request-id": "ea16150c-2ef1-440c-a1a5-5a01a0504f6a", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "75" + "x-envoy-upstream-service-time": "112" }, "ResponseBody": { "documents": [ @@ -111,6 +111,6 @@ "Variables": { "RandomSeed": "1947220539", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithErrorTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithErrorTest.json index df09a187bf12d..e06bc9889d264 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithErrorTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithErrorTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "217", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-39c207cfa0029941ae1e7c8d4e5a9d5c-9f49aa15df0e7a4c-00", + "traceparent": "00-bf001b6e203f2442b34ac3557f782f97-49d05a5c395f5049-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "3ff95858c19275f33d23070f9ab76ce8", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "50cdc887-e39c-42b7-8792-c02b3b5436d4", + "apim-request-id": "6ad1def0-893d-47d3-a011-f163850979dd", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "77" + "x-envoy-upstream-service-time": "73" }, "ResponseBody": { "documents": [ @@ -112,6 +112,6 @@ "Variables": { "RandomSeed": "1784295012", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithErrorTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithErrorTestAsync.json index c183d6c74376c..665a235e3cf49 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithErrorTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithErrorTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "217", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-6a459a8e72f54e4ea1e11209576d1683-598b05275273ec46-00", + "traceparent": "00-cac0fbe76f3e76499e9090818c1facd2-8ab05b003430654f-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e3f1ecf4efc6a209650b9e605228fe76", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "e2063acd-80a9-4cdf-8fec-1da5b53ef863", + "apim-request-id": "a47f986a-8adf-4370-99fc-0134d107322e", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "75" + "x-envoy-upstream-service-time": "78" }, "ResponseBody": { "documents": [ @@ -112,6 +112,6 @@ "Variables": { "RandomSeed": "118852258", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithInvalidDocumentBatch.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithInvalidDocumentBatch.json index f9e8fe9b20c7b..d9809f6297159 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithInvalidDocumentBatch.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithInvalidDocumentBatch.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "297", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-a8d8890594674f4d97faafea1987052e-513d2047a5b46c4a-00", + "traceparent": "00-405f1b56b257074d8a9f3dff68fe33a1-4576ba5e8e1a7041-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "d44a3eacd4647966beab4f078d164d7a", "x-ms-return-client-request-id": "true" @@ -55,13 +55,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "c6d2235c-e19b-423b-a56e-7c55fe17c275", + "apim-request-id": "bab843e3-ca71-4e6c-84f4-633b3b6b1ea3", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "4" }, "ResponseBody": { "error": { @@ -78,6 +78,6 @@ "Variables": { "RandomSeed": "1608687665", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithInvalidDocumentBatchAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithInvalidDocumentBatchAsync.json index 66ce4eb41a569..5f9eae8072c57 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithInvalidDocumentBatchAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithInvalidDocumentBatchAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "297", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-dedbd731f6c6c042a82314169332d447-d74f78022b77e94a-00", + "traceparent": "00-ee02cafcdedf4748a64410dc575e2851-cddf894dae3ee24d-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "61bab9305b789cd5c62b896ba42cbf9b", "x-ms-return-client-request-id": "true" @@ -55,13 +55,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "1bbf1909-882f-4ac7-bb01-c68dcc87e68e", + "apim-request-id": "553749c4-975c-4e69-bfaf-38172d8e7191", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" + "x-envoy-upstream-service-time": "5" }, "ResponseBody": { "error": { @@ -78,6 +78,6 @@ "Variables": { "RandomSeed": "767731057", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithNullIdTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullIdTest.json index 93f7790311ae8..e691e235bcaa2 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullIdTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullIdTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "64", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f130ba3c5792b74ca19099db7db49d56-374e9506bf14c24c-00", + "traceparent": "00-116462950170bf41bb60e9cdcdf8f6d3-04fe41ce729c3347-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "1cfd92bfb8a8fc0c725b043491155b6d", "x-ms-return-client-request-id": "true" @@ -30,13 +30,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "b85e19bf-21e8-4ced-b567-05a4e0606914", + "apim-request-id": "a14a6bb2-04dc-44b7-998f-5ab836fd7909", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:49 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "3" + "x-envoy-upstream-service-time": "5" }, "ResponseBody": { "error": { @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "511886477", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithNullIdTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullIdTestAsync.json index d9268a5cae8a0..2fd155a4559a8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullIdTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullIdTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "64", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8f3f52a141e0c14ab63e6b9a4a15d369-f7de315e96371441-00", + "traceparent": "00-49bf30d28c4f224695c88d38bf569831-db59df4333fc3849-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "70c7682c6993c6373fc88417b605279c", "x-ms-return-client-request-id": "true" @@ -30,13 +30,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "c970c9a7-5785-410a-99bb-a454d7f862cc", + "apim-request-id": "3483309c-2367-4eeb-afa0-6d466757ba7d", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "4" }, "ResponseBody": { "error": { @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "997316433", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithNullTextTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullTextTest.json index f882a1f4f67d0..7665f170199c5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullTextTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullTextTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "54", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-2dd4d1fd01eaff4fb15dcc8b5785f5cd-0524dbfa9dbbe744-00", + "traceparent": "00-fe163c02b9a35d44b4da2cbd5ccd38ff-35580be78e6a6a47-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "c113a4785670c1c3b9aab86779353194", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c77284e3-0f36-434f-8f6b-5a6020487d6c", + "apim-request-id": "028840bd-497b-4840-a0d1-7b0ad53a45fb", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "147385865", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithNullTextTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullTextTestAsync.json index 0d55af4a9f311..34f0f4b12859b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullTextTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithNullTextTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "54", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-664f54a473919044be786b52c99986c0-5f3155fe2e30794d-00", + "traceparent": "00-e68ee45cff93a44383270dd1df1f03e5-01c67f776f1b934e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "4b85709c603144c25519f784c0eae867", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0f3c9881-ffa6-4a44-b671-8fbcb21ab4de", + "apim-request-id": "d83a416d-8e41-42ab-a435-b9bc1f2db03d", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:21 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "2020740025", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithStatisticsTest.json index cfd47a7894251..413cea54c3a94 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "188", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-23a816fe025718499dc0005713eb4cc8-28b636a5cc366a44-00", + "traceparent": "00-94b5cb3274c52a42aedf08c6486bc9fb-dbb09241e4ef4042-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "6f227d9e516f56f6910180d80b03554b", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "8f472eb4-26fc-4641-8b2d-0fe738dc9e9e", + "apim-request-id": "5b141144-2839-4668-8efa-2d605689eecc", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "161" + "x-envoy-upstream-service-time": "116" }, "ResponseBody": { "statistics": { @@ -125,6 +125,6 @@ "Variables": { "RandomSeed": "982730472", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesBatchWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithStatisticsTestAsync.json index 14ec988037079..3caf64885f4f3 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesBatchWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "188", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c5dac590d13b90429850f11e46550d46-0a430c49b81f6048-00", + "traceparent": "00-78b8e53ac77864458509058ec8a00a6d-30acdd61635bdc47-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "0d99a72c2fff12d7dbc5c35fbc35fc7e", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "cfb43022-f4bd-4409-99bd-0b83d4304b4f", + "apim-request-id": "02cd418c-1ade-49f0-83c1-9f1c996b7a12", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "226" + "x-envoy-upstream-service-time": "117" }, "ResponseBody": { "statistics": { @@ -125,6 +125,6 @@ "Variables": { "RandomSeed": "1251766394", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesTest.json index e734be4235849..1d283398b9114 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "103", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-5c311eb95f15584491708da9faa4b0e7-c57075a21f603d46-00", + "traceparent": "00-b0190ac12325b14ab4d58b426da83023-b8bb89c959da7c44-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "da4f4c09c1ccf4abd40e06f7e9d06313", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "c4fad0e2-4748-4764-8eaa-0fced1406cff", + "apim-request-id": "87e17e14-bb5e-47f8-9e69-70f7f5ff3d92", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "124" + "x-envoy-upstream-service-time": "77" }, "ResponseBody": { "documents": [ @@ -77,6 +77,6 @@ "Variables": { "RandomSeed": "335203925", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesTestAsync.json index 5edf87091b4d2..adc584e6c48ac 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "103", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-b2dff7e98610ac408d017c775f2f2ab9-bebbb7b02ac82d4d-00", + "traceparent": "00-a5a6aa273f54de489def6de8a8ba10f1-78d36ab60a02a94d-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "7f6808c33dd08579be55419970f0f264", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b1620dfc-2551-4947-a7b6-32e8dfa806a3", + "apim-request-id": "d80f6c57-22bc-47a5-832d-392dca39abfa", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "81" + "x-envoy-upstream-service-time": "71" }, "ResponseBody": { "documents": [ @@ -77,6 +77,6 @@ "Variables": { "RandomSeed": "1858587386", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesWithLanguageTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithLanguageTest.json index 19e22523df5c8..89ce4c621fd47 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithLanguageTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithLanguageTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "102", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-1b59ed5191c55d47bf6ecfcaf4af03d3-48ce761cdfba594b-00", + "traceparent": "00-251e59ef82dbdb48b03eb4edae58807b-83c8aa8da48d8b42-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "5c7fa00e33c5789aa2c892266f1ac0b6", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "af4a3c6e-fffe-4a01-b793-f238b157d981", + "apim-request-id": "08619561-3442-49d3-be17-7ce4f8e6fe81", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:15 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "61" + "x-envoy-upstream-service-time": "62" }, "ResponseBody": { "documents": [ @@ -77,6 +77,6 @@ "Variables": { "RandomSeed": "467501370", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesWithLanguageTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithLanguageTestAsync.json index 99cd7e97fb117..37e7139c9c616 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithLanguageTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithLanguageTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "102", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9b834245d7bfe74697911dd5869a1e8c-074bdde3d5546149-00", + "traceparent": "00-54b0c300fd805e4f8820c04a2f38d453-ba2e006994f7b54f-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "5c0c243ab38cebc9a1089bb692f33b64", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "b4367e11-7ac1-4c38-be59-ec4996849f96", + "apim-request-id": "a772967c-8ecb-480a-990b-f08d5006eeac", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:53 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "62" + "x-envoy-upstream-service-time": "58" }, "ResponseBody": { "documents": [ @@ -77,6 +77,6 @@ "Variables": { "RandomSeed": "1210300364", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesWithSubCategoryTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithSubCategoryTest.json index ef3d150d83168..c274d18a1344d 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithSubCategoryTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithSubCategoryTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-c2900a770230d94db7fc3406412c256b-f341e98d90c62c43-00", + "traceparent": "00-e3a8f6f868be0d4cbafc1c3eeea8516e-8fe46fa4d1b05943-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "07ad4077476a418d44cfbd63dd8b9b76", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "1663c526-c998-4691-af5c-a21f3f2707c3", + "apim-request-id": "985f183a-772e-4a2b-ada6-b8101fc1801f", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "76" + "x-envoy-upstream-service-time": "68" }, "ResponseBody": { "documents": [ @@ -79,6 +79,6 @@ "Variables": { "RandomSeed": "1060086319", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeEntitiesWithSubCategoryTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithSubCategoryTestAsync.json index 09baf9525b211..ef650757e1f4d 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithSubCategoryTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeEntitiesWithSubCategoryTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/recognition/general", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/recognition/general", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-dc7806468157e94792f7952e370f4655-e7a5679343b6414d-00", + "traceparent": "00-47c4ceeb54cd704db4f75526e7acc575-e6f8ef0227cac54b-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "1e1bd581c2eac5df2fe8a3e72b124e2c", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "fba65bde-3603-435b-9bbd-5a857b114f42", + "apim-request-id": "c65bcbdb-6e3c-42fb-8351-1e6860d4566f", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "97" + "x-envoy-upstream-service-time": "72" }, "ResponseBody": { "documents": [ @@ -79,6 +79,6 @@ "Variables": { "RandomSeed": "179873790", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchConvenienceTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceTest.json index 9b87cb4e9a8e4..fda8427513020 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "192", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8d3a46d90671d640aabd2cc8e113195a-425224ad07fa4d41-00", + "traceparent": "00-bbfe2d589fdb7a43a00c28d6bdecda7b-8cbc087fb6dcaa4f-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8f11ec31a0d6dd97bc6eadd4466afdeb", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "0c956c3b-5c8f-4afd-bd5f-f950d4b9c9cf", + "apim-request-id": "225d2f69-4597-4e52-a10b-0971b35a1fef", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "20" }, "ResponseBody": { "documents": [ @@ -50,6 +50,7 @@ "id": "0", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -65,6 +66,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -80,6 +82,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -101,6 +104,7 @@ "id": "1", "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -116,6 +120,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -142,6 +147,6 @@ "Variables": { "RandomSeed": "1835563054", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchConvenienceTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceTestAsync.json index 12b458f1197ca..2d93769becd57 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "192", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-d57c49af48f83841bd5b64745fc905af-db5dd8c63702194f-00", + "traceparent": "00-d0f6dfb9c0557d41bdc1bbd11ef1685a-5c1608897dfbe04c-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8170d58ce4a377c7879affbdcb7c4cbb", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "acfabd5d-f09d-4354-9820-bb861b80b25e", + "apim-request-id": "fd3352c5-7545-4ed3-b4ba-8ce88c57d2db", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "21" + "x-envoy-upstream-service-time": "17" }, "ResponseBody": { "documents": [ @@ -50,6 +50,7 @@ "id": "0", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -65,6 +66,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -80,6 +82,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -101,6 +104,7 @@ "id": "1", "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -116,6 +120,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -142,6 +147,6 @@ "Variables": { "RandomSeed": "749377429", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchConvenienceWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceWithStatisticsTest.json index 7774b3aa97f11..bc50df84a7c02 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "192", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-1f04cb9804cbb941b73d6ca6be83e37a-2ee3e850859e5a4b-00", + "traceparent": "00-f5257d6f8169214d8a65002af1d94abe-3df60e98b8e8144e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e777b6480245fb1a906933248888bd0e", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "59b59061-4473-4101-89e8-d5ccffda28c3", + "apim-request-id": "1750f09a-aeac-412e-8f6e-32a140303fe1", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "18" }, "ResponseBody": { "statistics": { @@ -60,6 +60,7 @@ }, "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -75,6 +76,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -90,6 +92,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -115,6 +118,7 @@ }, "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -130,6 +134,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -156,6 +161,6 @@ "Variables": { "RandomSeed": "467082777", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchConvenienceWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceWithStatisticsTestAsync.json index 7492cf76f08e9..da826ca6bf833 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchConvenienceWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "192", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-7e90ec1d0112d34e8ac9046388b60531-35a3fa3d6eeda14b-00", + "traceparent": "00-98c72d7de367ba4dac843dfc007801cc-6729e3137558e541-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "cebfc48521f800c85fe23c8dd3af35d5", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4bcbe629-0924-40cf-bc43-efb2a3e0f445", + "apim-request-id": "73cc73b0-531a-4328-9f88-5039e006449c", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "17" }, "ResponseBody": { "statistics": { @@ -60,6 +60,7 @@ }, "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -75,6 +76,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -90,6 +92,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -115,6 +118,7 @@ }, "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -130,6 +134,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -156,6 +161,6 @@ "Variables": { "RandomSeed": "1347461816", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchTest.json index 58e6208a1c025..56d7e22306f7e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "192", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-6bc6b126ec6156478e2027ee33034802-781fdcf966bbbb49-00", + "traceparent": "00-03a249b345f44d40bc6616eb6e944ebf-f749e11b6ce7c949-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "517d4bd336e606a6d5799849ec365946", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "68a27ad6-dc50-4873-b2f0-0c8f846990d5", + "apim-request-id": "bc85a66b-de44-4e6f-be42-03e320ee4521", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "18" }, "ResponseBody": { "documents": [ @@ -50,6 +50,7 @@ "id": "1", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -65,6 +66,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -80,6 +82,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -101,6 +104,7 @@ "id": "3", "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -116,6 +120,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -142,6 +147,6 @@ "Variables": { "RandomSeed": "301776269", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchTestAsync.json index 5a0a0b4a734e9..ee71532fd36fd 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "192", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-98ac8afc986d1841b15029b3b84a58a1-71e43a10e5236442-00", + "traceparent": "00-68efe03774394d40b05122a114cd9c62-5e4e64169b8bab48-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "731c0f2d33eeb0d5228cdc93558ea2c5", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "87abfc05-6417-4d27-8a94-bca07982b754", + "apim-request-id": "30aca466-cac2-4324-90a5-36728b19d159", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "18" }, "ResponseBody": { "documents": [ @@ -50,6 +50,7 @@ "id": "1", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -65,6 +66,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -80,6 +82,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -101,6 +104,7 @@ "id": "3", "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -116,6 +120,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -142,6 +147,6 @@ "Variables": { "RandomSeed": "1614007895", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithErrorTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithErrorTest.json index 10989ecb62684..ef75bcaf17f16 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithErrorTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithErrorTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "229", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-165af7f9909ede40b0b9a69018cd5312-ffd6d99c7a895b4a-00", + "traceparent": "00-fb1c288a6222f748a09b0b7919d8e36a-9b2fd771345f5941-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "6a5575a529785c2c520d773fd2c105b9", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "acea1fa2-4049-4a45-bbf8-8a68c9212434", + "apim-request-id": "28ba2dd1-18ad-4032-ab97-e030139c04a1", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "21" + "x-envoy-upstream-service-time": "19" }, "ResponseBody": { "documents": [ @@ -55,6 +55,7 @@ "id": "0", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -70,6 +71,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -85,6 +87,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -106,6 +109,7 @@ "id": "2", "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -121,6 +125,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -159,6 +164,6 @@ "Variables": { "RandomSeed": "1922483248", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithErrorTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithErrorTestAsync.json index 05983ecf197d7..2a3cf053d401e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithErrorTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithErrorTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "229", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8b6cb24e2fb0b840914b9317bb7188e1-0f6ca1e4caed8f4c-00", + "traceparent": "00-04797cf1fbb795419a96bbbe067882e5-613e0778b77a9142-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "a31c6139014927c10b81c58c3423ed27", "x-ms-return-client-request-id": "true" @@ -40,14 +40,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d3745b87-ba71-4c53-bb62-fcc697f9d3ae", + "apim-request-id": "7f47ea5f-81ba-45c2-8cc3-437850d9f271", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "20" + "x-envoy-upstream-service-time": "19" }, "ResponseBody": { "documents": [ @@ -55,6 +55,7 @@ "id": "0", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -70,6 +71,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -85,6 +87,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -106,6 +109,7 @@ "id": "2", "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -121,6 +125,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -159,6 +164,6 @@ "Variables": { "RandomSeed": "35415180", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithInvalidDocumentBatch.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithInvalidDocumentBatch.json index 1d52d4edf5086..d087177cd68bf 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithInvalidDocumentBatch.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithInvalidDocumentBatch.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "561", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-2c0ca0da3c555a4e91988e3e8b8c0f38-5787a45a7b5fe14d-00", + "traceparent": "00-94f90abd8bd540439f27a1df785a5e0c-6af22e5ca0b6074b-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "4d779a7a51313f9b3c0edbedb23fc9e2", "x-ms-return-client-request-id": "true" @@ -55,13 +55,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "d6bd63a5-968f-428f-baaa-9ffde8288bf8", + "apim-request-id": "94912f51-9301-4a62-ba33-0fedd2a4c3a4", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "4" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "error": { @@ -78,6 +78,6 @@ "Variables": { "RandomSeed": "756328253", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithInvalidDocumentBatchAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithInvalidDocumentBatchAsync.json index 6b4561ae46853..aaa689d05e1d3 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithInvalidDocumentBatchAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithInvalidDocumentBatchAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "561", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-15c3f2cfb9bf414bbc6b0bebe206f240-c317ff83bd19a440-00", + "traceparent": "00-d58cdda25322fd48aedf6395386661ea-aa69953616f7f449-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "2d29a5a97696fc299d613cb7e5e8b6cd", "x-ms-return-client-request-id": "true" @@ -55,9 +55,9 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "5147fb82-74f4-4826-97ad-71ef8f153aba", + "apim-request-id": "95ea47c4-a1c8-434f-ab58-1b34ba9eba14", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -78,6 +78,6 @@ "Variables": { "RandomSeed": "538775678", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithNullIdTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullIdTest.json index 22c75469ee6e4..493a6106433f5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullIdTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullIdTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "64", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-89dedfff340ccf4caf4012447fc44160-8c8596d69ba01141-00", + "traceparent": "00-13793ba1a7c4734aa8df8814b7ba2f2f-7b335657fb678d4e-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "ae3555c1814d19ca7bca920089c44e54", "x-ms-return-client-request-id": "true" @@ -30,13 +30,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "2cd30977-3e31-4310-b596-a8a7281371d2", + "apim-request-id": "1a524ba5-a5ab-4a14-a703-da36caa487e4", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "5" }, "ResponseBody": { "error": { @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "718873189", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithNullIdTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullIdTestAsync.json index 0aa7295b116ba..842b394b920e1 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullIdTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullIdTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "64", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9d9d6a9a54ef2a42b7249b05582a646e-fa2cad0295c41143-00", + "traceparent": "00-00f87a45f551c14ea23ef5a4f9d70c6f-c458093b03b6f041-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "f41d89a0dd5bc360561af15204490a0a", "x-ms-return-client-request-id": "true" @@ -30,13 +30,13 @@ }, "StatusCode": 400, "ResponseHeaders": { - "apim-request-id": "7df73667-53df-4b50-9230-5e3ccd0fde37", + "apim-request-id": "52dc6d65-c89b-4bc8-9154-e719c47935ab", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "4" }, "ResponseBody": { "error": { @@ -53,6 +53,6 @@ "Variables": { "RandomSeed": "1573758176", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithNullTextTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullTextTest.json index 361ae1e558fd4..721126fb748ee 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullTextTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullTextTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "54", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-524f78ca320fad4b8156667854a123bd-fe7f20f9f888084f-00", + "traceparent": "00-f3929c072c4bb34bac33560685fdeeb3-77c4cc17ceacd847-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "5db1ba39614017fa40d9dccaacc9162c", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9c7676e2-33c7-419f-b873-3b52e62acc78", + "apim-request-id": "0f66721d-50c5-4047-a681-eec88bb6e284", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "1298073696", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithNullTextTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullTextTestAsync.json index 83fe01930e94f..efc5fee513726 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullTextTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithNullTextTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=false", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=false", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "54", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-6512443eb579d648aa0a10f2ad2dea68-2d6131483da4f942-00", + "traceparent": "00-d1a9c471e65a554c9962c2edeac327d2-7ae886648ce2dc4b-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "b9515a47e6fd1f33febbe139c5a3e167", "x-ms-return-client-request-id": "true" @@ -30,9 +30,9 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "2b90daa3-3bef-4fb0-8c82-980141a41ca3", + "apim-request-id": "bbf2fc7d-5c9f-4591-92d4-c094793cd23b", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -60,6 +60,6 @@ "Variables": { "RandomSeed": "966285310", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithStatisticsTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithStatisticsTest.json index 0615d358b5e52..2d50b99c53811 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithStatisticsTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithStatisticsTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "192", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-cb551ee1a79d9b4ca056c57131bbb8be-6758520ff4e4044f-00", + "traceparent": "00-4001c2459ccf6e4e946cf38ea25967fc-2e91038df520e847-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "af73b0d2edfb45db775e84e2ee40dab8", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "9177f64a-3e8a-42e5-95e8-341c11777146", + "apim-request-id": "c6afcf00-af66-4613-b44c-d068999898d1", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:50 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "23" + "x-envoy-upstream-service-time": "21" }, "ResponseBody": { "statistics": { @@ -60,6 +60,7 @@ }, "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -75,6 +76,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -90,6 +92,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -115,6 +118,7 @@ }, "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -130,6 +134,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -156,6 +161,6 @@ "Variables": { "RandomSeed": "308959751", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesBatchWithStatisticsTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithStatisticsTestAsync.json index c959cada3ec1b..4df2fd4ebe4d3 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithStatisticsTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesBatchWithStatisticsTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking?showStats=true", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking?showStats=true", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "192", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-85765774c94f1b44a9012d8ce0ff00c2-985a5d8475c02b4c-00", + "traceparent": "00-35e93fc7e94f934aabfd4647100031df-94fc0a87c0a4b14d-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8ed18b93a3e73909f7c9cfa7a8378501", "x-ms-return-client-request-id": "true" @@ -35,14 +35,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "007fed76-0bd0-487b-8bed-11bfcb6955ad", + "apim-request-id": "307369d0-a64f-494a-bebf-a4a5864045ab", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=2", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "21" + "x-envoy-upstream-service-time": "17" }, "ResponseBody": { "statistics": { @@ -60,6 +60,7 @@ }, "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -75,6 +76,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -90,6 +92,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -115,6 +118,7 @@ }, "entities": [ { + "bingId": "38b9431e-cf91-93be-0584-c42a3ecbfdc7", "name": "Pike Place Market", "matches": [ { @@ -130,6 +134,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "5fbba6b8-85e1-4d41-9444-d9055436e473", "name": "Seattle", "matches": [ { @@ -156,6 +161,6 @@ "Variables": { "RandomSeed": "530640872", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesTest.json index 32d135bd2e4b7..a45ba33373749 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "103", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-9dfdb0dc223483448263e409160df1c9-5e660472b1320e45-00", + "traceparent": "00-a9a2c1d30d693643826ce173329f0c79-de626b5dfe66694f-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e3778139259e1903444975ba4546d6d8", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "74f81487-b2bf-4d9b-8091-53e6e983e465", + "apim-request-id": "9d5db419-07a5-40e4-9527-7d4def09dd20", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:51 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "16" }, "ResponseBody": { "documents": [ @@ -45,6 +45,7 @@ "id": "0", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -60,6 +61,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -75,6 +77,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -101,6 +104,6 @@ "Variables": { "RandomSeed": "2126928205", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesTestAsync.json index 36bbd7c0c9199..445098d9a352e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "103", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-eef94d24849eaf48972fe084b0040652-5cfb37a8315e124a-00", + "traceparent": "00-80e1f0ca1a60504eb59ba4d2d70c8fbe-3dea083e9a5a3d43-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "5a4d7a82cb486024c16f2d182035b514", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "d57ee95c-a0b6-4278-a705-3c20dba73676", + "apim-request-id": "bccb5c68-df35-4c2e-b33a-9b1f860b3d2f", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "17" + "x-envoy-upstream-service-time": "18" }, "ResponseBody": { "documents": [ @@ -45,6 +45,7 @@ "id": "0", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -60,6 +61,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -75,6 +77,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -101,6 +104,6 @@ "Variables": { "RandomSeed": "1691974252", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesWithLanguageTest.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesWithLanguageTest.json index 499ea1244c132..66862b42b941b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesWithLanguageTest.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesWithLanguageTest.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "102", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-dd5cdd2fccc66840b175a13e39ef5eed-1c0371d80f07c14d-00", + "traceparent": "00-51a9713ab487a44ca1619e05c2faba9c-9a0a41c911960f44-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "0f4dee882bc9a4d691f7c109315bb3b9", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6095aee3-aeb0-46d4-8c1d-efc57e12a8e8", + "apim-request-id": "8cf526ca-c646-4bbf-9df3-13db49e9b9b2", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:51 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "12" }, "ResponseBody": { "documents": [ @@ -45,6 +45,7 @@ "id": "0", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -60,6 +61,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -75,6 +77,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -101,6 +104,6 @@ "Variables": { "RandomSeed": "1061119103", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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/RecognizeLinkedEntitiesWithLanguageTestAsync.json b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesWithLanguageTestAsync.json index 8b3babbd2102b..41eadf8f642aa 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesWithLanguageTestAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RecognizeLinkedEntitiesWithLanguageTestAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/entities/linking", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/entities/linking", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "102", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f1ebf57e92b9aa4fa59b60bbb6be3103-d776e3cf3a0e6141-00", + "traceparent": "00-9e5398a9fe10d942809a196b8a96ec0b-2950929046a6ba4b-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "8f4e7e84f9a0288ea74748893d7d3430", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "4abe766b-fe77-4334-bf70-fe5d0dec96b8", + "apim-request-id": "3bd97b3c-a073-4fed-96bb-fe4b862d8401", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:22 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": "12" }, "ResponseBody": { "documents": [ @@ -45,6 +45,7 @@ "id": "0", "entities": [ { + "bingId": "0d47c987-0042-5576-15e8-97af601614fa", "name": "Bill Gates", "matches": [ { @@ -60,6 +61,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "df2c4376-9923-6a54-893f-2ee5a5badbc7", "name": "Paul Allen", "matches": [ { @@ -75,6 +77,7 @@ "dataSource": "Wikipedia" }, { + "bingId": "a093e9b9-90f5-a3d5-c4b8-5855e1b01f85", "name": "Microsoft", "matches": [ { @@ -101,6 +104,6 @@ "Variables": { "RandomSeed": "740938405", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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 7248bfe67309c..dde3eb0117371 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKey.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKey.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-8b41f5ed9e7c73409ae3e650899c7666-57f2f6483470554c-00", + "traceparent": "00-abae081e8b9be14b9ad3b90820513f5d-e77ccd316b4ca443-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "fadc546e9b67fee26b7fe2f6f428f049", "x-ms-return-client-request-id": "true" @@ -30,10 +30,10 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "08f2a559-6e13-4b4d-813b-5021d00ede17", + "apim-request-id": "9c9cc1a3-ec5e-465d-8958-98f636e33146", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:51 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", @@ -56,7 +56,7 @@ } }, { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -66,10 +66,10 @@ "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-302cbfe8b3ce2144b14d34400e118095-786119ff7f3ea644-00", + "traceparent": "00-0f10b55203b829488ce14bdaaae8fbcc-d4de50dc24711848-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "5315eb796922e8ec800365621457b196", "x-ms-return-client-request-id": "true" @@ -86,12 +86,12 @@ "StatusCode": 401, "ResponseHeaders": { "Content-Length": "224", - "Date": "Tue, 25 Aug 2020 18:49:51 GMT" + "Date": "Thu, 27 Aug 2020 23:17:16 GMT" }, "ResponseBody": "eyJlcnJvciI6eyJjb2RlIjoiNDAxIiwibWVzc2FnZSI6IkFjY2VzcyBkZW5pZWQgZHVlIHRvIGludmFsaWQgc3Vic2NyaXB0aW9uIGtleSBvciB3cm9uZyBBUEkgZW5kcG9pbnQuIE1ha2Ugc3VyZSB0byBwcm92aWRlIGEgdmFsaWQga2V5IGZvciBhbiBhY3RpdmUgc3Vic2NyaXB0aW9uIGFuZCB1c2UgYSBjb3JyZWN0IHJlZ2lvbmFsIEFQSSBlbmRwb2ludCBmb3IgeW91ciByZXNvdXJjZS4ifX0=" }, { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -101,10 +101,10 @@ "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e61272d6017d2c4ea3ed4688bc9ab2bd-a71eca0b2d3e9447-00", + "traceparent": "00-4c0d02881e40c444b68ad6ade0dab47c-e58aeda6ec980c4a-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "b95b6331e26dc320faed975cc20fd95e", "x-ms-return-client-request-id": "true" @@ -120,14 +120,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "36125948-4840-4451-bf85-b7df71e1c5f8", + "apim-request-id": "fec3589f-82fe-4526-8429-ce765223050b", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:51 GMT", + "Date": "Thu, 27 Aug 2020 23:17:16 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "documents": [ @@ -149,6 +149,6 @@ "Variables": { "RandomSeed": "328308741", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.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 d5333cf98e830..5db257244632a 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKeyAsync.json +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/SessionRecords/TextAnalyticsClientLiveTests/RotateApiKeyAsync.json @@ -1,7 +1,7 @@ { "Entries": [ { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -11,10 +11,10 @@ "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-ef5e03bd63bc0f498e029e45a82aac7e-52c429fb728cc04f-00", + "traceparent": "00-7dfbdbb35c93224da5569f958886ffe0-ee1e297bb58c5e48-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "bffc63569f34a05a099669ae8b5525f8", "x-ms-return-client-request-id": "true" @@ -30,14 +30,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "6cdd3693-1400-4161-9a33-2d1d024cd40c", + "apim-request-id": "eb519ca3-376d-4475-855a-63923013a8e1", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:23 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": [ @@ -56,7 +56,7 @@ } }, { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -66,10 +66,10 @@ "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-e6fe38f7ba65fa48b1219e38f6cd6d19-4cc0b7dcd2ab8841-00", + "traceparent": "00-fc2ea2ff71c9f94d825f9c9738573d11-f650e6b6428a2b4c-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "e304ea33e02ebdb1189163ecdb70c79b", "x-ms-return-client-request-id": "true" @@ -86,12 +86,12 @@ "StatusCode": 401, "ResponseHeaders": { "Content-Length": "224", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT" + "Date": "Thu, 27 Aug 2020 23:17:23 GMT" }, "ResponseBody": "eyJlcnJvciI6eyJjb2RlIjoiNDAxIiwibWVzc2FnZSI6IkFjY2VzcyBkZW5pZWQgZHVlIHRvIGludmFsaWQgc3Vic2NyaXB0aW9uIGtleSBvciB3cm9uZyBBUEkgZW5kcG9pbnQuIE1ha2Ugc3VyZSB0byBwcm92aWRlIGEgdmFsaWQga2V5IGZvciBhbiBhY3RpdmUgc3Vic2NyaXB0aW9uIGFuZCB1c2UgYSBjb3JyZWN0IHJlZ2lvbmFsIEFQSSBlbmRwb2ludCBmb3IgeW91ciByZXNvdXJjZS4ifX0=" }, { - "RequestUri": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.1/languages", + "RequestUri": "https://cognitiveusw2dev.azure-api.net/text/analytics/v3.1-preview.2/languages", "RequestMethod": "POST", "RequestHeaders": { "Accept": [ @@ -101,10 +101,10 @@ "Content-Length": "96", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "Sanitized", - "traceparent": "00-f30fbd5503eb2043ba7d66f48edf03d6-85ab34d95829c945-00", + "traceparent": "00-aa8cae15a12ae44eaaa742e0e19e5ad9-2d6809385049af48-00", "User-Agent": [ - "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200825.3", - "(.NET Core 4.6.27514.02; Microsoft Windows 10.0.17763 )" + "azsdk-net-AI.TextAnalytics/5.1.0-dev.20200827.1", + "(.NET Core 4.6.29017.01; Microsoft Windows 10.0.19041 )" ], "x-ms-client-request-id": "a285e0056523f5b965bf3666b00916f5", "x-ms-return-client-request-id": "true" @@ -120,14 +120,14 @@ }, "StatusCode": 200, "ResponseHeaders": { - "apim-request-id": "94ef25ae-3bfb-4893-9c7c-d2d739c4eda0", + "apim-request-id": "9a6fd042-0e1c-4c32-8e06-bebc84a7f1a5", "Content-Type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1", - "Date": "Tue, 25 Aug 2020 18:49:54 GMT", + "Date": "Thu, 27 Aug 2020 23:17:23 GMT", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "Transfer-Encoding": "chunked", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" }, "ResponseBody": { "documents": [ @@ -149,6 +149,6 @@ "Variables": { "RandomSeed": "1599318144", "TEXT_ANALYTICS_API_KEY": "Sanitized", - "TEXT_ANALYTICS_ENDPOINT": "https://t0a14a15674c54c18-textanalytics.cognitiveservices.azure.com" + "TEXT_ANALYTICS_ENDPOINT": "https://cognitiveusw2dev.azure-api.net" } } \ No newline at end of file diff --git a/sdk/textanalytics/test-resources.json b/sdk/textanalytics/test-resources.json index 4ae2ec0dd737c..6d3b8443c45db 100644 --- a/sdk/textanalytics/test-resources.json +++ b/sdk/textanalytics/test-resources.json @@ -50,8 +50,7 @@ } }, "variables": { - "uniqueSubDomainName": "[format('{0}-{1}', parameters('baseName'), parameters('endpointPrefix'))]", - "endpointValue": "[format('https://{0}-{1}{2}', parameters('baseName'), parameters('endpointPrefix'), parameters('endpointSuffix'))]" + "uniqueSubDomainName": "[format('{0}-{1}', parameters('baseName'), parameters('endpointPrefix'))]" }, "resources": [ { @@ -67,15 +66,5 @@ "customSubDomainName": "[variables('uniqueSubDomainName')]" } } - ], - "outputs": { - "TEXT_ANALYTICS_API_KEY": { - "type": "string", - "value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts',variables('uniqueSubDomainName')), '2017-04-18').key1]" - }, - "TEXT_ANALYTICS_ENDPOINT": { - "type": "string", - "value": "[variables('endpointValue')]" - } - } + ] } diff --git a/sdk/textanalytics/tests.yml b/sdk/textanalytics/tests.yml index 542ad6ac7ee27..683a28ac27a8a 100644 --- a/sdk/textanalytics/tests.yml +++ b/sdk/textanalytics/tests.yml @@ -3,4 +3,7 @@ trigger: none extends: template: ../../eng/pipelines/templates/jobs/archetype-sdk-tests.yml parameters: - ServiceDirectory: textanalytics \ No newline at end of file + ServiceDirectory: textanalytics + EnvVars: + TEXT_ANALYTICS_API_KEY: $(net-textanalytics-test-api-key) + TEXT_ANALYTICS_ENDPOINT: $(net-textanalytics-test-ppe-endpoint-string) \ No newline at end of file