Share via


WebApiSkill Constructor

Definition

Initializes a new instance of WebApiSkill.

public WebApiSkill (System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> inputs, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.OutputFieldMappingEntry> outputs, string uri);
new Azure.Search.Documents.Indexes.Models.WebApiSkill : seq<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> * seq<Azure.Search.Documents.Indexes.Models.OutputFieldMappingEntry> * string -> Azure.Search.Documents.Indexes.Models.WebApiSkill
Public Sub New (inputs As IEnumerable(Of InputFieldMappingEntry), outputs As IEnumerable(Of OutputFieldMappingEntry), uri As String)

Parameters

inputs
IEnumerable<InputFieldMappingEntry>

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

outputs
IEnumerable<OutputFieldMappingEntry>

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

uri
String

The url for the Web API.

Exceptions

inputs, outputs or uri is null.

Applies to