Delen via


Pattern class

Klasse die een patroon vertegenwoordigt.

Constructors

Pattern(LUISAuthoringClientContext)

Een patroon maken.

Methoden

addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase)
addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)
addPattern(string, string, PatternRuleCreateObject, ServiceCallback<PatternRuleInfo>)
batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase)
batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)
batchAddPatterns(string, string, PatternRuleCreateObject[], ServiceCallback<PatternRuleInfo[]>)
deletePattern(string, string, string, RequestOptionsBase)
deletePattern(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePattern(string, string, string, ServiceCallback<OperationStatus>)
deletePatterns(string, string, string[], RequestOptionsBase)
deletePatterns(string, string, string[], RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePatterns(string, string, string[], ServiceCallback<OperationStatus>)
listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams)
listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)
listIntentPatterns(string, string, string, ServiceCallback<PatternRuleInfo[]>)
listPatterns(string, string, PatternListPatternsOptionalParams)
listPatterns(string, string, PatternListPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)
listPatterns(string, string, ServiceCallback<PatternRuleInfo[]>)
updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase)
updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)
updatePattern(string, string, string, PatternRuleUpdateObject, ServiceCallback<PatternRuleInfo>)
updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase)
updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)
updatePatterns(string, string, PatternRuleUpdateObject[], ServiceCallback<PatternRuleInfo[]>)

Constructordetails

Pattern(LUISAuthoringClientContext)

Een patroon maken.

new Pattern(client: LUISAuthoringClientContext)

Parameters

client
LUISAuthoringClientContext

Verwijzing naar de serviceclient.

Methodedetails

addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase)

function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, options?: RequestOptionsBase): Promise<PatternAddPatternResponse>

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

pattern
PatternRuleCreateObject

Het invoerpatroon.

options
RequestOptionsBase

De optionele parameters

Retouren

Promise<Models.PatternAddPatternResponse>

addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)

function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

pattern
PatternRuleCreateObject

Het invoerpatroon.

options
RequestOptionsBase

De optionele parameters

callback

ServiceCallback<PatternRuleInfo>

De callback

addPattern(string, string, PatternRuleCreateObject, ServiceCallback<PatternRuleInfo>)

function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, callback: ServiceCallback<PatternRuleInfo>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

pattern
PatternRuleCreateObject

Het invoerpatroon.

callback

ServiceCallback<PatternRuleInfo>

De callback

batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase)

function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], options?: RequestOptionsBase): Promise<PatternBatchAddPatternsResponse>

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patterns

PatternRuleCreateObject[]

Een JSON-matrix met patronen.

options
RequestOptionsBase

De optionele parameters

Retouren

Promise<Models.PatternBatchAddPatternsResponse>

batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)

function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo[]>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patterns

PatternRuleCreateObject[]

Een JSON-matrix met patronen.

options
RequestOptionsBase

De optionele parameters

callback

ServiceCallback<PatternRuleInfo[]>

De callback

batchAddPatterns(string, string, PatternRuleCreateObject[], ServiceCallback<PatternRuleInfo[]>)

function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], callback: ServiceCallback<PatternRuleInfo[]>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patterns

PatternRuleCreateObject[]

Een JSON-matrix met patronen.

callback

ServiceCallback<PatternRuleInfo[]>

De callback

deletePattern(string, string, string, RequestOptionsBase)

function deletePattern(appId: string, versionId: string, patternId: string, options?: RequestOptionsBase): Promise<PatternDeletePatternResponse>

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternId

string

De patroon-id.

options
RequestOptionsBase

De optionele parameters

Retouren

Promise<Models.PatternDeletePatternResponse>

deletePattern(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deletePattern(appId: string, versionId: string, patternId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternId

string

De patroon-id.

options
RequestOptionsBase

De optionele parameters

callback

ServiceCallback<OperationStatus>

De callback

deletePattern(string, string, string, ServiceCallback<OperationStatus>)

function deletePattern(appId: string, versionId: string, patternId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternId

string

De patroon-id.

callback

ServiceCallback<OperationStatus>

De callback

deletePatterns(string, string, string[], RequestOptionsBase)

function deletePatterns(appId: string, versionId: string, patternIds: string[], options?: RequestOptionsBase): Promise<PatternDeletePatternsResponse>

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternIds

string[]

De patronen-id's.

options
RequestOptionsBase

De optionele parameters

Retouren

Promise<Models.PatternDeletePatternsResponse>

deletePatterns(string, string, string[], RequestOptionsBase, ServiceCallback<OperationStatus>)

function deletePatterns(appId: string, versionId: string, patternIds: string[], options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternIds

string[]

De patronen-id's.

options
RequestOptionsBase

De optionele parameters

callback

ServiceCallback<OperationStatus>

De callback

deletePatterns(string, string, string[], ServiceCallback<OperationStatus>)

function deletePatterns(appId: string, versionId: string, patternIds: string[], callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternIds

string[]

De patronen-id's.

callback

ServiceCallback<OperationStatus>

De callback

listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams)

function listIntentPatterns(appId: string, versionId: string, intentId: string, options?: PatternListIntentPatternsOptionalParams): Promise<PatternListIntentPatternsResponse>

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

intentId

string

De intentieclassificatie-id.

options
PatternListIntentPatternsOptionalParams

De optionele parameters

Retouren

Promise<Models.PatternListIntentPatternsResponse>

listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)

function listIntentPatterns(appId: string, versionId: string, intentId: string, options: PatternListIntentPatternsOptionalParams, callback: ServiceCallback<PatternRuleInfo[]>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

intentId

string

De intentieclassificatie-id.

options
PatternListIntentPatternsOptionalParams

De optionele parameters

callback

ServiceCallback<PatternRuleInfo[]>

De callback

listIntentPatterns(string, string, string, ServiceCallback<PatternRuleInfo[]>)

function listIntentPatterns(appId: string, versionId: string, intentId: string, callback: ServiceCallback<PatternRuleInfo[]>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

intentId

string

De intentieclassificatie-id.

callback

ServiceCallback<PatternRuleInfo[]>

De callback

listPatterns(string, string, PatternListPatternsOptionalParams)

function listPatterns(appId: string, versionId: string, options?: PatternListPatternsOptionalParams): Promise<PatternListPatternsResponse>

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

options
PatternListPatternsOptionalParams

De optionele parameters

Retouren

Promise<Models.PatternListPatternsResponse>

listPatterns(string, string, PatternListPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)

function listPatterns(appId: string, versionId: string, options: PatternListPatternsOptionalParams, callback: ServiceCallback<PatternRuleInfo[]>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

options
PatternListPatternsOptionalParams

De optionele parameters

callback

ServiceCallback<PatternRuleInfo[]>

De callback

listPatterns(string, string, ServiceCallback<PatternRuleInfo[]>)

function listPatterns(appId: string, versionId: string, callback: ServiceCallback<PatternRuleInfo[]>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

callback

ServiceCallback<PatternRuleInfo[]>

De callback

updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase)

function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, options?: RequestOptionsBase): Promise<PatternUpdatePatternResponse>

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternId

string

De patroon-id.

pattern
PatternRuleUpdateObject

Een object dat een patroon vertegenwoordigt.

options
RequestOptionsBase

De optionele parameters

Retouren

Promise<Models.PatternUpdatePatternResponse>

updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)

function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternId

string

De patroon-id.

pattern
PatternRuleUpdateObject

Een object dat een patroon vertegenwoordigt.

options
RequestOptionsBase

De optionele parameters

callback

ServiceCallback<PatternRuleInfo>

De callback

updatePattern(string, string, string, PatternRuleUpdateObject, ServiceCallback<PatternRuleInfo>)

function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, callback: ServiceCallback<PatternRuleInfo>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patternId

string

De patroon-id.

pattern
PatternRuleUpdateObject

Een object dat een patroon vertegenwoordigt.

callback

ServiceCallback<PatternRuleInfo>

De callback

updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase)

function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], options?: RequestOptionsBase): Promise<PatternUpdatePatternsResponse>

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patterns

PatternRuleUpdateObject[]

Een matrix vertegenwoordigt de patronen.

options
RequestOptionsBase

De optionele parameters

Retouren

Promise<Models.PatternUpdatePatternsResponse>

updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)

function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo[]>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patterns

PatternRuleUpdateObject[]

Een matrix vertegenwoordigt de patronen.

options
RequestOptionsBase

De optionele parameters

callback

ServiceCallback<PatternRuleInfo[]>

De callback

updatePatterns(string, string, PatternRuleUpdateObject[], ServiceCallback<PatternRuleInfo[]>)

function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], callback: ServiceCallback<PatternRuleInfo[]>)

Parameters

appId

string

De toepassings-id.

versionId

string

De versie-id.

patterns

PatternRuleUpdateObject[]

Een matrix vertegenwoordigt de patronen.

callback

ServiceCallback<PatternRuleInfo[]>

De callback