Freigeben über


WebApiSkill Konstruktoren

Definition

Überlädt

WebApiSkill()

Initialisiert eine neue instance der WebApiSkill-Klasse.

WebApiSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, String, IDictionary<String,String>, String, Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int32>)

Initialisiert eine neue instance der WebApiSkill-Klasse.

WebApiSkill()

Quelle:
WebApiSkill.cs

Initialisiert eine neue instance der WebApiSkill-Klasse.

public WebApiSkill ();
Public Sub New ()

Gilt für:

WebApiSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, String, IDictionary<String,String>, String, Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int32>)

Quelle:
WebApiSkill.cs

Initialisiert eine neue instance der WebApiSkill-Klasse.

public WebApiSkill (System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> inputs, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> outputs, string uri, string name = default, string description = default, string context = default, System.Collections.Generic.IDictionary<string,string> httpHeaders = default, string httpMethod = default, TimeSpan? timeout = default, int? batchSize = default, int? degreeOfParallelism = default);
new Microsoft.Azure.Search.Models.WebApiSkill : System.Collections.Generic.IList<Microsoft.Azure.Search.Models.InputFieldMappingEntry> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.OutputFieldMappingEntry> * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<TimeSpan> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Search.Models.WebApiSkill
Public Sub New (inputs As IList(Of InputFieldMappingEntry), outputs As IList(Of OutputFieldMappingEntry), uri As String, Optional name As String = Nothing, Optional description As String = Nothing, Optional context As String = Nothing, Optional httpHeaders As IDictionary(Of String, String) = Nothing, Optional httpMethod As String = Nothing, Optional timeout As Nullable(Of TimeSpan) = Nothing, Optional batchSize As Nullable(Of Integer) = Nothing, Optional degreeOfParallelism As Nullable(Of Integer) = Nothing)

Parameter

inputs
IList<InputFieldMappingEntry>

Eingaben der Skills können eine Spalte im Quelldataset oder die Ausgabe eines Upstream Skills sein.

outputs
IList<OutputFieldMappingEntry>

Die Ausgabe einer Qualifikation ist entweder ein Feld in einem Suchindex oder ein Wert, der von einem anderen Skill als Eingabe verwendet werden kann.

uri
String

Die URL für die Web-API.

name
String

Der Name des Skills, der ihn innerhalb des Skillsets eindeutig identifiziert. Einem Skill ohne definierten Namen wird der Standardname seines 1-basierten Index im Skills-Array mit dem Präfix "#" zugewiesen.

description
String

Die Beschreibung des Skills, die die Eingaben, Ausgaben und Verwendung des Skills beschreibt.

context
String

Stellt die Ebene dar, auf der Vorgänge ausgeführt werden, z. B. den Dokumentstamm- oder Dokumentinhalt (z. B. /document oder /document/content). Der Standardwert ist /document.

httpHeaders
IDictionary<String,String>

Die Header, die für die HTTP-Anforderung erforderlich sind.

httpMethod
String

Die -Methode für die HTTP-Anforderung.

timeout
Nullable<TimeSpan>

Das gewünschte Timeout für die Anforderung. Der Standardwert ist „30 Sekunden“.

batchSize
Nullable<Int32>

Die gewünschte Batchgröße, die die Anzahl der Dokumente angibt.

degreeOfParallelism
Nullable<Int32>

Wenn festgelegt, gibt die Anzahl paralleler Aufrufe an die Web-API an.

Gilt für: