Share via


TextAnalysisAuthoringModelFactory.TextAuthoringProjectMetadata Method

Definition

Initializes a new instance of TextAuthoringProjectMetadata.

public static Azure.AI.Language.Text.Authoring.TextAuthoringProjectMetadata TextAuthoringProjectMetadata(DateTimeOffset createdOn = default, DateTimeOffset lastModifiedOn = default, DateTimeOffset? lastTrainedOn = default, DateTimeOffset? lastDeployedOn = default, Azure.AI.Language.Text.Authoring.TextAuthoringProjectKind projectKind = default, string storageInputContainerName = default, Azure.AI.Language.Text.Authoring.TextAuthoringProjectSettings settings = default, string projectName = default, bool? multilingual = default, string description = default, string language = default);
static member TextAuthoringProjectMetadata : DateTimeOffset * DateTimeOffset * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.AI.Language.Text.Authoring.TextAuthoringProjectKind * string * Azure.AI.Language.Text.Authoring.TextAuthoringProjectSettings * string * Nullable<bool> * string * string -> Azure.AI.Language.Text.Authoring.TextAuthoringProjectMetadata
Public Shared Function TextAuthoringProjectMetadata (Optional createdOn As DateTimeOffset = Nothing, Optional lastModifiedOn As DateTimeOffset = Nothing, Optional lastTrainedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastDeployedOn As Nullable(Of DateTimeOffset) = Nothing, Optional projectKind As TextAuthoringProjectKind = Nothing, Optional storageInputContainerName As String = Nothing, Optional settings As TextAuthoringProjectSettings = Nothing, Optional projectName As String = Nothing, Optional multilingual As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing, Optional language As String = Nothing) As TextAuthoringProjectMetadata

Parameters

createdOn
DateTimeOffset

Represents the project creation datetime.

lastModifiedOn
DateTimeOffset

Represents the project last modification datetime.

lastTrainedOn
Nullable<DateTimeOffset>

Represents the project last training datetime.

lastDeployedOn
Nullable<DateTimeOffset>

Represents the project last deployment datetime.

projectKind
TextAuthoringProjectKind

The project kind.

storageInputContainerName
String

The storage container name.

settings
TextAuthoringProjectSettings

The project settings.

projectName
String

The new project name.

multilingual
Nullable<Boolean>

Whether the project would be used for multiple languages or not.

description
String

The project description.

language
String

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.

Returns

A new TextAuthoringProjectMetadata instance for mocking.

Applies to