IPattern.BatchAddPatternsWithHttpMessagesAsync Method
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.
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleInfo>>> BatchAddPatternsWithHttpMessagesAsync (Guid appId, string versionId, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleCreateObject> patterns, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BatchAddPatternsWithHttpMessagesAsync : Guid * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleCreateObject> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.PatternRuleInfo>>>
Public Function BatchAddPatternsWithHttpMessagesAsync (appId As Guid, versionId As String, patterns As IList(Of PatternRuleCreateObject), Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of PatternRuleInfo)))
Parameters
- appId
- Guid
- versionId
- String
- patterns
- IList<PatternRuleCreateObject>
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken