WebApiSkill Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
If set, the number of parallel calls that can be made to the Web API.
Applies to
Azure SDK for .NET