Dela via


WebApiSkill Constructors

Definition

Overloads

WebApiSkill()

Initializes a new instance of the WebApiSkill class.

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

Initializes a new instance of the WebApiSkill class.

WebApiSkill()

Source:
WebApiSkill.cs

Initializes a new instance of the WebApiSkill class.

public WebApiSkill ();
Public Sub New ()

Applies to

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

Source:
WebApiSkill.cs

Initializes a new instance of the WebApiSkill class.

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)

Parameters

inputs
IList<InputFieldMappingEntry>

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

outputs
IList<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.

name
String

The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.

description
String

The description of the skill which describes the inputs, outputs, and usage of the skill.

context
String

Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.

httpHeaders
IDictionary<String,String>

The headers required to make the http request.

httpMethod
String

The method for the http request.

timeout
Nullable<TimeSpan>

The desired timeout for the request. Default is 30 seconds.

batchSize
Nullable<Int32>

The desired batch size which indicates number of documents.

degreeOfParallelism
Nullable<Int32>

If set, the number of parallel calls that can be made to the Web API.

Applies to