diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/Azure.AI.Language.Authoring.Analyzetext.sln b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/Azure.AI.Language.Authoring.Analyzetext.sln
new file mode 100644
index 000000000000..fe0dc0df00a8
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/Azure.AI.Language.Authoring.Analyzetext.sln
@@ -0,0 +1,56 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29709.97
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{ECC730C1-4AEA-420C-916A-66B19B79E4DC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.AI.Language.Authoring.Analyzetext", "src\Azure.AI.Language.Authoring.Analyzetext.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.AI.Language.Authoring.Analyzetext.Tests", "tests\Azure.AI.Language.Authoring.Analyzetext.Tests.csproj", "{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
+ EndGlobalSection
+EndGlobal
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/CHANGELOG.md b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/CHANGELOG.md
new file mode 100644
index 000000000000..13dd08af78ab
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/CHANGELOG.md
@@ -0,0 +1,11 @@
+# Release History
+
+## 1.0.0-beta.1 (Unreleased)
+
+### Features Added
+
+### Breaking Changes
+
+### Bugs Fixed
+
+### Other Changes
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/Directory.Build.props b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/Directory.Build.props
new file mode 100644
index 000000000000..63bd836ad44b
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/Directory.Build.props
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/README.md b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/README.md
new file mode 100644
index 000000000000..8aef879dc514
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/README.md
@@ -0,0 +1,107 @@
+# Azure.AI.Language.Authoring.Analyzetext client library for .NET
+
+Azure.AI.Language.Authoring.Analyzetext is a managed service that helps developers get secret simply and securely.
+
+Use the client library for to:
+
+* [Get secret](https://docs.microsoft.com/azure)
+
+[Source code][source_root] | [Package (NuGet)][package] | [API reference documentation][reference_docs] | [Product documentation][azconfig_docs] | [Samples][source_samples]
+
+ [Source code](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src) | [Package (NuGet)](https://www.nuget.org/packages) | [API reference documentation](https://azure.github.io/azure-sdk-for-net) | [Product documentation](https://docs.microsoft.com/azure)
+
+## Getting started
+
+This section should include everything a developer needs to do to install and create their first client connection *very quickly*.
+
+### Install the package
+
+First, provide instruction for obtaining and installing the package or library. This section might include only a single line of code, like `dotnet add package package-name`, but should enable a developer to successfully install the package from NuGet, npm, or even cloning a GitHub repository.
+
+Install the client library for .NET with [NuGet](https://www.nuget.org/ ):
+
+```dotnetcli
+dotnet add package Azure.AI.Language.Authoring.Analyzetext --prerelease
+```
+
+### Prerequisites
+
+Include a section after the install command that details any requirements that must be satisfied before a developer can [authenticate](#authenticate-the-client) and test all of the snippets in the [Examples](#examples) section. For example, for Cosmos DB:
+
+> You must have an [Azure subscription](https://azure.microsoft.com/free/dotnet/) and [Cosmos DB account](https://docs.microsoft.com/azure/cosmos-db/account-overview) (SQL API). In order to take advantage of the C# 8.0 syntax, it is recommended that you compile using the [.NET Core SDK](https://dotnet.microsoft.com/download) 3.0 or higher with a [language version](https://docs.microsoft.com/dotnet/csharp/language-reference/configure-language-version#override-a-default) of `latest`. It is also possible to compile with the .NET Core SDK 2.1.x using a language version of `preview`.
+
+### Authenticate the client
+
+If your library requires authentication for use, such as for Azure services, include instructions and example code needed for initializing and authenticating.
+
+For example, include details on obtaining an account key and endpoint URI, setting environment variables for each, and initializing the client object.
+
+### Service API versions
+
+The client library targets the latest service API version by default. A client instance accepts an optional service API version parameter from its options to specify which API version service to communicate.
+
+#### Select a service API version
+
+You have the flexibility to explicitly select a supported service API version when instantiating a client by configuring its associated options. This ensures that the client can communicate with services using the specified API version.
+
+For example,
+
+```C# Snippet:CreateClientForSpecificApiVersion
+Uri endpoint = new Uri("");
+DefaultAzureCredential credential = new DefaultAzureCredential();
+ClientOptions options = new ClientOptions(ClientOptions.ServiceVersion.)
+var client = new Client(endpoint, credential, options);
+```
+
+When selecting an API version, it's important to verify that there are no breaking changes compared to the latest API version. If there are significant differences, API calls may fail due to incompatibility.
+
+Always ensure that the chosen API version is fully supported and operational for your specific use case and that it aligns with the service's versioning policy.
+
+## Key concepts
+
+The *Key concepts* section should describe the functionality of the main classes. Point out the most important and useful classes in the package (with links to their reference pages) and explain how those classes work together. Feel free to use bulleted lists, tables, code blocks, or even diagrams for clarity.
+
+Include the *Thread safety* and *Additional concepts* sections below at the end of your *Key concepts* section. You may remove or add links depending on what your library makes use of:
+
+### Thread safety
+
+We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that the recommendation of reusing client instances is always safe, even across threads.
+
+### Additional concepts
+
+[Client options](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions) |
+[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
+[Long-running operations](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#consuming-long-running-operations-using-operationt) |
+[Handling failures](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#reporting-errors-requestfailedexception) |
+[Diagnostics](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md) |
+[Mocking](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#mocking) |
+[Client lifetime](https://devblogs.microsoft.com/azure-sdk/lifetime-management-and-thread-safety-guarantees-of-azure-sdk-net-clients/)
+
+
+## Examples
+
+You can familiarize yourself with different APIs using [Samples](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/samples).
+
+## Troubleshooting
+
+Describe common errors and exceptions, how to "unpack" them if necessary, and include guidance for graceful handling and recovery.
+
+Provide information to help developers avoid throttling or other service-enforced errors they might encounter. For example, provide guidance and examples for using retry or connection policies in the API.
+
+If the package or a related package supports it, include tips for logging or enabling instrumentation to help them debug their code.
+
+## Next steps
+
+* Provide a link to additional code examples, ideally to those sitting alongside the README in the package's `/samples` directory.
+* If appropriate, point users to other packages that might be useful.
+* If you think there's a good chance that developers might stumble across your package in error (because they're searching for specific functionality and mistakenly think the package provides that functionality), point them to the packages they might be looking for.
+
+## Contributing
+
+This is a template, but your SDK readme should include details on how to contribute code to the repo/package.
+
+
+[style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization
+[style-guide-cloud]: https://aka.ms/azsdk/cloud-style-guide
+
+
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Azure.AI.Language.Authoring.Analyzetext.csproj b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Azure.AI.Language.Authoring.Analyzetext.csproj
new file mode 100644
index 000000000000..6429bf706d3f
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Azure.AI.Language.Authoring.Analyzetext.csproj
@@ -0,0 +1,20 @@
+
+
+ This is the Azure.AI.Language.Authoring.Analyzetext client library for developing .NET applications with rich experience.
+ Azure SDK Code Generation Azure.AI.Language.Authoring.Analyzetext for Azure Data Plane
+ 1.0.0-beta.1
+ Azure.AI.Language.Authoring.Analyzetext
+ $(RequiredTargetFrameworks)
+ true
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AILanguageAuthoringAnalyzetextClientBuilderExtensions.cs b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AILanguageAuthoringAnalyzetextClientBuilderExtensions.cs
new file mode 100644
index 000000000000..cc200bbb2191
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AILanguageAuthoringAnalyzetextClientBuilderExtensions.cs
@@ -0,0 +1,52 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using Azure;
+using Azure.AI.Language.Authoring.Analyzetext;
+using Azure.Core.Extensions;
+
+namespace Microsoft.Extensions.Azure
+{
+ /// Extension methods to add to client builder.
+ public static partial class AILanguageAuthoringAnalyzetextClientBuilderExtensions
+ {
+ /// Registers a instance.
+ /// The builder to register with.
+ ///
+ /// Supported Cognitive Services endpoint (e.g.,
+ /// https://<resource-name>.api.cognitiveservices.azure.com).
+ ///
+ /// A credential used to authenticate to an Azure Service.
+ public static IAzureClientBuilder AddAnalyzetextClient(this TBuilder builder, Uri endpoint, AzureKeyCredential credential)
+ where TBuilder : IAzureClientFactoryBuilder
+ {
+ return builder.RegisterClientFactory((options) => new AnalyzetextClient(endpoint, credential, options));
+ }
+
+ /// Registers a instance.
+ /// The builder to register with.
+ ///
+ /// Supported Cognitive Services endpoint (e.g.,
+ /// https://<resource-name>.api.cognitiveservices.azure.com).
+ ///
+ public static IAzureClientBuilder AddAnalyzetextClient(this TBuilder builder, Uri endpoint)
+ where TBuilder : IAzureClientFactoryBuilderWithCredential
+ {
+ return builder.RegisterClientFactory((options, cred) => new AnalyzetextClient(endpoint, cred, options));
+ }
+
+ /// Registers a instance.
+ /// The builder to register with.
+ /// The configuration values.
+ public static IAzureClientBuilder AddAnalyzetextClient(this TBuilder builder, TConfiguration configuration)
+ where TBuilder : IAzureClientFactoryBuilderWithConfiguration
+ {
+ return builder.RegisterClientFactory(configuration);
+ }
+ }
+}
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AILanguageAuthoringAnalyzetextModelFactory.cs b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AILanguageAuthoringAnalyzetextModelFactory.cs
new file mode 100644
index 000000000000..1606c7108524
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AILanguageAuthoringAnalyzetextModelFactory.cs
@@ -0,0 +1,1362 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.AI.Language.Authoring.Analyzetext.Models
+{
+ /// Model factory for models.
+ public static partial class AILanguageAuthoringAnalyzetextModelFactory
+ {
+ /// Initializes a new instance of .
+ /// Represents the project creation datetime.
+ /// Represents the project last modification datetime.
+ /// Represents the project last training datetime.
+ /// Represents the project last deployment datetime.
+ /// The project kind.
+ /// The storage container name.
+ /// The project settings.
+ /// The new project name.
+ /// Whether the project would be used for multiple languages or not.
+ /// The project description.
+ ///
+ /// The project language. This is BCP-47 representation of a language. For example,
+ /// use "en" for English, "en-gb" for English (UK), "es" for Spanish etc.
+ ///
+ /// A new instance for mocking.
+ public static ProjectMetadata ProjectMetadata(DateTimeOffset createdDateTime = default, DateTimeOffset lastModifiedDateTime = default, DateTimeOffset? lastTrainedDateTime = null, DateTimeOffset? lastDeployedDateTime = null, ProjectKind projectKind = default, string storageInputContainerName = null, ProjectSettings settings = null, string projectName = null, bool? multilingual = null, string description = null, string language = null)
+ {
+ return new ProjectMetadata(
+ createdDateTime,
+ lastModifiedDateTime,
+ lastTrainedDateTime,
+ lastDeployedDateTime,
+ projectKind,
+ storageInputContainerName,
+ settings,
+ projectName,
+ multilingual,
+ description,
+ language,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// One of a server-defined set of error codes.
+ /// A human-readable representation of the error.
+ /// The target of the error.
+ /// An array of details about specific errors that led to this reported error.
+ ///
+ /// An object containing more specific information than the current object about
+ /// the error.
+ ///
+ /// A new instance for mocking.
+ public static TextAnalysisAuthoringError TextAnalysisAuthoringError(ErrorCode code = default, string message = null, string target = null, IEnumerable details = null, InnerErrorModel innererror = null)
+ {
+ details ??= new List();
+
+ return new TextAnalysisAuthoringError(
+ code,
+ message,
+ target,
+ details?.ToList(),
+ innererror,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// One of a server-defined set of error codes.
+ /// Error message.
+ /// Error details.
+ /// Error target.
+ ///
+ /// An object containing more specific information than the current object about
+ /// the error.
+ ///
+ /// A new instance for mocking.
+ public static InnerErrorModel InnerErrorModel(InnerErrorCode code = default, string message = null, IReadOnlyDictionary details = null, string target = null, InnerErrorModel innererror = null)
+ {
+ details ??= new Dictionary();
+
+ return new InnerErrorModel(
+ code,
+ message,
+ details,
+ target,
+ innererror,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the project creation datetime.
+ /// Represents the project last modification datetime.
+ /// Represents the project last training datetime.
+ /// Represents the project last deployment datetime.
+ /// The project kind.
+ /// The storage container name.
+ /// The project settings.
+ /// Whether the project would be used for multiple languages or not.
+ /// The project description.
+ ///
+ /// The project language. This is BCP-47 representation of a language. For example,
+ /// use "en" for English, "en-gb" for English (UK), "es" for Spanish etc.
+ ///
+ /// A new instance for mocking.
+ public static GetProjectResponse GetProjectResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastModifiedDateTime = default, DateTimeOffset? lastTrainedDateTime = null, DateTimeOffset? lastDeployedDateTime = null, ProjectKind projectKind = default, string storageInputContainerName = null, ProjectSettings settings = null, bool? multilingual = null, string description = null, string language = null)
+ {
+ return new GetProjectResponse(
+ createdDateTime,
+ lastModifiedDateTime,
+ lastTrainedDateTime,
+ lastDeployedDateTime,
+ projectKind,
+ storageInputContainerName,
+ settings,
+ multilingual,
+ description,
+ language,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The project kind.
+ /// The storage container name.
+ /// The project settings.
+ /// The new project name.
+ /// Whether the project would be used for multiple languages or not.
+ /// The project description.
+ ///
+ /// The project language. This is BCP-47 representation of a language. For example,
+ /// use "en" for English, "en-gb" for English (UK), "es" for Spanish etc.
+ ///
+ /// A new instance for mocking.
+ public static CreateProjectConfig CreateProjectConfig(ProjectKind projectKind = default, string storageInputContainerName = null, ProjectSettings settings = null, string projectName = null, bool? multilingual = null, string description = null, string language = null)
+ {
+ return new CreateProjectConfig(
+ projectKind,
+ storageInputContainerName,
+ settings,
+ projectName,
+ multilingual,
+ description,
+ language,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The version of the exported file.
+ ///
+ /// Specifies the method used to interpret string offsets. For additional
+ /// information see https://aka.ms/text-analytics-offsets.
+ ///
+ /// Represents the project metadata.
+ ///
+ /// Represents the project assets.
+ /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
+ /// The available derived classes include , , , , and .
+ ///
+ /// A new instance for mocking.
+ public static ExportedProject ExportedProject(string projectFileVersion = null, StringIndexType stringIndexType = default, CreateProjectConfig metadata = null, ExportedProjectAssets assets = null)
+ {
+ return new ExportedProject(projectFileVersion, stringIndexType, metadata, assets, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ ///
+ /// Represents the summary file location in the blob store container associated
+ /// with the project.
+ ///
+ /// The location of the document in the storage.
+ ///
+ /// Represents the document language. This is BCP-47 representation of a language.
+ /// For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish
+ /// etc.
+ ///
+ /// The dataset for this document. Allowed values are 'Train' and 'Test'.
+ /// A new instance for mocking.
+ public static ExportedCustomAbstractiveSummarizationDocument ExportedCustomAbstractiveSummarizationDocument(string summaryLocation = null, string location = null, string language = null, string dataset = null)
+ {
+ return new ExportedCustomAbstractiveSummarizationDocument(summaryLocation, location, language, dataset, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the output model label.
+ /// Represents training config version.
+ ///
+ /// Represents the evaluation options. By default, the evaluation kind is
+ /// percentage, with training split percentage as 80, and testing split percentage
+ /// as 20.
+ ///
+ /// Represents the settings for using data generation as part of training a custom model.
+ /// A new instance for mocking.
+ public static TrainingJobConfig TrainingJobConfig(string modelLabel = null, string trainingConfigVersion = null, EvaluationConfig evaluationOptions = null, DataGenerationSettings dataGenerationSettings = null)
+ {
+ return new TrainingJobConfig(modelLabel, trainingConfigVersion, evaluationOptions, dataGenerationSettings, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Connection type for data generation settings. Currently only supports Azure Open AI.
+ /// Resource ID for the data generation resource. Looks something like "/subscriptions/<SUBSCRIPTION-ID-GUID>/resourceGroups/<RG-NAME>/providers/Microsoft.CognitiveServices/accounts/<AOAI-ACCOUNT-NAME>".
+ /// Deployment name of model to be used for synthetic data generation.
+ /// A new instance for mocking.
+ public static DataGenerationConnectionInfo DataGenerationConnectionInfo(DataGenerationConnectionInfoKind kind = default, string resourceId = null, string deploymentName = null)
+ {
+ return new DataGenerationConnectionInfo(kind, resourceId, deploymentName, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents trained model label.
+ /// Represents training config version.
+ /// Represents model train status.
+ /// Represents model evaluation status.
+ /// Represents the estimate end date time for training and evaluation.
+ /// A new instance for mocking.
+ public static TrainingJobResult TrainingJobResult(string modelLabel = null, string trainingConfigVersion = null, SubTrainingJobState trainingStatus = null, SubTrainingJobState evaluationStatus = null, DateTimeOffset? estimatedEndDateTime = null)
+ {
+ return new TrainingJobResult(
+ modelLabel,
+ trainingConfigVersion,
+ trainingStatus,
+ evaluationStatus,
+ estimatedEndDateTime,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents progress percentage.
+ /// Represents the start date time.
+ /// Represents the end date time.
+ /// Represents the status of the sub-operation.
+ /// A new instance for mocking.
+ public static SubTrainingJobState SubTrainingJobState(int percentComplete = default, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, JobStatus status = default)
+ {
+ return new SubTrainingJobState(percentComplete, startDateTime, endDateTime, status, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The job ID.
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// Represents training tasks detailed result.
+ /// A new instance for mocking.
+ public static TrainingJobState TrainingJobState(string jobId = null, DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, TrainingJobResult result = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new TrainingJobState(
+ jobId,
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ result,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The warning code.
+ /// The warning message.
+ /// A new instance for mocking.
+ public static TextAnalysisAuthoringWarning TextAnalysisAuthoringWarning(string code = null, string message = null)
+ {
+ return new TextAnalysisAuthoringWarning(code, message, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetCopyProjectStatusResponse GetCopyProjectStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetCopyProjectStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents deployment name.
+ /// Represents deployment modelId.
+ /// Represents deployment last trained time.
+ /// Represents deployment last deployed time.
+ /// Represents deployment expiration date in the runtime.
+ /// Represents model training config version.
+ /// Represents the metadata of the assigned Azure resources.
+ /// A new instance for mocking.
+ public static ProjectDeployment ProjectDeployment(string deploymentName = null, string modelId = null, DateTimeOffset lastTrainedDateTime = default, DateTimeOffset lastDeployedDateTime = default, DateTimeOffset deploymentExpirationDate = default, string modelTrainingConfigVersion = null, IEnumerable assignedResources = null)
+ {
+ assignedResources ??= new List();
+
+ return new ProjectDeployment(
+ deploymentName,
+ modelId,
+ lastTrainedDateTime,
+ lastDeployedDateTime,
+ deploymentExpirationDate,
+ modelTrainingConfigVersion,
+ assignedResources?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the Azure resource Id.
+ /// Represents the resource region.
+ /// A new instance for mocking.
+ public static DeploymentResource DeploymentResource(string resourceId = null, string region = null)
+ {
+ return new DeploymentResource(resourceId, region, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents deployment modelId.
+ /// Represents deployment last trained time.
+ /// Represents deployment last deployed time.
+ /// Represents deployment expiration date in the runtime.
+ /// Represents model training config version.
+ /// Represents the metadata of the assigned Azure resources.
+ /// A new instance for mocking.
+ public static GetDeploymentResponse GetDeploymentResponse(string modelId = null, DateTimeOffset lastTrainedDateTime = default, DateTimeOffset lastDeployedDateTime = default, DateTimeOffset deploymentExpirationDate = default, string modelTrainingConfigVersion = null, IEnumerable assignedResources = null)
+ {
+ assignedResources ??= new List();
+
+ return new GetDeploymentResponse(
+ modelId,
+ lastTrainedDateTime,
+ lastDeployedDateTime,
+ deploymentExpirationDate,
+ modelTrainingConfigVersion,
+ assignedResources?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the trained model label.
+ ///
+ /// Represents the resource IDs to be assigned to the deployment.
+ /// If provided, the deployment will be rolled out to the resources
+ /// provided here as well as the original resource in which the project is created.
+ ///
+ /// A new instance for mocking.
+ public static CreateDeploymentConfig CreateDeploymentConfig(string trainedModelLabel = null, IEnumerable assignedResourceIds = null)
+ {
+ assignedResourceIds ??= new List();
+
+ return new CreateDeploymentConfig(trainedModelLabel, assignedResourceIds?.ToList(), serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetDeploymentDeleteFromResourcesStatusResponse GetDeploymentDeleteFromResourcesStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetDeploymentDeleteFromResourcesStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetDeploymentStatusResponse GetDeploymentStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetDeploymentStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetSwapDeploymentsStatusResponse GetSwapDeploymentsStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetSwapDeploymentsStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// The URL to use in order to download the exported project.
+ /// A new instance for mocking.
+ public static GetExportStatusResponse GetExportStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, string resultUrl = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetExportStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ resultUrl,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The exported model name.
+ /// The model ID.
+ /// The last trained date time of the model.
+ /// The last exported date time of the model.
+ /// The model expiration date.
+ /// The model training config version.
+ /// A new instance for mocking.
+ public static ExportedTrainedModel ExportedTrainedModel(string exportedModelName = null, string modelId = null, DateTimeOffset lastTrainedDateTime = default, DateTimeOffset lastExportedModelDateTime = default, DateTimeOffset modelExpirationDate = default, string modelTrainingConfigVersion = null)
+ {
+ return new ExportedTrainedModel(
+ exportedModelName,
+ modelId,
+ lastTrainedDateTime,
+ lastExportedModelDateTime,
+ modelExpirationDate,
+ modelTrainingConfigVersion,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The model ID.
+ /// The last trained date time of the model.
+ /// The last exported date time of the model.
+ /// The model expiration date.
+ /// The model training config version.
+ /// A new instance for mocking.
+ public static GetExportedModelResponse GetExportedModelResponse(string modelId = null, DateTimeOffset lastTrainedDateTime = default, DateTimeOffset lastExportedModelDateTime = default, DateTimeOffset modelExpirationDate = default, string modelTrainingConfigVersion = null)
+ {
+ return new GetExportedModelResponse(
+ modelId,
+ lastTrainedDateTime,
+ lastExportedModelDateTime,
+ modelExpirationDate,
+ modelTrainingConfigVersion,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetExportedModelJobStatusResponse GetExportedModelJobStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetExportedModelJobStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The model files belonging to this model.
+ /// A new instance for mocking.
+ public static ExportedModelManifest ExportedModelManifest(IEnumerable modelFiles = null)
+ {
+ modelFiles ??= new List();
+
+ return new ExportedModelManifest(modelFiles?.ToList(), serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The name of the file.
+ /// The URI to retrieve the content of the file.
+ /// A new instance for mocking.
+ public static ModelFile ModelFile(string name = null, Uri contentUri = null)
+ {
+ return new ModelFile(name, contentUri, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetImportStatusResponse GetImportStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetImportStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The trained model label.
+ /// The model ID.
+ /// The last trained date time of the model.
+ /// The duration of the model's last training request in seconds.
+ /// The model expiration date.
+ /// The model training config version.
+ /// The flag to indicate if the trained model has a snapshot ready.
+ /// A new instance for mocking.
+ public static ProjectTrainedModel ProjectTrainedModel(string label = null, string modelId = null, DateTimeOffset lastTrainedDateTime = default, int lastTrainingDurationInSeconds = default, DateTimeOffset modelExpirationDate = default, string modelTrainingConfigVersion = null, bool hasSnapshot = default)
+ {
+ return new ProjectTrainedModel(
+ label,
+ modelId,
+ lastTrainedDateTime,
+ lastTrainingDurationInSeconds,
+ modelExpirationDate,
+ modelTrainingConfigVersion,
+ hasSnapshot,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The model ID.
+ /// The last trained date time of the model.
+ /// The duration of the model's last training request in seconds.
+ /// The model expiration date.
+ /// The model training config version.
+ /// The flag to indicate if the trained model has a snapshot ready.
+ /// A new instance for mocking.
+ public static GetTrainedModelResponse GetTrainedModelResponse(string modelId = null, DateTimeOffset lastTrainedDateTime = default, int lastTrainingDurationInSeconds = default, DateTimeOffset modelExpirationDate = default, string modelTrainingConfigVersion = null, bool hasSnapshot = default)
+ {
+ return new GetTrainedModelResponse(
+ modelId,
+ lastTrainedDateTime,
+ lastTrainingDurationInSeconds,
+ modelExpirationDate,
+ modelTrainingConfigVersion,
+ hasSnapshot,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the options used running the evaluation.
+ /// Represents trained model label.
+ /// Represents training config version.
+ /// Represents progress percentage.
+ /// A new instance for mocking.
+ public static EvaluationJobResult EvaluationJobResult(EvaluationConfig evaluationOptions = null, string modelLabel = null, string trainingConfigVersion = null, int percentComplete = default)
+ {
+ return new EvaluationJobResult(evaluationOptions, modelLabel, trainingConfigVersion, percentComplete, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// Represents evaluation task detailed result.
+ /// A new instance for mocking.
+ public static GetEvaluationStatusResponse GetEvaluationStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, EvaluationJobResult result = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetEvaluationStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ result,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the project kind.
+ /// Represents the document path.
+ ///
+ /// Represents the document language. This is BCP-47 representation of a language.
+ /// For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish
+ /// etc.
+ ///
+ /// A new instance for mocking.
+ public static DocumentEvaluationResult DocumentEvaluationResult(string projectKind = null, string location = null, string language = null)
+ {
+ return new UnknownDocumentEvaluationResult(projectKind == null ? default : new ProjectKind(projectKind), location, language, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document path.
+ ///
+ /// Represents the document language. This is BCP-47 representation of a language.
+ /// For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish
+ /// etc.
+ ///
+ /// Represents the evaluation prediction for entity recognition.
+ /// A new instance for mocking.
+ public static CustomEntityRecognitionDocumentEvaluationResult CustomEntityRecognitionDocumentEvaluationResult(string location = null, string language = null, DocumentEntityRecognitionEvaluationResult customEntityRecognitionResult = null)
+ {
+ return new CustomEntityRecognitionDocumentEvaluationResult(ProjectKind.CustomEntityRecognition, location, language, serializedAdditionalRawData: null, customEntityRecognitionResult);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document labelled entities.
+ /// A new instance for mocking.
+ public static DocumentEntityRecognitionEvaluationResult DocumentEntityRecognitionEvaluationResult(IEnumerable entities = null)
+ {
+ entities ??= new List();
+
+ return new DocumentEntityRecognitionEvaluationResult(entities?.ToList(), serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the region's expected entity labels.
+ /// Represents the region's predicted entity labels.
+ /// Represents the region offset.
+ /// Represents the region length.
+ /// A new instance for mocking.
+ public static DocumentEntityRegionEvaluationResult DocumentEntityRegionEvaluationResult(IEnumerable expectedEntities = null, IEnumerable predictedEntities = null, int regionOffset = default, int regionLength = default)
+ {
+ expectedEntities ??= new List();
+ predictedEntities ??= new List();
+
+ return new DocumentEntityRegionEvaluationResult(expectedEntities?.ToList(), predictedEntities?.ToList(), regionOffset, regionLength, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the entity category.
+ /// Represents the entity offset index relative to the original text.
+ /// Represents the entity length.
+ /// A new instance for mocking.
+ public static DocumentEntityLabelEvaluationResult DocumentEntityLabelEvaluationResult(string category = null, int offset = default, int length = default)
+ {
+ return new DocumentEntityLabelEvaluationResult(category, offset, length, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document path.
+ ///
+ /// Represents the document language. This is BCP-47 representation of a language.
+ /// For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish
+ /// etc.
+ ///
+ /// Represents the evaluation prediction for entity recognition.
+ /// A new instance for mocking.
+ public static CustomHealthcareDocumentEvaluationResult CustomHealthcareDocumentEvaluationResult(string location = null, string language = null, DocumentHealthcareEvaluationResult customHealthcareResult = null)
+ {
+ return new CustomHealthcareDocumentEvaluationResult(ProjectKind.CustomHealthcare, location, language, serializedAdditionalRawData: null, customHealthcareResult);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document labelled entities.
+ /// A new instance for mocking.
+ public static DocumentHealthcareEvaluationResult DocumentHealthcareEvaluationResult(IEnumerable entities = null)
+ {
+ entities ??= new List();
+
+ return new DocumentHealthcareEvaluationResult(entities?.ToList(), serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document path.
+ ///
+ /// Represents the document language. This is BCP-47 representation of a language.
+ /// For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish
+ /// etc.
+ ///
+ /// Represents the evaluation prediction for multi label classification.
+ /// A new instance for mocking.
+ public static CustomMultiLabelClassificationDocumentEvaluationResult CustomMultiLabelClassificationDocumentEvaluationResult(string location = null, string language = null, DocumentMultiLabelClassificationEvaluationResult customMultiLabelClassificationResult = null)
+ {
+ return new CustomMultiLabelClassificationDocumentEvaluationResult(ProjectKind.CustomMultiLabelClassification, location, language, serializedAdditionalRawData: null, customMultiLabelClassificationResult);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document's expected classes.
+ /// Represents the document's predicted classes.
+ /// A new instance for mocking.
+ public static DocumentMultiLabelClassificationEvaluationResult DocumentMultiLabelClassificationEvaluationResult(IEnumerable expectedClasses = null, IEnumerable predictedClasses = null)
+ {
+ expectedClasses ??= new List();
+ predictedClasses ??= new List();
+
+ return new DocumentMultiLabelClassificationEvaluationResult(expectedClasses?.ToList(), predictedClasses?.ToList(), serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document path.
+ ///
+ /// Represents the document language. This is BCP-47 representation of a language.
+ /// For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish
+ /// etc.
+ ///
+ /// Represents the evaluation prediction for single label classification.
+ /// A new instance for mocking.
+ public static CustomSingleLabelClassificationDocumentEvaluationResult CustomSingleLabelClassificationDocumentEvaluationResult(string location = null, string language = null, DocumentSingleLabelClassificationEvaluationResult customSingleLabelClassificationResult = null)
+ {
+ return new CustomSingleLabelClassificationDocumentEvaluationResult(ProjectKind.CustomSingleLabelClassification, location, language, serializedAdditionalRawData: null, customSingleLabelClassificationResult);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document's expected class.
+ /// Represents the document's predicted class.
+ /// A new instance for mocking.
+ public static DocumentSingleLabelClassificationEvaluationResult DocumentSingleLabelClassificationEvaluationResult(string expectedClass = null, string predictedClass = null)
+ {
+ return new DocumentSingleLabelClassificationEvaluationResult(expectedClass, predictedClass, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document path.
+ ///
+ /// Represents the document language. This is BCP-47 representation of a language.
+ /// For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish
+ /// etc.
+ ///
+ /// Represents the evaluation prediction for text sentiment.
+ /// A new instance for mocking.
+ public static CustomTextSentimentDocumentEvaluationResult CustomTextSentimentDocumentEvaluationResult(string location = null, string language = null, DocumentTextSentimentEvaluationResult customTextSentimentResult = null)
+ {
+ return new CustomTextSentimentDocumentEvaluationResult(ProjectKind.CustomTextSentiment, location, language, serializedAdditionalRawData: null, customTextSentimentResult);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the document's expected sentiment labels.
+ /// Represents the document's predicted sentiment labels.
+ /// A new instance for mocking.
+ public static DocumentTextSentimentEvaluationResult DocumentTextSentimentEvaluationResult(IEnumerable expectedSentimentSpans = null, IEnumerable predictedSentimentSpans = null)
+ {
+ expectedSentimentSpans ??= new List();
+ predictedSentimentSpans ??= new List();
+
+ return new DocumentTextSentimentEvaluationResult(expectedSentimentSpans?.ToList(), predictedSentimentSpans?.ToList(), serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the sentiment category.
+ /// Represents the sentiment offset index relative to the original text.
+ /// Represents the sentiment length.
+ /// A new instance for mocking.
+ public static DocumentSentimentLabelEvaluationResult DocumentSentimentLabelEvaluationResult(TextAnalysisAuthoringSentiment category = default, int offset = default, int length = default)
+ {
+ return new DocumentSentimentLabelEvaluationResult(category, offset, length, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the project type that the evaluation ran on.
+ /// Represents the options used running the evaluation.
+ /// A new instance for mocking.
+ public static EvaluationSummary EvaluationSummary(string projectKind = null, EvaluationConfig evaluationOptions = null)
+ {
+ return new UnknownEvaluationSummary(projectKind == null ? default : new ProjectKind(projectKind), evaluationOptions, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the options used running the evaluation.
+ /// Contains the data related to extraction evaluation.
+ /// A new instance for mocking.
+ public static CustomEntityRecognitionEvaluationSummary CustomEntityRecognitionEvaluationSummary(EvaluationConfig evaluationOptions = null, EntityRecognitionEvaluationSummary customEntityRecognitionEvaluation = null)
+ {
+ return new CustomEntityRecognitionEvaluationSummary(ProjectKind.CustomEntityRecognition, evaluationOptions, serializedAdditionalRawData: null, customEntityRecognitionEvaluation);
+ }
+
+ /// Initializes a new instance of .
+ ///
+ /// Represents the confusion matrix between two entities (the two entities can be
+ /// the same). The matrix is between the entity that was labelled and the entity
+ /// that was predicted.
+ ///
+ /// Represents the entities evaluation.
+ /// Represents the micro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the micro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the micro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// Represents the macro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the macro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the macro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// A new instance for mocking.
+ public static EntityRecognitionEvaluationSummary EntityRecognitionEvaluationSummary(ConfusionMatrix confusionMatrix = null, IReadOnlyDictionary entities = null, float microF1 = default, float microPrecision = default, float microRecall = default, float macroF1 = default, float macroPrecision = default, float macroRecall = default)
+ {
+ entities ??= new Dictionary();
+
+ return new EntityRecognitionEvaluationSummary(
+ confusionMatrix,
+ entities,
+ microF1,
+ microPrecision,
+ microRecall,
+ macroF1,
+ macroPrecision,
+ macroRecall,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Additional Properties.
+ /// A new instance for mocking.
+ public static ConfusionMatrix ConfusionMatrix(IReadOnlyDictionary additionalProperties = null)
+ {
+ additionalProperties ??= new Dictionary();
+
+ return new ConfusionMatrix(additionalProperties);
+ }
+
+ /// Initializes a new instance of .
+ /// Additional Properties.
+ /// A new instance for mocking.
+ public static ConfusionMatrixRow ConfusionMatrixRow(IReadOnlyDictionary additionalProperties = null)
+ {
+ additionalProperties ??= new Dictionary();
+
+ return new ConfusionMatrixRow(additionalProperties);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents normalized value in percentages.
+ /// Represents raw value.
+ /// A new instance for mocking.
+ public static ConfusionMatrixCell ConfusionMatrixCell(float normalizedValue = default, float rawValue = default)
+ {
+ return new ConfusionMatrixCell(normalizedValue, rawValue, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the model precision.
+ /// Represents the model recall.
+ /// Represents the model F1 score.
+ /// Represents the count of true positive.
+ /// Represents the count of true negative.
+ /// Represents the count of false positive.
+ /// Represents the count of false negative.
+ /// A new instance for mocking.
+ public static EntityEvaluationSummary EntityEvaluationSummary(double f1 = default, double precision = default, double recall = default, int truePositiveCount = default, int trueNegativeCount = default, int falsePositiveCount = default, int falseNegativeCount = default)
+ {
+ return new EntityEvaluationSummary(
+ f1,
+ precision,
+ recall,
+ truePositiveCount,
+ trueNegativeCount,
+ falsePositiveCount,
+ falseNegativeCount,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the options used running the evaluation.
+ /// Contains the data related to health care evaluation.
+ /// A new instance for mocking.
+ public static CustomHealthcareEvaluationSummary CustomHealthcareEvaluationSummary(EvaluationConfig evaluationOptions = null, EntityRecognitionEvaluationSummary customHealthcareEvaluation = null)
+ {
+ return new CustomHealthcareEvaluationSummary(ProjectKind.CustomHealthcare, evaluationOptions, serializedAdditionalRawData: null, customHealthcareEvaluation);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the options used running the evaluation.
+ /// Contains the data related to multi label classification evaluation.
+ /// A new instance for mocking.
+ public static CustomMultiLabelClassificationEvaluationSummary CustomMultiLabelClassificationEvaluationSummary(EvaluationConfig evaluationOptions = null, MultiLabelClassificationEvaluationSummary customMultiLabelClassificationEvaluation = null)
+ {
+ return new CustomMultiLabelClassificationEvaluationSummary(ProjectKind.CustomMultiLabelClassification, evaluationOptions, serializedAdditionalRawData: null, customMultiLabelClassificationEvaluation);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the classes evaluation.
+ /// Represents the micro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the micro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the micro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// Represents the macro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the macro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the macro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// A new instance for mocking.
+ public static MultiLabelClassificationEvaluationSummary MultiLabelClassificationEvaluationSummary(IReadOnlyDictionary classes = null, float microF1 = default, float microPrecision = default, float microRecall = default, float macroF1 = default, float macroPrecision = default, float macroRecall = default)
+ {
+ classes ??= new Dictionary();
+
+ return new MultiLabelClassificationEvaluationSummary(
+ classes,
+ microF1,
+ microPrecision,
+ microRecall,
+ macroF1,
+ macroPrecision,
+ macroRecall,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the model precision.
+ /// Represents the model recall.
+ /// Represents the model F1 score.
+ /// Represents the count of true positive.
+ /// Represents the count of true negative.
+ /// Represents the count of false positive.
+ /// Represents the count of false negative.
+ /// A new instance for mocking.
+ public static MultiLabelClassEvaluationSummary MultiLabelClassEvaluationSummary(double f1 = default, double precision = default, double recall = default, int truePositiveCount = default, int trueNegativeCount = default, int falsePositiveCount = default, int falseNegativeCount = default)
+ {
+ return new MultiLabelClassEvaluationSummary(
+ f1,
+ precision,
+ recall,
+ truePositiveCount,
+ trueNegativeCount,
+ falsePositiveCount,
+ falseNegativeCount,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the options used running the evaluation.
+ /// Contains the data related to single label classification evaluation.
+ /// A new instance for mocking.
+ public static CustomSingleLabelClassificationEvaluationSummary CustomSingleLabelClassificationEvaluationSummary(EvaluationConfig evaluationOptions = null, SingleLabelClassificationEvaluationSummary customSingleLabelClassificationEvaluation = null)
+ {
+ return new CustomSingleLabelClassificationEvaluationSummary(ProjectKind.CustomSingleLabelClassification, evaluationOptions, serializedAdditionalRawData: null, customSingleLabelClassificationEvaluation);
+ }
+
+ /// Initializes a new instance of .
+ ///
+ /// Represents the confusion matrix between two classes (the two classes can be the
+ /// same). The matrix is between the class that was labelled and the class that was
+ /// predicted.
+ ///
+ /// Represents the classes evaluation.
+ /// Represents the micro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the micro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the micro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// Represents the macro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the macro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the macro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// A new instance for mocking.
+ public static SingleLabelClassificationEvaluationSummary SingleLabelClassificationEvaluationSummary(ConfusionMatrix confusionMatrix = null, IReadOnlyDictionary classes = null, float microF1 = default, float microPrecision = default, float microRecall = default, float macroF1 = default, float macroPrecision = default, float macroRecall = default)
+ {
+ classes ??= new Dictionary();
+
+ return new SingleLabelClassificationEvaluationSummary(
+ confusionMatrix,
+ classes,
+ microF1,
+ microPrecision,
+ microRecall,
+ macroF1,
+ macroPrecision,
+ macroRecall,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the model precision.
+ /// Represents the model recall.
+ /// Represents the model F1 score.
+ /// Represents the count of true positive.
+ /// Represents the count of true negative.
+ /// Represents the count of false positive.
+ /// Represents the count of false negative.
+ /// A new instance for mocking.
+ public static SingleLabelClassEvaluationSummary SingleLabelClassEvaluationSummary(double f1 = default, double precision = default, double recall = default, int truePositiveCount = default, int trueNegativeCount = default, int falsePositiveCount = default, int falseNegativeCount = default)
+ {
+ return new SingleLabelClassEvaluationSummary(
+ f1,
+ precision,
+ recall,
+ truePositiveCount,
+ trueNegativeCount,
+ falsePositiveCount,
+ falseNegativeCount,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the options used running the evaluation.
+ /// Contains the data related to custom sentiment evaluation.
+ /// A new instance for mocking.
+ public static CustomTextSentimentEvaluationSummary CustomTextSentimentEvaluationSummary(EvaluationConfig evaluationOptions = null, TextSentimentEvaluationSummary customTextSentimentEvaluation = null)
+ {
+ return new CustomTextSentimentEvaluationSummary(ProjectKind.CustomTextSentiment, evaluationOptions, serializedAdditionalRawData: null, customTextSentimentEvaluation);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents evaluation of span level sentiments.
+ /// Represents the micro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the micro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the micro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// Represents the macro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the macro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the macro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// A new instance for mocking.
+ public static TextSentimentEvaluationSummary TextSentimentEvaluationSummary(SpanSentimentEvaluationSummary spanSentimentsEvaluation = null, float microF1 = default, float microPrecision = default, float microRecall = default, float macroF1 = default, float macroPrecision = default, float macroRecall = default)
+ {
+ return new TextSentimentEvaluationSummary(
+ spanSentimentsEvaluation,
+ microF1,
+ microPrecision,
+ microRecall,
+ macroF1,
+ macroPrecision,
+ macroRecall,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ ///
+ /// Represents the confusion matrix between two sentiments (the two sentiments can
+ /// be the same). The matrix is between the sentiment that was labelled and the
+ /// sentiment that was predicted.
+ ///
+ /// Represents the sentiment evaluation.
+ /// Represents the micro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the micro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the micro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// Represents the macro F1. Expected value is a float between 0 and 1 inclusive.
+ ///
+ /// Represents the macro precision. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ ///
+ /// Represents the macro recall. Expected value is a float between 0 and 1
+ /// inclusive.
+ ///
+ /// A new instance for mocking.
+ public static SpanSentimentEvaluationSummary SpanSentimentEvaluationSummary(ConfusionMatrix confusionMatrix = null, IReadOnlyDictionary sentiments = null, float microF1 = default, float microPrecision = default, float microRecall = default, float macroF1 = default, float macroPrecision = default, float macroRecall = default)
+ {
+ sentiments ??= new Dictionary();
+
+ return new SpanSentimentEvaluationSummary(
+ confusionMatrix,
+ sentiments,
+ microF1,
+ microPrecision,
+ microRecall,
+ macroF1,
+ macroPrecision,
+ macroRecall,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the model precision.
+ /// Represents the model recall.
+ /// Represents the model F1 score.
+ /// Represents the count of true positive.
+ /// Represents the count of true negative.
+ /// Represents the count of false positive.
+ /// Represents the count of false negative.
+ /// A new instance for mocking.
+ public static SentimentEvaluationSummary SentimentEvaluationSummary(double f1 = default, double precision = default, double recall = default, int truePositiveCount = default, int trueNegativeCount = default, int falsePositiveCount = default, int falseNegativeCount = default)
+ {
+ return new SentimentEvaluationSummary(
+ f1,
+ precision,
+ recall,
+ truePositiveCount,
+ trueNegativeCount,
+ falsePositiveCount,
+ falseNegativeCount,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetLoadSnapshotStatusResponse GetLoadSnapshotStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetLoadSnapshotStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The resource ID.
+ /// The resource region.
+ /// A new instance for mocking.
+ public static AssignedDeploymentResource AssignedDeploymentResource(string azureResourceId = null, string region = null)
+ {
+ return new AssignedDeploymentResource(azureResourceId, region, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetAssignDeploymentResourcesStatusResponse GetAssignDeploymentResourcesStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetAssignDeploymentResourcesStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetUnassignDeploymentResourcesStatusResponse GetUnassignDeploymentResourcesStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetUnassignDeploymentResourcesStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// Represents training tasks detailed result.
+ /// A new instance for mocking.
+ public static GetTrainingStatusResponse GetTrainingStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, TrainingJobResult result = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetTrainingStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ result,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The creation date time of the job.
+ /// The last date time the job was updated.
+ /// The expiration date time of the job.
+ /// The job status.
+ /// The warnings that were encountered while executing the job.
+ /// The errors encountered while executing the job.
+ /// A new instance for mocking.
+ public static GetProjectDeletionStatusResponse GetProjectDeletionStatusResponse(DateTimeOffset createdDateTime = default, DateTimeOffset lastUpdatedDateTime = default, DateTimeOffset? expirationDateTime = null, JobStatus status = default, IEnumerable warnings = null, IEnumerable errors = null)
+ {
+ warnings ??= new List();
+ errors ??= new List();
+
+ return new GetProjectDeletionStatusResponse(
+ createdDateTime,
+ lastUpdatedDateTime,
+ expirationDateTime,
+ status,
+ warnings?.ToList(),
+ errors?.ToList(),
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the project name.
+ /// Represents the resource region.
+ /// A new instance for mocking.
+ public static AssignedProjectDeploymentsMetadata AssignedProjectDeploymentsMetadata(string projectName = null, IEnumerable deploymentsMetadata = null)
+ {
+ deploymentsMetadata ??= new List();
+
+ return new AssignedProjectDeploymentsMetadata(projectName, deploymentsMetadata?.ToList(), serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the deployment name.
+ /// Represents deployment last deployed time.
+ /// Represents deployment expiration date in the runtime.
+ /// A new instance for mocking.
+ public static AssignedProjectDeploymentMetadata AssignedProjectDeploymentMetadata(string deploymentName = null, DateTimeOffset lastDeployedDateTime = default, DateTimeOffset deploymentExpirationDate = default)
+ {
+ return new AssignedProjectDeploymentMetadata(deploymentName, lastDeployedDateTime, deploymentExpirationDate, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The language name.
+ ///
+ /// The language code. This is BCP-47 representation of a language. For example,
+ /// "en" for English, "en-gb" for English (UK), "es" for Spanish etc.
+ ///
+ /// A new instance for mocking.
+ public static SupportedLanguage SupportedLanguage(string languageName = null, string languageCode = null)
+ {
+ return new SupportedLanguage(languageName, languageCode, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The prebuilt entity category.
+ /// The description.
+ /// English examples for the entity.
+ /// A new instance for mocking.
+ public static PrebuiltEntity PrebuiltEntity(string category = null, string description = null, string examples = null)
+ {
+ return new PrebuiltEntity(category, description, examples, serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Represents the version of the config.
+ /// Represents the training config version expiration date.
+ /// A new instance for mocking.
+ public static TrainingConfigVersion TrainingConfigVersion(string trainingConfigVersionProperty = null, DateTimeOffset modelExpirationDate = default)
+ {
+ return new TrainingConfigVersion(trainingConfigVersionProperty, modelExpirationDate, serializedAdditionalRawData: null);
+ }
+ }
+}
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AnalyzetextClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AnalyzetextClient.cs
new file mode 100644
index 000000000000..2c4451695389
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AnalyzetextClient.cs
@@ -0,0 +1,115 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using Azure.Core;
+using Azure.Core.Pipeline;
+
+namespace Azure.AI.Language.Authoring.Analyzetext
+{
+ // Data plane generated client.
+ ///
+ /// The language service API is a suite of natural language processing (NLP) skills
+ /// built with best-in-class Microsoft machine learning algorithms. The API can be
+ /// used to analyze unstructured text for tasks such as sentiment analysis, key
+ /// phrase extraction, language detection and question answering. Further
+ /// documentation can be found in <a
+ /// href="https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/overview">https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/overview</a>.
+ ///
+ public partial class AnalyzetextClient
+ {
+ private const string AuthorizationHeader = "Ocp-Apim-Subscription-Key";
+ private readonly AzureKeyCredential _keyCredential;
+ private static readonly string[] AuthorizationScopes = new string[] { "https://cognitiveservices.azure.com/.default" };
+ private readonly TokenCredential _tokenCredential;
+ private readonly HttpPipeline _pipeline;
+ private readonly Uri _endpoint;
+
+ /// The ClientDiagnostics is used to provide tracing support for the client library.
+ internal ClientDiagnostics ClientDiagnostics { get; }
+
+ /// The HTTP pipeline for sending and receiving REST requests and responses.
+ public virtual HttpPipeline Pipeline => _pipeline;
+
+ /// Initializes a new instance of AnalyzetextClient for mocking.
+ protected AnalyzetextClient()
+ {
+ }
+
+ /// Initializes a new instance of AnalyzetextClient.
+ ///
+ /// Supported Cognitive Services endpoint (e.g.,
+ /// https://<resource-name>.api.cognitiveservices.azure.com).
+ ///
+ /// A credential used to authenticate to an Azure Service.
+ /// or is null.
+ public AnalyzetextClient(Uri endpoint, AzureKeyCredential credential) : this(endpoint, credential, new AnalyzetextClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of AnalyzetextClient.
+ ///
+ /// Supported Cognitive Services endpoint (e.g.,
+ /// https://<resource-name>.api.cognitiveservices.azure.com).
+ ///
+ /// A credential used to authenticate to an Azure Service.
+ /// or is null.
+ public AnalyzetextClient(Uri endpoint, TokenCredential credential) : this(endpoint, credential, new AnalyzetextClientOptions())
+ {
+ }
+
+ /// Initializes a new instance of AnalyzetextClient.
+ ///
+ /// Supported Cognitive Services endpoint (e.g.,
+ /// https://<resource-name>.api.cognitiveservices.azure.com).
+ ///
+ /// A credential used to authenticate to an Azure Service.
+ /// The options for configuring the client.
+ /// or is null.
+ public AnalyzetextClient(Uri endpoint, AzureKeyCredential credential, AnalyzetextClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new AnalyzetextClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _keyCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new AzureKeyCredentialPolicy(_keyCredential, AuthorizationHeader) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ }
+
+ /// Initializes a new instance of AnalyzetextClient.
+ ///
+ /// Supported Cognitive Services endpoint (e.g.,
+ /// https://<resource-name>.api.cognitiveservices.azure.com).
+ ///
+ /// A credential used to authenticate to an Azure Service.
+ /// The options for configuring the client.
+ /// or is null.
+ public AnalyzetextClient(Uri endpoint, TokenCredential credential, AnalyzetextClientOptions options)
+ {
+ Argument.AssertNotNull(endpoint, nameof(endpoint));
+ Argument.AssertNotNull(credential, nameof(credential));
+ options ??= new AnalyzetextClientOptions();
+
+ ClientDiagnostics = new ClientDiagnostics(options, true);
+ _tokenCredential = credential;
+ _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier());
+ _endpoint = endpoint;
+ }
+
+ /// Initializes a new instance of TextAnalysisAuthoring.
+ /// The API version to use for this operation.
+ /// is null.
+ public virtual TextAnalysisAuthoring GetTextAnalysisAuthoringClient(string apiVersion = "2024-11-15-preview")
+ {
+ Argument.AssertNotNull(apiVersion, nameof(apiVersion));
+
+ return new TextAnalysisAuthoring(ClientDiagnostics, _pipeline, _keyCredential, _tokenCredential, _endpoint, apiVersion);
+ }
+ }
+}
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AnalyzetextClientOptions.cs b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AnalyzetextClientOptions.cs
new file mode 100644
index 000000000000..5e1ecd6ed253
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/AnalyzetextClientOptions.cs
@@ -0,0 +1,43 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using Azure.Core;
+
+namespace Azure.AI.Language.Authoring.Analyzetext
+{
+ /// Client options for AnalyzetextClient.
+ public partial class AnalyzetextClientOptions : ClientOptions
+ {
+ private const ServiceVersion LatestVersion = ServiceVersion.V2024_11_15_Preview;
+
+ /// The version of the service to use.
+ public enum ServiceVersion
+ {
+ /// Service version "2023-04-01".
+ V2023_04_01 = 1,
+ /// Service version "2023-04-15-preview".
+ V2023_04_15_Preview = 2,
+ /// Service version "2024-11-15-preview".
+ V2024_11_15_Preview = 3,
+ }
+
+ internal string Version { get; }
+
+ /// Initializes new instance of AnalyzetextClientOptions.
+ public AnalyzetextClientOptions(ServiceVersion version = LatestVersion)
+ {
+ Version = version switch
+ {
+ ServiceVersion.V2023_04_01 => "2023-04-01",
+ ServiceVersion.V2023_04_15_Preview => "2023-04-15-preview",
+ ServiceVersion.V2024_11_15_Preview => "2024-11-15-preview",
+ _ => throw new NotSupportedException()
+ };
+ }
+ }
+}
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Docs/TextAnalysisAuthoring.xml b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Docs/TextAnalysisAuthoring.xml
new file mode 100644
index 000000000000..92c531be89a0
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Docs/TextAnalysisAuthoring.xml
@@ -0,0 +1,5717 @@
+
+
+
+
+
+This sample shows how to call GetProjectAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetProjectAsync("");
+]]>
+This sample shows how to call GetProjectAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetProjectAsync("");
+]]>
+
+
+
+This sample shows how to call GetProject.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetProject("");
+]]>
+This sample shows how to call GetProject with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetProject("");
+]]>
+
+
+
+This sample shows how to call GetProjectAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetProjectAsync("", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+Console.WriteLine(result.GetProperty("language").ToString());
+]]>
+This sample shows how to call GetProjectAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetProjectAsync("", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("confidenceThreshold").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("amlProjectPath").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("isLabelingLocked").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("runGptPredictions").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("gptPredictiveLookahead").ToString());
+Console.WriteLine(result.GetProperty("multilingual").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("language").ToString());
+]]>
+
+
+
+This sample shows how to call GetProject and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetProject("", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+Console.WriteLine(result.GetProperty("language").ToString());
+]]>
+This sample shows how to call GetProject with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetProject("", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("confidenceThreshold").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("amlProjectPath").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("isLabelingLocked").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("runGptPredictions").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("gptPredictiveLookahead").ToString());
+Console.WriteLine(result.GetProperty("multilingual").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("language").ToString());
+]]>
+
+
+
+This sample shows how to call CreateProjectAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ projectName = "",
+ language = "",
+});
+Response response = await client.CreateProjectAsync("", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+Console.WriteLine(result.GetProperty("language").ToString());
+]]>
+This sample shows how to call CreateProjectAsync with all parameters and request content and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ settings = new
+ {
+ confidenceThreshold = 123.45F,
+ amlProjectPath = "",
+ isLabelingLocked = true,
+ runGptPredictions = true,
+ gptPredictiveLookahead = 1234,
+ },
+ projectName = "",
+ multilingual = true,
+ description = "",
+ language = "",
+});
+Response response = await client.CreateProjectAsync("", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("confidenceThreshold").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("amlProjectPath").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("isLabelingLocked").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("runGptPredictions").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("gptPredictiveLookahead").ToString());
+Console.WriteLine(result.GetProperty("multilingual").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("language").ToString());
+]]>
+
+
+
+This sample shows how to call CreateProject and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ projectName = "",
+ language = "",
+});
+Response response = client.CreateProject("", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+Console.WriteLine(result.GetProperty("language").ToString());
+]]>
+This sample shows how to call CreateProject with all parameters and request content and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ settings = new
+ {
+ confidenceThreshold = 123.45F,
+ amlProjectPath = "",
+ isLabelingLocked = true,
+ runGptPredictions = true,
+ gptPredictiveLookahead = 1234,
+ },
+ projectName = "",
+ multilingual = true,
+ description = "",
+ language = "",
+});
+Response response = client.CreateProject("", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("confidenceThreshold").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("amlProjectPath").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("isLabelingLocked").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("runGptPredictions").ToString());
+Console.WriteLine(result.GetProperty("settings").GetProperty("gptPredictiveLookahead").ToString());
+Console.WriteLine(result.GetProperty("multilingual").ToString());
+Console.WriteLine(result.GetProperty("description").ToString());
+Console.WriteLine(result.GetProperty("language").ToString());
+]]>
+
+
+
+This sample shows how to call CopyProjectAuthorizationAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.CopyProjectAuthorizationAsync("", ProjectKind.CustomSingleLabelClassification);
+]]>
+This sample shows how to call CopyProjectAuthorizationAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.CopyProjectAuthorizationAsync("", ProjectKind.CustomSingleLabelClassification, storageInputContainerName: "", allowOverwrite: true);
+]]>
+
+
+
+This sample shows how to call CopyProjectAuthorization.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.CopyProjectAuthorization("", ProjectKind.CustomSingleLabelClassification);
+]]>
+This sample shows how to call CopyProjectAuthorization with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.CopyProjectAuthorization("", ProjectKind.CustomSingleLabelClassification, storageInputContainerName: "", allowOverwrite: true);
+]]>
+
+
+
+This sample shows how to call CopyProjectAuthorizationAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+});
+Response response = await client.CopyProjectAuthorizationAsync("", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("targetProjectName").ToString());
+Console.WriteLine(result.GetProperty("accessToken").ToString());
+Console.WriteLine(result.GetProperty("expiresAt").ToString());
+Console.WriteLine(result.GetProperty("targetResourceId").ToString());
+Console.WriteLine(result.GetProperty("targetResourceRegion").ToString());
+]]>
+This sample shows how to call CopyProjectAuthorizationAsync with all parameters and request content and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ allowOverwrite = true,
+});
+Response response = await client.CopyProjectAuthorizationAsync("", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("targetProjectName").ToString());
+Console.WriteLine(result.GetProperty("accessToken").ToString());
+Console.WriteLine(result.GetProperty("expiresAt").ToString());
+Console.WriteLine(result.GetProperty("targetResourceId").ToString());
+Console.WriteLine(result.GetProperty("targetResourceRegion").ToString());
+]]>
+
+
+
+This sample shows how to call CopyProjectAuthorization and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+});
+Response response = client.CopyProjectAuthorization("", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("targetProjectName").ToString());
+Console.WriteLine(result.GetProperty("accessToken").ToString());
+Console.WriteLine(result.GetProperty("expiresAt").ToString());
+Console.WriteLine(result.GetProperty("targetResourceId").ToString());
+Console.WriteLine(result.GetProperty("targetResourceRegion").ToString());
+]]>
+This sample shows how to call CopyProjectAuthorization with all parameters and request content and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ allowOverwrite = true,
+});
+Response response = client.CopyProjectAuthorization("", content);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("targetProjectName").ToString());
+Console.WriteLine(result.GetProperty("accessToken").ToString());
+Console.WriteLine(result.GetProperty("expiresAt").ToString());
+Console.WriteLine(result.GetProperty("targetResourceId").ToString());
+Console.WriteLine(result.GetProperty("targetResourceRegion").ToString());
+]]>
+
+
+
+This sample shows how to call GetCopyProjectStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetCopyProjectStatusAsync("", "");
+]]>
+This sample shows how to call GetCopyProjectStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetCopyProjectStatusAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetCopyProjectStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetCopyProjectStatus("", "");
+]]>
+This sample shows how to call GetCopyProjectStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetCopyProjectStatus("", "");
+]]>
+
+
+
+This sample shows how to call GetCopyProjectStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetCopyProjectStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetCopyProjectStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetCopyProjectStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetCopyProjectStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetCopyProjectStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetCopyProjectStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetCopyProjectStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetDeploymentAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentAsync("", "");
+]]>
+This sample shows how to call GetDeploymentAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetDeployment.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeployment("", "");
+]]>
+This sample shows how to call GetDeployment with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeployment("", "");
+]]>
+
+
+
+This sample shows how to call GetDeploymentAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+Console.WriteLine(result.GetProperty("deploymentExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("resourceId").ToString());
+Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("region").ToString());
+]]>
+This sample shows how to call GetDeploymentAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+Console.WriteLine(result.GetProperty("deploymentExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("resourceId").ToString());
+Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("region").ToString());
+]]>
+
+
+
+This sample shows how to call GetDeployment and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeployment("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+Console.WriteLine(result.GetProperty("deploymentExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("resourceId").ToString());
+Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("region").ToString());
+]]>
+This sample shows how to call GetDeployment with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeployment("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+Console.WriteLine(result.GetProperty("deploymentExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("resourceId").ToString());
+Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("region").ToString());
+]]>
+
+
+
+This sample shows how to call GetDeploymentDeleteFromResourcesStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentDeleteFromResourcesStatusAsync("", "", "");
+]]>
+This sample shows how to call GetDeploymentDeleteFromResourcesStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentDeleteFromResourcesStatusAsync("", "", "");
+]]>
+
+
+
+This sample shows how to call GetDeploymentDeleteFromResourcesStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeploymentDeleteFromResourcesStatus("", "", "");
+]]>
+This sample shows how to call GetDeploymentDeleteFromResourcesStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeploymentDeleteFromResourcesStatus("", "", "");
+]]>
+
+
+
+This sample shows how to call GetDeploymentDeleteFromResourcesStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentDeleteFromResourcesStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetDeploymentDeleteFromResourcesStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentDeleteFromResourcesStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetDeploymentDeleteFromResourcesStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeploymentDeleteFromResourcesStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetDeploymentDeleteFromResourcesStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeploymentDeleteFromResourcesStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetDeploymentStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentStatusAsync("", "", "");
+]]>
+This sample shows how to call GetDeploymentStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentStatusAsync("", "", "");
+]]>
+
+
+
+This sample shows how to call GetDeploymentStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeploymentStatus("", "", "");
+]]>
+This sample shows how to call GetDeploymentStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeploymentStatus("", "", "");
+]]>
+
+
+
+This sample shows how to call GetDeploymentStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetDeploymentStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetDeploymentStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetDeploymentStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeploymentStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetDeploymentStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetDeploymentStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetSwapDeploymentsStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetSwapDeploymentsStatusAsync("", "");
+]]>
+This sample shows how to call GetSwapDeploymentsStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetSwapDeploymentsStatusAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetSwapDeploymentsStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetSwapDeploymentsStatus("", "");
+]]>
+This sample shows how to call GetSwapDeploymentsStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetSwapDeploymentsStatus("", "");
+]]>
+
+
+
+This sample shows how to call GetSwapDeploymentsStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetSwapDeploymentsStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetSwapDeploymentsStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetSwapDeploymentsStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetSwapDeploymentsStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetSwapDeploymentsStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetSwapDeploymentsStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetSwapDeploymentsStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetExportStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportStatusAsync("", "");
+]]>
+This sample shows how to call GetExportStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportStatusAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetExportStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportStatus("", "");
+]]>
+This sample shows how to call GetExportStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportStatus("", "");
+]]>
+
+
+
+This sample shows how to call GetExportStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetExportStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("resultUrl").ToString());
+]]>
+
+
+
+This sample shows how to call GetExportStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetExportStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("resultUrl").ToString());
+]]>
+
+
+
+This sample shows how to call GetExportedModelAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelAsync("", "");
+]]>
+This sample shows how to call GetExportedModelAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetExportedModel.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModel("", "");
+]]>
+This sample shows how to call GetExportedModel with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModel("", "");
+]]>
+
+
+
+This sample shows how to call GetExportedModelAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastExportedModelDateTime").ToString());
+Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+]]>
+This sample shows how to call GetExportedModelAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastExportedModelDateTime").ToString());
+Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+]]>
+
+
+
+This sample shows how to call GetExportedModel and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModel("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastExportedModelDateTime").ToString());
+Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+]]>
+This sample shows how to call GetExportedModel with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModel("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastExportedModelDateTime").ToString());
+Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+]]>
+
+
+
+This sample shows how to call GetExportedModelJobStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelJobStatusAsync("", "", "");
+]]>
+This sample shows how to call GetExportedModelJobStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelJobStatusAsync("", "", "");
+]]>
+
+
+
+This sample shows how to call GetExportedModelJobStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModelJobStatus("", "", "");
+]]>
+This sample shows how to call GetExportedModelJobStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModelJobStatus("", "", "");
+]]>
+
+
+
+This sample shows how to call GetExportedModelJobStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelJobStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetExportedModelJobStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelJobStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetExportedModelJobStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModelJobStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetExportedModelJobStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModelJobStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetExportedModelManifestAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelManifestAsync("", "");
+]]>
+This sample shows how to call GetExportedModelManifestAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelManifestAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetExportedModelManifest.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModelManifest("", "");
+]]>
+This sample shows how to call GetExportedModelManifest with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModelManifest("", "");
+]]>
+
+
+
+This sample shows how to call GetExportedModelManifestAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelManifestAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelFiles")[0].GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("modelFiles")[0].GetProperty("contentUri").ToString());
+]]>
+This sample shows how to call GetExportedModelManifestAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetExportedModelManifestAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelFiles")[0].GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("modelFiles")[0].GetProperty("contentUri").ToString());
+]]>
+
+
+
+This sample shows how to call GetExportedModelManifest and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModelManifest("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelFiles")[0].GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("modelFiles")[0].GetProperty("contentUri").ToString());
+]]>
+This sample shows how to call GetExportedModelManifest with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetExportedModelManifest("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelFiles")[0].GetProperty("name").ToString());
+Console.WriteLine(result.GetProperty("modelFiles")[0].GetProperty("contentUri").ToString());
+]]>
+
+
+
+This sample shows how to call GetImportStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetImportStatusAsync("", "");
+]]>
+This sample shows how to call GetImportStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetImportStatusAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetImportStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetImportStatus("", "");
+]]>
+This sample shows how to call GetImportStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetImportStatus("", "");
+]]>
+
+
+
+This sample shows how to call GetImportStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetImportStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetImportStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetImportStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetImportStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetImportStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetImportStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetImportStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetTrainedModelAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetTrainedModelAsync("", "");
+]]>
+This sample shows how to call GetTrainedModelAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetTrainedModelAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetTrainedModel.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetTrainedModel("", "");
+]]>
+This sample shows how to call GetTrainedModel with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetTrainedModel("", "");
+]]>
+
+
+
+This sample shows how to call GetTrainedModelAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetTrainedModelAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastTrainingDurationInSeconds").ToString());
+Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("hasSnapshot").ToString());
+]]>
+This sample shows how to call GetTrainedModelAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetTrainedModelAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastTrainingDurationInSeconds").ToString());
+Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("hasSnapshot").ToString());
+]]>
+
+
+
+This sample shows how to call GetTrainedModel and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetTrainedModel("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastTrainingDurationInSeconds").ToString());
+Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("hasSnapshot").ToString());
+]]>
+This sample shows how to call GetTrainedModel with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetTrainedModel("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("modelId").ToString());
+Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastTrainingDurationInSeconds").ToString());
+Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("hasSnapshot").ToString());
+]]>
+
+
+
+This sample shows how to call DeleteTrainedModelAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.DeleteTrainedModelAsync("", "");
+
+Console.WriteLine(response.Status);
+]]>
+This sample shows how to call DeleteTrainedModelAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.DeleteTrainedModelAsync("", "");
+
+Console.WriteLine(response.Status);
+]]>
+
+
+
+This sample shows how to call DeleteTrainedModel.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.DeleteTrainedModel("", "");
+
+Console.WriteLine(response.Status);
+]]>
+This sample shows how to call DeleteTrainedModel with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.DeleteTrainedModel("", "");
+
+Console.WriteLine(response.Status);
+]]>
+
+
+
+This sample shows how to call GetEvaluationStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetEvaluationStatusAsync("", "", "");
+]]>
+This sample shows how to call GetEvaluationStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetEvaluationStatusAsync("", "", "");
+]]>
+
+
+
+This sample shows how to call GetEvaluationStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetEvaluationStatus("", "", "");
+]]>
+This sample shows how to call GetEvaluationStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetEvaluationStatus("", "", "");
+]]>
+
+
+
+This sample shows how to call GetEvaluationStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetEvaluationStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationOptions").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("percentComplete").ToString());
+]]>
+This sample shows how to call GetEvaluationStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetEvaluationStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationOptions").GetProperty("kind").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationOptions").GetProperty("trainingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationOptions").GetProperty("testingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("percentComplete").ToString());
+]]>
+
+
+
+This sample shows how to call GetEvaluationStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetEvaluationStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationOptions").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("percentComplete").ToString());
+]]>
+This sample shows how to call GetEvaluationStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetEvaluationStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationOptions").GetProperty("kind").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationOptions").GetProperty("trainingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationOptions").GetProperty("testingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("percentComplete").ToString());
+]]>
+
+
+
+This sample shows how to call GetModelEvaluationSummaryAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetModelEvaluationSummaryAsync("", "");
+]]>
+This sample shows how to call GetModelEvaluationSummaryAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetModelEvaluationSummaryAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetModelEvaluationSummary.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetModelEvaluationSummary("", "");
+]]>
+This sample shows how to call GetModelEvaluationSummary with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetModelEvaluationSummary("", "");
+]]>
+
+
+
+This sample shows how to call GetModelEvaluationSummaryAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetModelEvaluationSummaryAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").ToString());
+]]>
+This sample shows how to call GetModelEvaluationSummaryAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetModelEvaluationSummaryAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("kind").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("trainingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("testingSplitPercentage").ToString());
+]]>
+
+
+
+This sample shows how to call GetModelEvaluationSummary and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetModelEvaluationSummary("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").ToString());
+]]>
+This sample shows how to call GetModelEvaluationSummary with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetModelEvaluationSummary("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("projectKind").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("kind").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("trainingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("testingSplitPercentage").ToString());
+]]>
+
+
+
+This sample shows how to call GetLoadSnapshotStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetLoadSnapshotStatusAsync("", "", "");
+]]>
+This sample shows how to call GetLoadSnapshotStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetLoadSnapshotStatusAsync("", "", "");
+]]>
+
+
+
+This sample shows how to call GetLoadSnapshotStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetLoadSnapshotStatus("", "", "");
+]]>
+This sample shows how to call GetLoadSnapshotStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetLoadSnapshotStatus("", "", "");
+]]>
+
+
+
+This sample shows how to call GetLoadSnapshotStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetLoadSnapshotStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetLoadSnapshotStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetLoadSnapshotStatusAsync("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetLoadSnapshotStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetLoadSnapshotStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetLoadSnapshotStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetLoadSnapshotStatus("", "", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetAssignDeploymentResourcesStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetAssignDeploymentResourcesStatusAsync("", "");
+]]>
+This sample shows how to call GetAssignDeploymentResourcesStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetAssignDeploymentResourcesStatusAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetAssignDeploymentResourcesStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetAssignDeploymentResourcesStatus("", "");
+]]>
+This sample shows how to call GetAssignDeploymentResourcesStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetAssignDeploymentResourcesStatus("", "");
+]]>
+
+
+
+This sample shows how to call GetAssignDeploymentResourcesStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetAssignDeploymentResourcesStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetAssignDeploymentResourcesStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetAssignDeploymentResourcesStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetAssignDeploymentResourcesStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetAssignDeploymentResourcesStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetAssignDeploymentResourcesStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetAssignDeploymentResourcesStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetUnassignDeploymentResourcesStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetUnassignDeploymentResourcesStatusAsync("", "");
+]]>
+This sample shows how to call GetUnassignDeploymentResourcesStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetUnassignDeploymentResourcesStatusAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetUnassignDeploymentResourcesStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetUnassignDeploymentResourcesStatus("", "");
+]]>
+This sample shows how to call GetUnassignDeploymentResourcesStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetUnassignDeploymentResourcesStatus("", "");
+]]>
+
+
+
+This sample shows how to call GetUnassignDeploymentResourcesStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetUnassignDeploymentResourcesStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetUnassignDeploymentResourcesStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetUnassignDeploymentResourcesStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetUnassignDeploymentResourcesStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetUnassignDeploymentResourcesStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetUnassignDeploymentResourcesStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetUnassignDeploymentResourcesStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetTrainingStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetTrainingStatusAsync("", "");
+]]>
+This sample shows how to call GetTrainingStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetTrainingStatusAsync("", "");
+]]>
+
+
+
+This sample shows how to call GetTrainingStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetTrainingStatus("", "");
+]]>
+This sample shows how to call GetTrainingStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetTrainingStatus("", "");
+]]>
+
+
+
+This sample shows how to call GetTrainingStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetTrainingStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("status").ToString());
+]]>
+This sample shows how to call GetTrainingStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetTrainingStatusAsync("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("estimatedEndDateTime").ToString());
+]]>
+
+
+
+This sample shows how to call GetTrainingStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetTrainingStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("status").ToString());
+]]>
+This sample shows how to call GetTrainingStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetTrainingStatus("", "", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("result").GetProperty("estimatedEndDateTime").ToString());
+]]>
+
+
+
+This sample shows how to call GetProjectDeletionStatusAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetProjectDeletionStatusAsync("");
+]]>
+This sample shows how to call GetProjectDeletionStatusAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetProjectDeletionStatusAsync("");
+]]>
+
+
+
+This sample shows how to call GetProjectDeletionStatus.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetProjectDeletionStatus("");
+]]>
+This sample shows how to call GetProjectDeletionStatus with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetProjectDeletionStatus("");
+]]>
+
+
+
+This sample shows how to call GetProjectDeletionStatusAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetProjectDeletionStatusAsync("", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetProjectDeletionStatusAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = await client.GetProjectDeletionStatusAsync("", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetProjectDeletionStatus and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetProjectDeletionStatus("", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+]]>
+This sample shows how to call GetProjectDeletionStatus with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Response response = client.GetProjectDeletionStatus("", null);
+
+JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement;
+Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+Console.WriteLine(result.GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+]]>
+
+
+
+This sample shows how to call GetProjectsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (ProjectMetadata item in client.GetProjectsAsync())
+{
+}
+]]>
+This sample shows how to call GetProjectsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (ProjectMetadata item in client.GetProjectsAsync(maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetProjects.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (ProjectMetadata item in client.GetProjects())
+{
+}
+]]>
+This sample shows how to call GetProjects with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (ProjectMetadata item in client.GetProjects(maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetProjectsAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetProjectsAsync(null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("projectKind").ToString());
+ Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+ Console.WriteLine(result.GetProperty("projectName").ToString());
+ Console.WriteLine(result.GetProperty("language").ToString());
+}
+]]>
+This sample shows how to call GetProjectsAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetProjectsAsync(1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("projectKind").ToString());
+ Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("confidenceThreshold").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("amlProjectPath").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("isLabelingLocked").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("runGptPredictions").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("gptPredictiveLookahead").ToString());
+ Console.WriteLine(result.GetProperty("projectName").ToString());
+ Console.WriteLine(result.GetProperty("multilingual").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("language").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetProjects and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetProjects(null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("projectKind").ToString());
+ Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+ Console.WriteLine(result.GetProperty("projectName").ToString());
+ Console.WriteLine(result.GetProperty("language").ToString());
+}
+]]>
+This sample shows how to call GetProjects with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetProjects(1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastModifiedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("projectKind").ToString());
+ Console.WriteLine(result.GetProperty("storageInputContainerName").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("confidenceThreshold").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("amlProjectPath").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("isLabelingLocked").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("runGptPredictions").ToString());
+ Console.WriteLine(result.GetProperty("settings").GetProperty("gptPredictiveLookahead").ToString());
+ Console.WriteLine(result.GetProperty("projectName").ToString());
+ Console.WriteLine(result.GetProperty("multilingual").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("language").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetDeploymentsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (ProjectDeployment item in client.GetDeploymentsAsync(""))
+{
+}
+]]>
+This sample shows how to call GetDeploymentsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (ProjectDeployment item in client.GetDeploymentsAsync("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetDeployments.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (ProjectDeployment item in client.GetDeployments(""))
+{
+}
+]]>
+This sample shows how to call GetDeployments with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (ProjectDeployment item in client.GetDeployments("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetDeploymentsAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetDeploymentsAsync("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("deploymentName").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("deploymentExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("resourceId").ToString());
+ Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("region").ToString());
+}
+]]>
+This sample shows how to call GetDeploymentsAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetDeploymentsAsync("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("deploymentName").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("deploymentExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("resourceId").ToString());
+ Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("region").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetDeployments and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetDeployments("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("deploymentName").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("deploymentExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("resourceId").ToString());
+ Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("region").ToString());
+}
+]]>
+This sample shows how to call GetDeployments with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetDeployments("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("deploymentName").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("deploymentExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("resourceId").ToString());
+ Console.WriteLine(result.GetProperty("assignedResources")[0].GetProperty("region").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetExportedModelsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (ExportedTrainedModel item in client.GetExportedModelsAsync(""))
+{
+}
+]]>
+This sample shows how to call GetExportedModelsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (ExportedTrainedModel item in client.GetExportedModelsAsync("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetExportedModels.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (ExportedTrainedModel item in client.GetExportedModels(""))
+{
+}
+]]>
+This sample shows how to call GetExportedModels with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (ExportedTrainedModel item in client.GetExportedModels("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetExportedModelsAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetExportedModelsAsync("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("exportedModelName").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastExportedModelDateTime").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+}
+]]>
+This sample shows how to call GetExportedModelsAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetExportedModelsAsync("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("exportedModelName").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastExportedModelDateTime").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetExportedModels and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetExportedModels("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("exportedModelName").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastExportedModelDateTime").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+}
+]]>
+This sample shows how to call GetExportedModels with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetExportedModels("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("exportedModelName").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastExportedModelDateTime").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetTrainedModelsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (ProjectTrainedModel item in client.GetTrainedModelsAsync(""))
+{
+}
+]]>
+This sample shows how to call GetTrainedModelsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (ProjectTrainedModel item in client.GetTrainedModelsAsync("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetTrainedModels.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (ProjectTrainedModel item in client.GetTrainedModels(""))
+{
+}
+]]>
+This sample shows how to call GetTrainedModels with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (ProjectTrainedModel item in client.GetTrainedModels("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetTrainedModelsAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetTrainedModelsAsync("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("label").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainingDurationInSeconds").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("hasSnapshot").ToString());
+}
+]]>
+This sample shows how to call GetTrainedModelsAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetTrainedModelsAsync("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("label").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainingDurationInSeconds").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("hasSnapshot").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetTrainedModels and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetTrainedModels("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("label").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainingDurationInSeconds").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("hasSnapshot").ToString());
+}
+]]>
+This sample shows how to call GetTrainedModels with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetTrainedModels("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("label").ToString());
+ Console.WriteLine(result.GetProperty("modelId").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastTrainingDurationInSeconds").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+ Console.WriteLine(result.GetProperty("modelTrainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("hasSnapshot").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetModelEvaluationResultsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (DocumentEvaluationResult item in client.GetModelEvaluationResultsAsync("", "", StringIndexType.Utf16CodeUnit))
+{
+}
+]]>
+This sample shows how to call GetModelEvaluationResultsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (DocumentEvaluationResult item in client.GetModelEvaluationResultsAsync("", "", StringIndexType.Utf16CodeUnit, maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetModelEvaluationResults.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (DocumentEvaluationResult item in client.GetModelEvaluationResults("", "", StringIndexType.Utf16CodeUnit))
+{
+}
+]]>
+This sample shows how to call GetModelEvaluationResults with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (DocumentEvaluationResult item in client.GetModelEvaluationResults("", "", StringIndexType.Utf16CodeUnit, maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetModelEvaluationResultsAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetModelEvaluationResultsAsync("", "", "Utf16CodeUnit"))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("projectKind").ToString());
+ Console.WriteLine(result.GetProperty("location").ToString());
+ Console.WriteLine(result.GetProperty("language").ToString());
+}
+]]>
+This sample shows how to call GetModelEvaluationResultsAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetModelEvaluationResultsAsync("", "", "Utf16CodeUnit", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("projectKind").ToString());
+ Console.WriteLine(result.GetProperty("location").ToString());
+ Console.WriteLine(result.GetProperty("language").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetModelEvaluationResults and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetModelEvaluationResults("", "", "Utf16CodeUnit"))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("projectKind").ToString());
+ Console.WriteLine(result.GetProperty("location").ToString());
+ Console.WriteLine(result.GetProperty("language").ToString());
+}
+]]>
+This sample shows how to call GetModelEvaluationResults with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetModelEvaluationResults("", "", "Utf16CodeUnit", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("projectKind").ToString());
+ Console.WriteLine(result.GetProperty("location").ToString());
+ Console.WriteLine(result.GetProperty("language").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetDeploymentResourcesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (AssignedDeploymentResource item in client.GetDeploymentResourcesAsync(""))
+{
+}
+]]>
+This sample shows how to call GetDeploymentResourcesAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (AssignedDeploymentResource item in client.GetDeploymentResourcesAsync("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetDeploymentResources.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (AssignedDeploymentResource item in client.GetDeploymentResources(""))
+{
+}
+]]>
+This sample shows how to call GetDeploymentResources with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (AssignedDeploymentResource item in client.GetDeploymentResources("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetDeploymentResourcesAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetDeploymentResourcesAsync("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("azureResourceId").ToString());
+ Console.WriteLine(result.GetProperty("region").ToString());
+}
+]]>
+This sample shows how to call GetDeploymentResourcesAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetDeploymentResourcesAsync("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("azureResourceId").ToString());
+ Console.WriteLine(result.GetProperty("region").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetDeploymentResources and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetDeploymentResources("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("azureResourceId").ToString());
+ Console.WriteLine(result.GetProperty("region").ToString());
+}
+]]>
+This sample shows how to call GetDeploymentResources with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetDeploymentResources("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("azureResourceId").ToString());
+ Console.WriteLine(result.GetProperty("region").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetTrainingJobsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (TrainingJobState item in client.GetTrainingJobsAsync(""))
+{
+}
+]]>
+This sample shows how to call GetTrainingJobsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (TrainingJobState item in client.GetTrainingJobsAsync("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetTrainingJobs.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (TrainingJobState item in client.GetTrainingJobs(""))
+{
+}
+]]>
+This sample shows how to call GetTrainingJobs with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (TrainingJobState item in client.GetTrainingJobs("", maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetTrainingJobsAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetTrainingJobsAsync("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("jobId").ToString());
+ Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("status").ToString());
+}
+]]>
+This sample shows how to call GetTrainingJobsAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetTrainingJobsAsync("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("jobId").ToString());
+ Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("startDateTime").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("endDateTime").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("percentComplete").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("startDateTime").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("endDateTime").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("estimatedEndDateTime").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetTrainingJobs and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetTrainingJobs("", null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("jobId").ToString());
+ Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("status").ToString());
+}
+]]>
+This sample shows how to call GetTrainingJobs with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetTrainingJobs("", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("jobId").ToString());
+ Console.WriteLine(result.GetProperty("createdDateTime").ToString());
+ Console.WriteLine(result.GetProperty("lastUpdatedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("expirationDateTime").ToString());
+ Console.WriteLine(result.GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("warnings")[0].GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("target").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("target").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("details")[0].GetProperty("innererror").GetProperty("target").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("code").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("message").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("details").GetProperty("").ToString());
+ Console.WriteLine(result.GetProperty("errors")[0].GetProperty("innererror").GetProperty("target").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("modelLabel").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("startDateTime").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("endDateTime").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("trainingStatus").GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("percentComplete").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("startDateTime").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("endDateTime").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("evaluationStatus").GetProperty("status").ToString());
+ Console.WriteLine(result.GetProperty("result").GetProperty("estimatedEndDateTime").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetAssignedResourceDeploymentsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (AssignedProjectDeploymentsMetadata item in client.GetAssignedResourceDeploymentsAsync())
+{
+}
+]]>
+This sample shows how to call GetAssignedResourceDeploymentsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (AssignedProjectDeploymentsMetadata item in client.GetAssignedResourceDeploymentsAsync(maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetAssignedResourceDeployments.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (AssignedProjectDeploymentsMetadata item in client.GetAssignedResourceDeployments())
+{
+}
+]]>
+This sample shows how to call GetAssignedResourceDeployments with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (AssignedProjectDeploymentsMetadata item in client.GetAssignedResourceDeployments(maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetAssignedResourceDeploymentsAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetAssignedResourceDeploymentsAsync(null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("projectName").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("deploymentName").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("deploymentExpirationDate").ToString());
+}
+]]>
+This sample shows how to call GetAssignedResourceDeploymentsAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetAssignedResourceDeploymentsAsync(1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("projectName").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("deploymentName").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("deploymentExpirationDate").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetAssignedResourceDeployments and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetAssignedResourceDeployments(null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("projectName").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("deploymentName").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("deploymentExpirationDate").ToString());
+}
+]]>
+This sample shows how to call GetAssignedResourceDeployments with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetAssignedResourceDeployments(1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("projectName").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("deploymentName").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("lastDeployedDateTime").ToString());
+ Console.WriteLine(result.GetProperty("deploymentsMetadata")[0].GetProperty("deploymentExpirationDate").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetSupportedLanguagesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (SupportedLanguage item in client.GetSupportedLanguagesAsync())
+{
+}
+]]>
+This sample shows how to call GetSupportedLanguagesAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (SupportedLanguage item in client.GetSupportedLanguagesAsync(projectKind: ProjectKind.CustomSingleLabelClassification, maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetSupportedLanguages.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (SupportedLanguage item in client.GetSupportedLanguages())
+{
+}
+]]>
+This sample shows how to call GetSupportedLanguages with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (SupportedLanguage item in client.GetSupportedLanguages(projectKind: ProjectKind.CustomSingleLabelClassification, maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetSupportedLanguagesAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetSupportedLanguagesAsync(null, null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("languageName").ToString());
+ Console.WriteLine(result.GetProperty("languageCode").ToString());
+}
+]]>
+This sample shows how to call GetSupportedLanguagesAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetSupportedLanguagesAsync("CustomSingleLabelClassification", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("languageName").ToString());
+ Console.WriteLine(result.GetProperty("languageCode").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetSupportedLanguages and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetSupportedLanguages(null, null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("languageName").ToString());
+ Console.WriteLine(result.GetProperty("languageCode").ToString());
+}
+]]>
+This sample shows how to call GetSupportedLanguages with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetSupportedLanguages("CustomSingleLabelClassification", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("languageName").ToString());
+ Console.WriteLine(result.GetProperty("languageCode").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetSupportedPrebuiltEntitiesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (PrebuiltEntity item in client.GetSupportedPrebuiltEntitiesAsync())
+{
+}
+]]>
+This sample shows how to call GetSupportedPrebuiltEntitiesAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (PrebuiltEntity item in client.GetSupportedPrebuiltEntitiesAsync())
+{
+}
+]]>
+
+
+
+This sample shows how to call GetSupportedPrebuiltEntities.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (PrebuiltEntity item in client.GetSupportedPrebuiltEntities())
+{
+}
+]]>
+This sample shows how to call GetSupportedPrebuiltEntities with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (PrebuiltEntity item in client.GetSupportedPrebuiltEntities())
+{
+}
+]]>
+
+
+
+This sample shows how to call GetSupportedPrebuiltEntitiesAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetSupportedPrebuiltEntitiesAsync(null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("category").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("examples").ToString());
+}
+]]>
+This sample shows how to call GetSupportedPrebuiltEntitiesAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetSupportedPrebuiltEntitiesAsync(null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("category").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("examples").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetSupportedPrebuiltEntities and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetSupportedPrebuiltEntities(null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("category").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("examples").ToString());
+}
+]]>
+This sample shows how to call GetSupportedPrebuiltEntities with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetSupportedPrebuiltEntities(null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("category").ToString());
+ Console.WriteLine(result.GetProperty("description").ToString());
+ Console.WriteLine(result.GetProperty("examples").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetTrainingConfigVersionsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (TrainingConfigVersion item in client.GetTrainingConfigVersionsAsync())
+{
+}
+]]>
+This sample shows how to call GetTrainingConfigVersionsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (TrainingConfigVersion item in client.GetTrainingConfigVersionsAsync(projectKind: ProjectKind.CustomSingleLabelClassification, maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetTrainingConfigVersions.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (TrainingConfigVersion item in client.GetTrainingConfigVersions())
+{
+}
+]]>
+This sample shows how to call GetTrainingConfigVersions with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (TrainingConfigVersion item in client.GetTrainingConfigVersions(projectKind: ProjectKind.CustomSingleLabelClassification, maxCount: 1234, skip: 1234, maxpagesize: 1234))
+{
+}
+]]>
+
+
+
+This sample shows how to call GetTrainingConfigVersionsAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetTrainingConfigVersionsAsync(null, null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+}
+]]>
+This sample shows how to call GetTrainingConfigVersionsAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+await foreach (BinaryData item in client.GetTrainingConfigVersionsAsync("CustomSingleLabelClassification", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+}
+]]>
+
+
+
+This sample shows how to call GetTrainingConfigVersions and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetTrainingConfigVersions(null, null, null, null, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+}
+]]>
+This sample shows how to call GetTrainingConfigVersions with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+foreach (BinaryData item in client.GetTrainingConfigVersions("CustomSingleLabelClassification", 1234, 1234, 1234, null))
+{
+ JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement;
+ Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+ Console.WriteLine(result.GetProperty("modelExpirationDate").ToString());
+}
+]]>
+
+
+
+This sample shows how to call DeleteProjectAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.DeleteProjectAsync(WaitUntil.Completed, "");
+]]>
+This sample shows how to call DeleteProjectAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.DeleteProjectAsync(WaitUntil.Completed, "");
+]]>
+
+
+
+This sample shows how to call DeleteProject.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.DeleteProject(WaitUntil.Completed, "");
+]]>
+This sample shows how to call DeleteProject with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.DeleteProject(WaitUntil.Completed, "");
+]]>
+
+
+
+This sample shows how to call CopyProjectAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+CopyProjectConfig body = new CopyProjectConfig(
+ProjectKind.CustomSingleLabelClassification,
+"",
+"",
+DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"),
+"",
+"");
+Operation operation = await client.CopyProjectAsync(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call CopyProjectAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+CopyProjectConfig body = new CopyProjectConfig(
+ProjectKind.CustomSingleLabelClassification,
+"",
+"",
+DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"),
+"",
+"");
+Operation operation = await client.CopyProjectAsync(WaitUntil.Completed, "", body);
+]]>
+
+
+
+This sample shows how to call CopyProject.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+CopyProjectConfig body = new CopyProjectConfig(
+ProjectKind.CustomSingleLabelClassification,
+"",
+"",
+DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"),
+"",
+"");
+Operation operation = client.CopyProject(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call CopyProject with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+CopyProjectConfig body = new CopyProjectConfig(
+ProjectKind.CustomSingleLabelClassification,
+"",
+"",
+DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"),
+"",
+"");
+Operation operation = client.CopyProject(WaitUntil.Completed, "", body);
+]]>
+
+
+
+This sample shows how to call CopyProjectAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ targetProjectName = "",
+ accessToken = "",
+ expiresAt = "2022-05-10T18:57:31.2311892Z",
+ targetResourceId = "",
+ targetResourceRegion = "",
+});
+Operation operation = await client.CopyProjectAsync(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call CopyProjectAsync with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ targetProjectName = "",
+ accessToken = "",
+ expiresAt = "2022-05-10T18:57:31.2311892Z",
+ targetResourceId = "",
+ targetResourceRegion = "",
+});
+Operation operation = await client.CopyProjectAsync(WaitUntil.Completed, "", content);
+]]>
+
+
+
+This sample shows how to call CopyProject.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ targetProjectName = "",
+ accessToken = "",
+ expiresAt = "2022-05-10T18:57:31.2311892Z",
+ targetResourceId = "",
+ targetResourceRegion = "",
+});
+Operation operation = client.CopyProject(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call CopyProject with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectKind = "CustomSingleLabelClassification",
+ targetProjectName = "",
+ accessToken = "",
+ expiresAt = "2022-05-10T18:57:31.2311892Z",
+ targetResourceId = "",
+ targetResourceRegion = "",
+});
+Operation operation = client.CopyProject(WaitUntil.Completed, "", content);
+]]>
+
+
+
+This sample shows how to call ExportAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.ExportAsync(WaitUntil.Completed, "", StringIndexType.Utf16CodeUnit);
+]]>
+This sample shows how to call ExportAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.ExportAsync(WaitUntil.Completed, "", StringIndexType.Utf16CodeUnit, assetKind: "", trainedModelLabel: "");
+]]>
+
+
+
+This sample shows how to call Export.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.Export(WaitUntil.Completed, "", StringIndexType.Utf16CodeUnit);
+]]>
+This sample shows how to call Export with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.Export(WaitUntil.Completed, "", StringIndexType.Utf16CodeUnit, assetKind: "", trainedModelLabel: "");
+]]>
+
+
+
+This sample shows how to call ExportAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.ExportAsync(WaitUntil.Completed, "", "Utf16CodeUnit");
+]]>
+This sample shows how to call ExportAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.ExportAsync(WaitUntil.Completed, "", "Utf16CodeUnit", assetKind: "", trainedModelLabel: "");
+]]>
+
+
+
+This sample shows how to call Export.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.Export(WaitUntil.Completed, "", "Utf16CodeUnit");
+]]>
+This sample shows how to call Export with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.Export(WaitUntil.Completed, "", "Utf16CodeUnit", assetKind: "", trainedModelLabel: "");
+]]>
+
+
+
+This sample shows how to call ImportAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+ExportedProject body = new ExportedProject("", StringIndexType.Utf16CodeUnit, new CreateProjectConfig(ProjectKind.CustomSingleLabelClassification, "", "", ""));
+Operation operation = await client.ImportAsync(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call ImportAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+ExportedProject body = new ExportedProject("", StringIndexType.Utf16CodeUnit, new CreateProjectConfig(ProjectKind.CustomSingleLabelClassification, "", "", "")
+{
+ Settings = new ProjectSettings
+ {
+ ConfidenceThreshold = 123.45F,
+ AmlProjectPath = "",
+ IsLabelingLocked = true,
+ RunGptPredictions = true,
+ GptPredictiveLookahead = 1234,
+ },
+ Multilingual = true,
+ Description = "",
+})
+{
+ Assets = new ExportedCustomAbstractiveSummarizationProjectAssets
+ {
+ Documents = {new ExportedCustomAbstractiveSummarizationDocument("")
+ {
+ Location = "",
+ Language = "",
+ Dataset = "",
+ }},
+ },
+};
+Operation operation = await client.ImportAsync(WaitUntil.Completed, "", body, format: "");
+]]>
+
+
+
+This sample shows how to call Import.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+ExportedProject body = new ExportedProject("", StringIndexType.Utf16CodeUnit, new CreateProjectConfig(ProjectKind.CustomSingleLabelClassification, "", "", ""));
+Operation operation = client.Import(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call Import with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+ExportedProject body = new ExportedProject("", StringIndexType.Utf16CodeUnit, new CreateProjectConfig(ProjectKind.CustomSingleLabelClassification, "", "", "")
+{
+ Settings = new ProjectSettings
+ {
+ ConfidenceThreshold = 123.45F,
+ AmlProjectPath = "",
+ IsLabelingLocked = true,
+ RunGptPredictions = true,
+ GptPredictiveLookahead = 1234,
+ },
+ Multilingual = true,
+ Description = "",
+})
+{
+ Assets = new ExportedCustomAbstractiveSummarizationProjectAssets
+ {
+ Documents = {new ExportedCustomAbstractiveSummarizationDocument("")
+ {
+ Location = "",
+ Language = "",
+ Dataset = "",
+ }},
+ },
+};
+Operation operation = client.Import(WaitUntil.Completed, "", body, format: "");
+]]>
+
+
+
+This sample shows how to call ImportAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectFileVersion = "",
+ stringIndexType = "Utf16CodeUnit",
+ metadata = new
+ {
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ projectName = "",
+ language = "",
+ },
+});
+Operation operation = await client.ImportAsync(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call ImportAsync with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectFileVersion = "",
+ stringIndexType = "Utf16CodeUnit",
+ metadata = new
+ {
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ settings = new
+ {
+ confidenceThreshold = 123.45F,
+ amlProjectPath = "",
+ isLabelingLocked = true,
+ runGptPredictions = true,
+ gptPredictiveLookahead = 1234,
+ },
+ projectName = "",
+ multilingual = true,
+ description = "",
+ language = "",
+ },
+ assets = new
+ {
+ documents = new object[]
+ {
+ new
+ {
+ summaryLocation = "",
+ location = "",
+ language = "",
+ dataset = "",
+ }
+ },
+ projectKind = "CustomAbstractiveSummarization",
+ },
+});
+Operation operation = await client.ImportAsync(WaitUntil.Completed, "", content, format: "");
+]]>
+
+
+
+This sample shows how to call Import.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectFileVersion = "",
+ stringIndexType = "Utf16CodeUnit",
+ metadata = new
+ {
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ projectName = "",
+ language = "",
+ },
+});
+Operation operation = client.Import(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call Import with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ projectFileVersion = "",
+ stringIndexType = "Utf16CodeUnit",
+ metadata = new
+ {
+ projectKind = "CustomSingleLabelClassification",
+ storageInputContainerName = "",
+ settings = new
+ {
+ confidenceThreshold = 123.45F,
+ amlProjectPath = "",
+ isLabelingLocked = true,
+ runGptPredictions = true,
+ gptPredictiveLookahead = 1234,
+ },
+ projectName = "",
+ multilingual = true,
+ description = "",
+ language = "",
+ },
+ assets = new
+ {
+ documents = new object[]
+ {
+ new
+ {
+ summaryLocation = "",
+ location = "",
+ language = "",
+ dataset = "",
+ }
+ },
+ projectKind = "CustomAbstractiveSummarization",
+ },
+});
+Operation operation = client.Import(WaitUntil.Completed, "", content, format: "");
+]]>
+
+
+
+This sample shows how to call TrainAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+TrainingJobConfig body = new TrainingJobConfig("", "");
+Operation operation = await client.TrainAsync(WaitUntil.Completed, "", body);
+TrainingJobResult responseData = operation.Value;
+]]>
+This sample shows how to call TrainAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+TrainingJobConfig body = new TrainingJobConfig("", "")
+{
+ EvaluationOptions = new EvaluationConfig
+ {
+ Kind = EvaluationKind.Percentage,
+ TrainingSplitPercentage = 1234,
+ TestingSplitPercentage = 1234,
+ },
+ DataGenerationSettings = new DataGenerationSettings(true, new DataGenerationConnectionInfo("", "")),
+};
+Operation operation = await client.TrainAsync(WaitUntil.Completed, "", body);
+TrainingJobResult responseData = operation.Value;
+]]>
+
+
+
+This sample shows how to call Train.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+TrainingJobConfig body = new TrainingJobConfig("", "");
+Operation operation = client.Train(WaitUntil.Completed, "", body);
+TrainingJobResult responseData = operation.Value;
+]]>
+This sample shows how to call Train with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+TrainingJobConfig body = new TrainingJobConfig("", "")
+{
+ EvaluationOptions = new EvaluationConfig
+ {
+ Kind = EvaluationKind.Percentage,
+ TrainingSplitPercentage = 1234,
+ TestingSplitPercentage = 1234,
+ },
+ DataGenerationSettings = new DataGenerationSettings(true, new DataGenerationConnectionInfo("", "")),
+};
+Operation operation = client.Train(WaitUntil.Completed, "", body);
+TrainingJobResult responseData = operation.Value;
+]]>
+
+
+
+This sample shows how to call TrainAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ modelLabel = "",
+ trainingConfigVersion = "",
+});
+Operation operation = await client.TrainAsync(WaitUntil.Completed, "", content);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("status").ToString());
+]]>
+This sample shows how to call TrainAsync with all parameters and request content and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ modelLabel = "",
+ trainingConfigVersion = "",
+ evaluationOptions = new
+ {
+ kind = "percentage",
+ trainingSplitPercentage = 1234,
+ testingSplitPercentage = 1234,
+ },
+ dataGenerationSettings = new
+ {
+ enableDataGeneration = true,
+ dataGenerationConnectionInfo = new
+ {
+ kind = "azureOpenAI",
+ resourceId = "",
+ deploymentName = "",
+ },
+ },
+});
+Operation operation = await client.TrainAsync(WaitUntil.Completed, "", content);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("estimatedEndDateTime").ToString());
+]]>
+
+
+
+This sample shows how to call Train and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ modelLabel = "",
+ trainingConfigVersion = "",
+});
+Operation operation = client.Train(WaitUntil.Completed, "", content);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("status").ToString());
+]]>
+This sample shows how to call Train with all parameters and request content and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ modelLabel = "",
+ trainingConfigVersion = "",
+ evaluationOptions = new
+ {
+ kind = "percentage",
+ trainingSplitPercentage = 1234,
+ testingSplitPercentage = 1234,
+ },
+ dataGenerationSettings = new
+ {
+ enableDataGeneration = true,
+ dataGenerationConnectionInfo = new
+ {
+ kind = "azureOpenAI",
+ resourceId = "",
+ deploymentName = "",
+ },
+ },
+});
+Operation operation = client.Train(WaitUntil.Completed, "", content);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("estimatedEndDateTime").ToString());
+]]>
+
+
+
+This sample shows how to call DeployProjectAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+CreateDeploymentConfig body = new CreateDeploymentConfig("");
+Operation operation = await client.DeployProjectAsync(WaitUntil.Completed, "", "", body);
+]]>
+This sample shows how to call DeployProjectAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+CreateDeploymentConfig body = new CreateDeploymentConfig("")
+{
+ AssignedResourceIds = { "" },
+};
+Operation operation = await client.DeployProjectAsync(WaitUntil.Completed, "", "", body);
+]]>
+
+
+
+This sample shows how to call DeployProject.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+CreateDeploymentConfig body = new CreateDeploymentConfig("");
+Operation operation = client.DeployProject(WaitUntil.Completed, "", "", body);
+]]>
+This sample shows how to call DeployProject with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+CreateDeploymentConfig body = new CreateDeploymentConfig("")
+{
+ AssignedResourceIds = { "" },
+};
+Operation operation = client.DeployProject(WaitUntil.Completed, "", "", body);
+]]>
+
+
+
+This sample shows how to call DeployProjectAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ trainedModelLabel = "",
+});
+Operation operation = await client.DeployProjectAsync(WaitUntil.Completed, "", "", content);
+]]>
+This sample shows how to call DeployProjectAsync with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ trainedModelLabel = "",
+ assignedResourceIds = new object[]
+ {
+ ""
+ },
+});
+Operation operation = await client.DeployProjectAsync(WaitUntil.Completed, "", "", content);
+]]>
+
+
+
+This sample shows how to call DeployProject.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ trainedModelLabel = "",
+});
+Operation operation = client.DeployProject(WaitUntil.Completed, "", "", content);
+]]>
+This sample shows how to call DeployProject with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ trainedModelLabel = "",
+ assignedResourceIds = new object[]
+ {
+ ""
+ },
+});
+Operation operation = client.DeployProject(WaitUntil.Completed, "", "", content);
+]]>
+
+
+
+This sample shows how to call DeleteDeploymentAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.DeleteDeploymentAsync(WaitUntil.Completed, "", "");
+]]>
+This sample shows how to call DeleteDeploymentAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.DeleteDeploymentAsync(WaitUntil.Completed, "", "");
+]]>
+
+
+
+This sample shows how to call DeleteDeployment.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.DeleteDeployment(WaitUntil.Completed, "", "");
+]]>
+This sample shows how to call DeleteDeployment with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.DeleteDeployment(WaitUntil.Completed, "", "");
+]]>
+
+
+
+This sample shows how to call DeleteDeploymentFromResourcesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+DeleteDeploymentConfig body = new DeleteDeploymentConfig();
+Operation operation = await client.DeleteDeploymentFromResourcesAsync(WaitUntil.Completed, "", "", body);
+]]>
+This sample shows how to call DeleteDeploymentFromResourcesAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+DeleteDeploymentConfig body = new DeleteDeploymentConfig
+{
+ AssignedResourceIds = { "" },
+};
+Operation operation = await client.DeleteDeploymentFromResourcesAsync(WaitUntil.Completed, "", "", body);
+]]>
+
+
+
+This sample shows how to call DeleteDeploymentFromResources.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+DeleteDeploymentConfig body = new DeleteDeploymentConfig();
+Operation operation = client.DeleteDeploymentFromResources(WaitUntil.Completed, "", "", body);
+]]>
+This sample shows how to call DeleteDeploymentFromResources with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+DeleteDeploymentConfig body = new DeleteDeploymentConfig
+{
+ AssignedResourceIds = { "" },
+};
+Operation operation = client.DeleteDeploymentFromResources(WaitUntil.Completed, "", "", body);
+]]>
+
+
+
+This sample shows how to call DeleteDeploymentFromResourcesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new object());
+Operation operation = await client.DeleteDeploymentFromResourcesAsync(WaitUntil.Completed, "", "", content);
+]]>
+This sample shows how to call DeleteDeploymentFromResourcesAsync with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ assignedResourceIds = new object[]
+ {
+ ""
+ },
+});
+Operation operation = await client.DeleteDeploymentFromResourcesAsync(WaitUntil.Completed, "", "", content);
+]]>
+
+
+
+This sample shows how to call DeleteDeploymentFromResources.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new object());
+Operation operation = client.DeleteDeploymentFromResources(WaitUntil.Completed, "", "", content);
+]]>
+This sample shows how to call DeleteDeploymentFromResources with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ assignedResourceIds = new object[]
+ {
+ ""
+ },
+});
+Operation operation = client.DeleteDeploymentFromResources(WaitUntil.Completed, "", "", content);
+]]>
+
+
+
+This sample shows how to call SwapDeploymentsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+SwapDeploymentsConfig body = new SwapDeploymentsConfig("", "");
+Operation operation = await client.SwapDeploymentsAsync(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call SwapDeploymentsAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+SwapDeploymentsConfig body = new SwapDeploymentsConfig("", "");
+Operation operation = await client.SwapDeploymentsAsync(WaitUntil.Completed, "", body);
+]]>
+
+
+
+This sample shows how to call SwapDeployments.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+SwapDeploymentsConfig body = new SwapDeploymentsConfig("", "");
+Operation operation = client.SwapDeployments(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call SwapDeployments with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+SwapDeploymentsConfig body = new SwapDeploymentsConfig("", "");
+Operation operation = client.SwapDeployments(WaitUntil.Completed, "", body);
+]]>
+
+
+
+This sample shows how to call SwapDeploymentsAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ firstDeploymentName = "",
+ secondDeploymentName = "",
+});
+Operation operation = await client.SwapDeploymentsAsync(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call SwapDeploymentsAsync with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ firstDeploymentName = "",
+ secondDeploymentName = "",
+});
+Operation operation = await client.SwapDeploymentsAsync(WaitUntil.Completed, "", content);
+]]>
+
+
+
+This sample shows how to call SwapDeployments.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ firstDeploymentName = "",
+ secondDeploymentName = "",
+});
+Operation operation = client.SwapDeployments(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call SwapDeployments with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ firstDeploymentName = "",
+ secondDeploymentName = "",
+});
+Operation operation = client.SwapDeployments(WaitUntil.Completed, "", content);
+]]>
+
+
+
+This sample shows how to call CreateOrUpdateExportedModelAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+ExportedModelConfig body = new ExportedModelConfig("");
+Operation operation = await client.CreateOrUpdateExportedModelAsync(WaitUntil.Completed, "", "", body);
+]]>
+This sample shows how to call CreateOrUpdateExportedModelAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+ExportedModelConfig body = new ExportedModelConfig("");
+Operation operation = await client.CreateOrUpdateExportedModelAsync(WaitUntil.Completed, "", "", body);
+]]>
+
+
+
+This sample shows how to call CreateOrUpdateExportedModel.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+ExportedModelConfig body = new ExportedModelConfig("");
+Operation operation = client.CreateOrUpdateExportedModel(WaitUntil.Completed, "", "", body);
+]]>
+This sample shows how to call CreateOrUpdateExportedModel with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+ExportedModelConfig body = new ExportedModelConfig("");
+Operation operation = client.CreateOrUpdateExportedModel(WaitUntil.Completed, "", "", body);
+]]>
+
+
+
+This sample shows how to call CreateOrUpdateExportedModelAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ trainedModelLabel = "",
+});
+Operation operation = await client.CreateOrUpdateExportedModelAsync(WaitUntil.Completed, "", "", content);
+]]>
+This sample shows how to call CreateOrUpdateExportedModelAsync with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ trainedModelLabel = "",
+});
+Operation operation = await client.CreateOrUpdateExportedModelAsync(WaitUntil.Completed, "", "", content);
+]]>
+
+
+
+This sample shows how to call CreateOrUpdateExportedModel.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ trainedModelLabel = "",
+});
+Operation operation = client.CreateOrUpdateExportedModel(WaitUntil.Completed, "", "", content);
+]]>
+This sample shows how to call CreateOrUpdateExportedModel with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ trainedModelLabel = "",
+});
+Operation operation = client.CreateOrUpdateExportedModel(WaitUntil.Completed, "", "", content);
+]]>
+
+
+
+This sample shows how to call DeleteExportedModelAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.DeleteExportedModelAsync(WaitUntil.Completed, "", "");
+]]>
+This sample shows how to call DeleteExportedModelAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.DeleteExportedModelAsync(WaitUntil.Completed, "", "");
+]]>
+
+
+
+This sample shows how to call DeleteExportedModel.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.DeleteExportedModel(WaitUntil.Completed, "", "");
+]]>
+This sample shows how to call DeleteExportedModel with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.DeleteExportedModel(WaitUntil.Completed, "", "");
+]]>
+
+
+
+This sample shows how to call EvaluateModelAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+EvaluationConfig body = new EvaluationConfig();
+Operation operation = await client.EvaluateModelAsync(WaitUntil.Completed, "", "", body);
+EvaluationJobResult responseData = operation.Value;
+]]>
+This sample shows how to call EvaluateModelAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+EvaluationConfig body = new EvaluationConfig
+{
+ Kind = EvaluationKind.Percentage,
+ TrainingSplitPercentage = 1234,
+ TestingSplitPercentage = 1234,
+};
+Operation operation = await client.EvaluateModelAsync(WaitUntil.Completed, "", "", body);
+EvaluationJobResult responseData = operation.Value;
+]]>
+
+
+
+This sample shows how to call EvaluateModel.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+EvaluationConfig body = new EvaluationConfig();
+Operation operation = client.EvaluateModel(WaitUntil.Completed, "", "", body);
+EvaluationJobResult responseData = operation.Value;
+]]>
+This sample shows how to call EvaluateModel with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+EvaluationConfig body = new EvaluationConfig
+{
+ Kind = EvaluationKind.Percentage,
+ TrainingSplitPercentage = 1234,
+ TestingSplitPercentage = 1234,
+};
+Operation operation = client.EvaluateModel(WaitUntil.Completed, "", "", body);
+EvaluationJobResult responseData = operation.Value;
+]]>
+
+
+
+This sample shows how to call EvaluateModelAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new object());
+Operation operation = await client.EvaluateModelAsync(WaitUntil.Completed, "", "", content);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("evaluationOptions").ToString());
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("percentComplete").ToString());
+]]>
+This sample shows how to call EvaluateModelAsync with all parameters and request content and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ kind = "percentage",
+ trainingSplitPercentage = 1234,
+ testingSplitPercentage = 1234,
+});
+Operation operation = await client.EvaluateModelAsync(WaitUntil.Completed, "", "", content);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("kind").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("trainingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("testingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("percentComplete").ToString());
+]]>
+
+
+
+This sample shows how to call EvaluateModel and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new object());
+Operation operation = client.EvaluateModel(WaitUntil.Completed, "", "", content);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("evaluationOptions").ToString());
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("percentComplete").ToString());
+]]>
+This sample shows how to call EvaluateModel with all parameters and request content and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ kind = "percentage",
+ trainingSplitPercentage = 1234,
+ testingSplitPercentage = 1234,
+});
+Operation operation = client.EvaluateModel(WaitUntil.Completed, "", "", content);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("kind").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("trainingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("evaluationOptions").GetProperty("testingSplitPercentage").ToString());
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("percentComplete").ToString());
+]]>
+
+
+
+This sample shows how to call LoadSnapshotAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.LoadSnapshotAsync(WaitUntil.Completed, "", "");
+]]>
+This sample shows how to call LoadSnapshotAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.LoadSnapshotAsync(WaitUntil.Completed, "", "");
+]]>
+
+
+
+This sample shows how to call LoadSnapshot.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.LoadSnapshot(WaitUntil.Completed, "", "");
+]]>
+This sample shows how to call LoadSnapshot with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.LoadSnapshot(WaitUntil.Completed, "", "");
+]]>
+
+
+
+This sample shows how to call AssignDeploymentResourcesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+AssignDeploymentResourcesConfig body = new AssignDeploymentResourcesConfig(new ResourceMetadata[]
+{
+ new ResourceMetadata("", "", "")
+});
+Operation operation = await client.AssignDeploymentResourcesAsync(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call AssignDeploymentResourcesAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+AssignDeploymentResourcesConfig body = new AssignDeploymentResourcesConfig(new ResourceMetadata[]
+{
+ new ResourceMetadata("", "", "")
+});
+Operation operation = await client.AssignDeploymentResourcesAsync(WaitUntil.Completed, "", body);
+]]>
+
+
+
+This sample shows how to call AssignDeploymentResources.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+AssignDeploymentResourcesConfig body = new AssignDeploymentResourcesConfig(new ResourceMetadata[]
+{
+ new ResourceMetadata("", "", "")
+});
+Operation operation = client.AssignDeploymentResources(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call AssignDeploymentResources with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+AssignDeploymentResourcesConfig body = new AssignDeploymentResourcesConfig(new ResourceMetadata[]
+{
+ new ResourceMetadata("", "", "")
+});
+Operation operation = client.AssignDeploymentResources(WaitUntil.Completed, "", body);
+]]>
+
+
+
+This sample shows how to call AssignDeploymentResourcesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ resourcesMetadata = new object[]
+ {
+ new
+ {
+ azureResourceId = "",
+ customDomain = "",
+ region = "",
+ }
+ },
+});
+Operation operation = await client.AssignDeploymentResourcesAsync(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call AssignDeploymentResourcesAsync with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ resourcesMetadata = new object[]
+ {
+ new
+ {
+ azureResourceId = "",
+ customDomain = "",
+ region = "",
+ }
+ },
+});
+Operation operation = await client.AssignDeploymentResourcesAsync(WaitUntil.Completed, "", content);
+]]>
+
+
+
+This sample shows how to call AssignDeploymentResources.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ resourcesMetadata = new object[]
+ {
+ new
+ {
+ azureResourceId = "",
+ customDomain = "",
+ region = "",
+ }
+ },
+});
+Operation operation = client.AssignDeploymentResources(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call AssignDeploymentResources with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ resourcesMetadata = new object[]
+ {
+ new
+ {
+ azureResourceId = "",
+ customDomain = "",
+ region = "",
+ }
+ },
+});
+Operation operation = client.AssignDeploymentResources(WaitUntil.Completed, "", content);
+]]>
+
+
+
+This sample shows how to call UnassignDeploymentResourcesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+UnassignDeploymentResourcesConfig body = new UnassignDeploymentResourcesConfig(new string[] { "" });
+Operation operation = await client.UnassignDeploymentResourcesAsync(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call UnassignDeploymentResourcesAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+UnassignDeploymentResourcesConfig body = new UnassignDeploymentResourcesConfig(new string[] { "" });
+Operation operation = await client.UnassignDeploymentResourcesAsync(WaitUntil.Completed, "", body);
+]]>
+
+
+
+This sample shows how to call UnassignDeploymentResources.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+UnassignDeploymentResourcesConfig body = new UnassignDeploymentResourcesConfig(new string[] { "" });
+Operation operation = client.UnassignDeploymentResources(WaitUntil.Completed, "", body);
+]]>
+This sample shows how to call UnassignDeploymentResources with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+UnassignDeploymentResourcesConfig body = new UnassignDeploymentResourcesConfig(new string[] { "" });
+Operation operation = client.UnassignDeploymentResources(WaitUntil.Completed, "", body);
+]]>
+
+
+
+This sample shows how to call UnassignDeploymentResourcesAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ assignedResourceIds = new object[]
+ {
+ ""
+ },
+});
+Operation operation = await client.UnassignDeploymentResourcesAsync(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call UnassignDeploymentResourcesAsync with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ assignedResourceIds = new object[]
+ {
+ ""
+ },
+});
+Operation operation = await client.UnassignDeploymentResourcesAsync(WaitUntil.Completed, "", content);
+]]>
+
+
+
+This sample shows how to call UnassignDeploymentResources.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ assignedResourceIds = new object[]
+ {
+ ""
+ },
+});
+Operation operation = client.UnassignDeploymentResources(WaitUntil.Completed, "", content);
+]]>
+This sample shows how to call UnassignDeploymentResources with all parameters and request content.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+using RequestContent content = RequestContent.Create(new
+{
+ assignedResourceIds = new object[]
+ {
+ ""
+ },
+});
+Operation operation = client.UnassignDeploymentResources(WaitUntil.Completed, "", content);
+]]>
+
+
+
+This sample shows how to call CancelTrainingJobAsync.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.CancelTrainingJobAsync(WaitUntil.Completed, "", "");
+TrainingJobResult responseData = operation.Value;
+]]>
+This sample shows how to call CancelTrainingJobAsync with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.CancelTrainingJobAsync(WaitUntil.Completed, "", "");
+TrainingJobResult responseData = operation.Value;
+]]>
+
+
+
+This sample shows how to call CancelTrainingJob.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.CancelTrainingJob(WaitUntil.Completed, "", "");
+TrainingJobResult responseData = operation.Value;
+]]>
+This sample shows how to call CancelTrainingJob with all parameters.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.CancelTrainingJob(WaitUntil.Completed, "", "");
+TrainingJobResult responseData = operation.Value;
+]]>
+
+
+
+This sample shows how to call CancelTrainingJobAsync and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.CancelTrainingJobAsync(WaitUntil.Completed, "", "", null);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("status").ToString());
+]]>
+This sample shows how to call CancelTrainingJobAsync with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = await client.CancelTrainingJobAsync(WaitUntil.Completed, "", "", null);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("estimatedEndDateTime").ToString());
+]]>
+
+
+
+This sample shows how to call CancelTrainingJob and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.CancelTrainingJob(WaitUntil.Completed, "", "", null);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("status").ToString());
+]]>
+This sample shows how to call CancelTrainingJob with all parameters and parse the result.
+");
+AzureKeyCredential credential = new AzureKeyCredential("");
+TextAnalysisAuthoring client = new AnalyzetextClient(endpoint, credential).GetTextAnalysisAuthoringClient(apiVersion: "2024-11-15-preview");
+
+Operation operation = client.CancelTrainingJob(WaitUntil.Completed, "", "", null);
+BinaryData responseData = operation.Value;
+
+JsonElement result = JsonDocument.Parse(responseData.ToStream()).RootElement;
+Console.WriteLine(result.GetProperty("modelLabel").ToString());
+Console.WriteLine(result.GetProperty("trainingConfigVersion").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("trainingStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("percentComplete").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("startDateTime").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("endDateTime").ToString());
+Console.WriteLine(result.GetProperty("evaluationStatus").GetProperty("status").ToString());
+Console.WriteLine(result.GetProperty("estimatedEndDateTime").ToString());
+]]>
+
+
+
\ No newline at end of file
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/Argument.cs b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/Argument.cs
new file mode 100644
index 000000000000..1b6d1bf0463c
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/Argument.cs
@@ -0,0 +1,129 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Azure.AI.Language.Authoring.Analyzetext
+{
+ internal static class Argument
+ {
+ public static void AssertNotNull(T value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ }
+
+ public static void AssertNotNull(T? value, string name)
+ where T : struct
+ {
+ if (!value.HasValue)
+ {
+ throw new ArgumentNullException(name);
+ }
+ }
+
+ public static void AssertNotNullOrEmpty(IEnumerable value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (value is ICollection collectionOfT && collectionOfT.Count == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ if (value is ICollection collection && collection.Count == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ using IEnumerator e = value.GetEnumerator();
+ if (!e.MoveNext())
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ }
+
+ public static void AssertNotNullOrEmpty(string value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (value.Length == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty string.", name);
+ }
+ }
+
+ public static void AssertNotNullOrWhiteSpace(string value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (string.IsNullOrWhiteSpace(value))
+ {
+ throw new ArgumentException("Value cannot be empty or contain only white-space characters.", name);
+ }
+ }
+
+ public static void AssertNotDefault(ref T value, string name)
+ where T : struct, IEquatable
+ {
+ if (value.Equals(default))
+ {
+ throw new ArgumentException("Value cannot be empty.", name);
+ }
+ }
+
+ public static void AssertInRange(T value, T minimum, T maximum, string name)
+ where T : notnull, IComparable
+ {
+ if (minimum.CompareTo(value) > 0)
+ {
+ throw new ArgumentOutOfRangeException(name, "Value is less than the minimum allowed.");
+ }
+ if (maximum.CompareTo(value) < 0)
+ {
+ throw new ArgumentOutOfRangeException(name, "Value is greater than the maximum allowed.");
+ }
+ }
+
+ public static void AssertEnumDefined(Type enumType, object value, string name)
+ {
+ if (!Enum.IsDefined(enumType, value))
+ {
+ throw new ArgumentException($"Value not defined for {enumType.FullName}.", name);
+ }
+ }
+
+ public static T CheckNotNull(T value, string name)
+ where T : class
+ {
+ AssertNotNull(value, name);
+ return value;
+ }
+
+ public static string CheckNotNullOrEmpty(string value, string name)
+ {
+ AssertNotNullOrEmpty(value, name);
+ return value;
+ }
+
+ public static void AssertNull(T value, string name, string message = null)
+ {
+ if (value != null)
+ {
+ throw new ArgumentException(message ?? "Value must be null.", name);
+ }
+ }
+ }
+}
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ChangeTrackingDictionary.cs b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ChangeTrackingDictionary.cs
new file mode 100644
index 000000000000..f2231f9286d3
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ChangeTrackingDictionary.cs
@@ -0,0 +1,167 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Azure.AI.Language.Authoring.Analyzetext
+{
+ internal class ChangeTrackingDictionary : IDictionary, IReadOnlyDictionary where TKey : notnull
+ {
+ private IDictionary _innerDictionary;
+
+ public ChangeTrackingDictionary()
+ {
+ }
+
+ public ChangeTrackingDictionary(IDictionary dictionary)
+ {
+ if (dictionary == null)
+ {
+ return;
+ }
+ _innerDictionary = new Dictionary(dictionary);
+ }
+
+ public ChangeTrackingDictionary(IReadOnlyDictionary dictionary)
+ {
+ if (dictionary == null)
+ {
+ return;
+ }
+ _innerDictionary = new Dictionary();
+ foreach (var pair in dictionary)
+ {
+ _innerDictionary.Add(pair);
+ }
+ }
+
+ public bool IsUndefined => _innerDictionary == null;
+
+ public int Count => IsUndefined ? 0 : EnsureDictionary().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureDictionary().IsReadOnly;
+
+ public ICollection Keys => IsUndefined ? Array.Empty() : EnsureDictionary().Keys;
+
+ public ICollection Values => IsUndefined ? Array.Empty() : EnsureDictionary().Values;
+
+ public TValue this[TKey key]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new KeyNotFoundException(nameof(key));
+ }
+ return EnsureDictionary()[key];
+ }
+ set
+ {
+ EnsureDictionary()[key] = value;
+ }
+ }
+
+ IEnumerable IReadOnlyDictionary.Keys => Keys;
+
+ IEnumerable IReadOnlyDictionary.Values => Values;
+
+ public IEnumerator> GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator> enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureDictionary().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(KeyValuePair item)
+ {
+ EnsureDictionary().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureDictionary().Clear();
+ }
+
+ public bool Contains(KeyValuePair item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Contains(item);
+ }
+
+ public void CopyTo(KeyValuePair[] array, int index)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureDictionary().CopyTo(array, index);
+ }
+
+ public bool Remove(KeyValuePair item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Remove(item);
+ }
+
+ public void Add(TKey key, TValue value)
+ {
+ EnsureDictionary().Add(key, value);
+ }
+
+ public bool ContainsKey(TKey key)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().ContainsKey(key);
+ }
+
+ public bool Remove(TKey key)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Remove(key);
+ }
+
+ public bool TryGetValue(TKey key, out TValue value)
+ {
+ if (IsUndefined)
+ {
+ value = default;
+ return false;
+ }
+ return EnsureDictionary().TryGetValue(key, out value);
+ }
+
+ public IDictionary EnsureDictionary()
+ {
+ return _innerDictionary ??= new Dictionary();
+ }
+ }
+}
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ChangeTrackingList.cs b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 000000000000..331e1e903a65
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.AI.Language.Authoring.Analyzetext
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ModelSerializationExtensions.cs b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ModelSerializationExtensions.cs
new file mode 100644
index 000000000000..31915600fb0a
--- /dev/null
+++ b/sdk/cognitivelanguage/Azure.AI.Language.Authoring.Analyzetext/src/Generated/Internal/ModelSerializationExtensions.cs
@@ -0,0 +1,398 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Globalization;
+using System.Text.Json;
+using System.Xml;
+using Azure.Core;
+
+namespace Azure.AI.Language.Authoring.Analyzetext
+{
+ internal static class ModelSerializationExtensions
+ {
+ internal static readonly ModelReaderWriterOptions WireOptions = new ModelReaderWriterOptions("W");
+
+ public static object GetObject(this JsonElement element)
+ {
+ switch (element.ValueKind)
+ {
+ case JsonValueKind.String:
+ return element.GetString();
+ case JsonValueKind.Number:
+ if (element.TryGetInt32(out int intValue))
+ {
+ return intValue;
+ }
+ if (element.TryGetInt64(out long longValue))
+ {
+ return longValue;
+ }
+ return element.GetDouble();
+ case JsonValueKind.True:
+ return true;
+ case JsonValueKind.False:
+ return false;
+ case JsonValueKind.Undefined:
+ case JsonValueKind.Null:
+ return null;
+ case JsonValueKind.Object:
+ var dictionary = new Dictionary();
+ foreach (var jsonProperty in element.EnumerateObject())
+ {
+ dictionary.Add(jsonProperty.Name, jsonProperty.Value.GetObject());
+ }
+ return dictionary;
+ case JsonValueKind.Array:
+ var list = new List