Share via


TextAnalysisAuthoringModelFactory.TextAuthoringProjectDeployment Method

Definition

Initializes a new instance of TextAuthoringProjectDeployment.

public static Azure.AI.Language.Text.Authoring.TextAuthoringProjectDeployment TextAuthoringProjectDeployment(string deploymentName = default, string modelId = default, DateTimeOffset lastTrainedOn = default, DateTimeOffset lastDeployedOn = default, DateTimeOffset deploymentExpiredOn = default, string modelTrainingConfigVersion = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.Authoring.TextAuthoringDeploymentResource> assignedResources = default);
static member TextAuthoringProjectDeployment : string * string * DateTimeOffset * DateTimeOffset * DateTimeOffset * string * seq<Azure.AI.Language.Text.Authoring.TextAuthoringDeploymentResource> -> Azure.AI.Language.Text.Authoring.TextAuthoringProjectDeployment
Public Shared Function TextAuthoringProjectDeployment (Optional deploymentName As String = Nothing, Optional modelId As String = Nothing, Optional lastTrainedOn As DateTimeOffset = Nothing, Optional lastDeployedOn As DateTimeOffset = Nothing, Optional deploymentExpiredOn As DateTimeOffset = Nothing, Optional modelTrainingConfigVersion As String = Nothing, Optional assignedResources As IEnumerable(Of TextAuthoringDeploymentResource) = Nothing) As TextAuthoringProjectDeployment

Parameters

deploymentName
String

Represents deployment name.

modelId
String

Represents deployment modelId.

lastTrainedOn
DateTimeOffset

Represents deployment last trained time.

lastDeployedOn
DateTimeOffset

Represents deployment last deployed time.

deploymentExpiredOn
DateTimeOffset

Represents deployment expiration date in the runtime.

modelTrainingConfigVersion
String

Represents model training config version.

assignedResources
IEnumerable<TextAuthoringDeploymentResource>

Represents the metadata of the assigned Azure resources.

Returns

A new TextAuthoringProjectDeployment instance for mocking.

Applies to