Share via


DocumentAnalysisModelFactory.DocumentModelSummary Method

Definition

Initializes a new instance of DocumentModelSummary.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelSummary DocumentModelSummary (string modelId = default, string description = default, DateTimeOffset createdOn = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, DateTimeOffset? expiresOn = default, string serviceVersion = default);
static member DocumentModelSummary : string * string * DateTimeOffset * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<DateTimeOffset> * string -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentModelSummary
Public Shared Function DocumentModelSummary (Optional modelId As String = Nothing, Optional description As String = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional serviceVersion As String = Nothing) As DocumentModelSummary

Parameters

modelId
String

Unique model name.

description
String

Model description.

createdOn
DateTimeOffset

Date and time (UTC) when the model was created.

tags
IReadOnlyDictionary<String,String>

List of key-value tag attributes associated with the model.

expiresOn
Nullable<DateTimeOffset>

Date and time (UTC) when the model expires.

serviceVersion
String

Service version used to create this document model.

Returns

A new DocumentModelSummary instance for mocking.

Applies to