Share via


TextAuthoringProject.Export Method

Definition

Overloads

Export(WaitUntil, StringIndexType, String, String, CancellationToken)

Triggers a job to export a project's data.

Export(WaitUntil, String, String, String, RequestContext)

[Protocol Method] Triggers a job to export a project's data.

Export(WaitUntil, StringIndexType, String, String, CancellationToken)

Source:
TextAuthoringProject.cs

Triggers a job to export a project's data.

public virtual Azure.Operation Export(Azure.WaitUntil waitUntil, Azure.AI.Language.Text.Authoring.StringIndexType stringIndexType, string assetKind = default, string trainedModelLabel = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Export : Azure.WaitUntil * Azure.AI.Language.Text.Authoring.StringIndexType * string * string * System.Threading.CancellationToken -> Azure.Operation
override this.Export : Azure.WaitUntil * Azure.AI.Language.Text.Authoring.StringIndexType * string * string * System.Threading.CancellationToken -> Azure.Operation
Public Overridable Function Export (waitUntil As WaitUntil, stringIndexType As StringIndexType, Optional assetKind As String = Nothing, Optional trainedModelLabel As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

stringIndexType
StringIndexType

Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets.

assetKind
String

Kind of asset to export.

trainedModelLabel
String

Trained model label to export. If the trainedModelLabel is null, the default behavior is to export the current working copy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

Export(WaitUntil, String, String, String, RequestContext)

Source:
TextAuthoringProject.cs

[Protocol Method] Triggers a job to export a project's data.

public virtual Azure.Operation Export(Azure.WaitUntil waitUntil, string stringIndexType, string assetKind = default, string trainedModelLabel = default, Azure.RequestContext context = default);
abstract member Export : Azure.WaitUntil * string * string * string * Azure.RequestContext -> Azure.Operation
override this.Export : Azure.WaitUntil * string * string * string * Azure.RequestContext -> Azure.Operation
Public Overridable Function Export (waitUntil As WaitUntil, stringIndexType As String, Optional assetKind As String = Nothing, Optional trainedModelLabel As String = Nothing, Optional context As RequestContext = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

stringIndexType
String

Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets. Allowed values: "Utf16CodeUnit".

assetKind
String

Kind of asset to export.

trainedModelLabel
String

Trained model label to export. If the trainedModelLabel is null, the default behavior is to export the current working copy.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The Operation representing an asynchronous operation on the service.

Exceptions

Service returned a non-success status code.

Applies to