AzureBotService class
- Extends
Konstruktorer
| Azure |
Initierar en ny instans av klassen AzureBotService. |
Egenskaper
| $host | |
| api |
|
| bot |
|
| bots | |
| channels | |
| direct |
|
| host |
|
| operation |
|
| operations | |
| private |
|
| private |
|
| qn |
|
| subscription |
Ärvda egenskaper
| pipeline | Pipelinen som används av den här klienten för att göra begäranden |
Ärvda metoder
| send |
Skicka en HTTP-begäran som fylls i med den angivna OperationSpec. |
| send |
Skicka angivet httpRequest. |
Konstruktorinformation
AzureBotService(TokenCredential, string, AzureBotServiceOptionalParams)
Initierar en ny instans av klassen AzureBotService.
new AzureBotService(credentials: TokenCredential, subscriptionId: string, options?: AzureBotServiceOptionalParams)
Parametrar
- credentials
- TokenCredential
Autentiseringsuppgifter för prenumeration som unikt identifierar klientprenumeration.
- subscriptionId
-
string
Azure-prenumerations-ID.
- options
- AzureBotServiceOptionalParams
Parameteralternativen
Egenskapsinformation
$host
$host: string
Egenskapsvärde
string
apiVersion
apiVersion: string
Egenskapsvärde
string
botConnection
bots
channels
directLine
hostSettings
operationResults
operations
privateEndpointConnections
privateLinkResources
qnAMakerEndpointKeys
subscriptionId
subscriptionId: string
Egenskapsvärde
string
Information om ärvda egenskaper
pipeline
Pipelinen som används av den här klienten för att göra begäranden
pipeline: Pipeline
Egenskapsvärde
ärvd från coreClient.ServiceClient.pipeline
Ärvd metodinformation
sendOperationRequest<T>(OperationArguments, OperationSpec)
Skicka en HTTP-begäran som fylls i med den angivna OperationSpec.
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
Parametrar
- operationArguments
- OperationArguments
Argumenten som HTTP-begärans mallade värden fylls i från.
- operationSpec
- OperationSpec
Den OperationSpec som ska användas för att fylla i httpRequest.
Returer
Promise<T>
ärvd från coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
Skicka angivet httpRequest.
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
Parametrar
- request
- PipelineRequest
Returer
Promise<PipelineResponse>
ärvd från coreClient.ServiceClient.sendRequest