-
Notifications
You must be signed in to change notification settings - Fork 180
/
QnAMakerClientContext.yml
115 lines (114 loc) · 4.31 KB
/
QnAMakerClientContext.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
### YamlMime:TSType
name: QnAMakerClientContext
uid: '@azure/cognitiveservices-qnamaker.QnAMakerClientContext'
package: '@azure/cognitiveservices-qnamaker'
summary: ''
fullName: QnAMakerClientContext
remarks: ''
isDeprecated: false
type: class
constructors:
- name: >-
QnAMakerClientContext(ServiceClientCredentials, string,
ServiceClientOptions)
uid: '@azure/cognitiveservices-qnamaker.QnAMakerClientContext.constructor'
package: '@azure/cognitiveservices-qnamaker'
summary: Initializes a new instance of the QnAMakerClientContext class.
remarks: ''
isDeprecated: false
syntax:
content: >-
new QnAMakerClientContext(credentials: ServiceClientCredentials,
endpoint: string, options?: ServiceClientOptions)
parameters:
- id: credentials
type: <xref uid="@azure/ms-rest-js.ServiceClientCredentials" />
description: >-
Subscription credentials which uniquely identify client
subscription.
- id: endpoint
type: string
description: >-
Supported Cognitive Services endpoint (e.g., https://<
qnamaker-resource-name
>.api.cognitiveservices.azure.com).
- id: options
type: <xref uid="@azure/ms-rest-js.ServiceClientOptions" />
description: The parameter options
properties:
- name: credentials
uid: '@azure/cognitiveservices-qnamaker.QnAMakerClientContext.credentials'
package: '@azure/cognitiveservices-qnamaker'
summary: ''
fullName: credentials
remarks: ''
isDeprecated: false
syntax:
content: 'credentials: ServiceClientCredentials'
return:
description: ''
type: <xref uid="@azure/ms-rest-js.ServiceClientCredentials" />
- name: endpoint
uid: '@azure/cognitiveservices-qnamaker.QnAMakerClientContext.endpoint'
package: '@azure/cognitiveservices-qnamaker'
summary: ''
fullName: endpoint
remarks: ''
isDeprecated: false
syntax:
content: 'endpoint: string'
return:
description: ''
type: string
inheritedMethods:
- name: >-
sendOperationRequest(OperationArguments, OperationSpec,
ServiceCallback<any>)
uid: >-
@azure/cognitiveservices-qnamaker.QnAMakerClientContext.sendOperationRequest
package: '@azure/cognitiveservices-qnamaker'
summary: Send an HTTP request that is populated using the provided OperationSpec.
remarks: ''
isDeprecated: false
syntax:
content: >-
function sendOperationRequest(operationArguments: OperationArguments,
operationSpec: OperationSpec, callback?: ServiceCallback<any>):
Promise<RestResponse>
parameters:
- id: operationArguments
type: <xref uid="@azure/ms-rest-js.OperationArguments" />
description: >-
The arguments that the HTTP request's templated values will be
populated from.
- id: operationSpec
type: <xref uid="@azure/ms-rest-js.OperationSpec" />
description: The OperationSpec to use to populate the httpRequest.
- id: callback
type: <xref uid="@azure/ms-rest-js.ServiceCallback" /><any>
description: The callback to call when the response is received.
return:
description: ''
type: Promise<<xref uid="@azure/ms-rest-js.RestResponse" />>
inheritanceDescription: <b>Inherited From</b> msRest.ServiceClient.sendOperationRequest
- name: sendRequest(RequestPrepareOptions | WebResourceLike)
uid: '@azure/cognitiveservices-qnamaker.QnAMakerClientContext.sendRequest'
package: '@azure/cognitiveservices-qnamaker'
summary: Send the provided httpRequest.
remarks: ''
isDeprecated: false
syntax:
content: >-
function sendRequest(options: RequestPrepareOptions | WebResourceLike):
Promise<HttpOperationResponse>
parameters:
- id: options
type: >-
<xref uid="@azure/ms-rest-js.RequestPrepareOptions" /> | <xref
uid="@azure/ms-rest-js.WebResourceLike" />
description: ''
return:
description: ''
type: Promise<<xref uid="@azure/ms-rest-js.HttpOperationResponse" />>
inheritanceDescription: <b>Inherited From</b> msRest.ServiceClient.sendRequest
extends: <xref uid="@azure/ms-rest-js.ServiceClient" />