AzureBotService class
- Extends
建構函式
| Azure |
初始化 AzureBotService 類別的新實例。 |
屬性
| $host | |
| api |
|
| bot |
|
| bots | |
| channels | |
| direct |
|
| host |
|
| operation |
|
| operations | |
| private |
|
| private |
|
| qn |
|
| subscription |
繼承的屬性
| pipeline | 此客戶端用來提出要求的管線 |
繼承的方法
| send |
傳送使用提供的 OperationSpec 填入的 HTTP 要求。 |
| send |
傳送提供的 HTTPRequest。 |
建構函式詳細資料
AzureBotService(TokenCredential, string, AzureBotServiceOptionalParams)
初始化 AzureBotService 類別的新實例。
new AzureBotService(credentials: TokenCredential, subscriptionId: string, options?: AzureBotServiceOptionalParams)
參數
- credentials
- TokenCredential
可唯一識別用戶端訂用帳戶的訂用帳戶認證。
- subscriptionId
-
string
Azure 訂用帳戶標識碼。
- options
- AzureBotServiceOptionalParams
參數選項
屬性詳細資料
$host
$host: string
屬性值
string
apiVersion
apiVersion: string
屬性值
string
botConnection
bots
channels
directLine
hostSettings
operationResults
operations
privateEndpointConnections
privateLinkResources
qnAMakerEndpointKeys
subscriptionId
subscriptionId: string
屬性值
string
繼承的屬性詳細資料
pipeline
繼承的方法的詳細資料
sendOperationRequest<T>(OperationArguments, OperationSpec)
傳送使用提供的 OperationSpec 填入的 HTTP 要求。
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
參數
- operationArguments
- OperationArguments
HTTP 要求樣板化值的自變數將會從 中填入。
- operationSpec
- OperationSpec
要用來填入 HTTPRequest 的 OperationSpec。
傳回
Promise<T>
繼承自 coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
傳送提供的 HTTPRequest。
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
參數
- request
- PipelineRequest
傳回
Promise<PipelineResponse>
繼承自 coreClient.ServiceClient.sendRequest