AzureBotService class

يمتد

المنشئون

AzureBotService(TokenCredential, string, AzureBotServiceOptionalParams)

تهيئة مثيل جديد من فئة AzureBotService.

الخصائص

$host
apiVersion
botConnection
bots
channels
directLine
email
hostSettings
operationResults
operations
privateEndpointConnections
privateLinkResources
qnAMakerEndpointKeys
subscriptionId

الخصائص الموروثة

pipeline

البنية الأساسية لبرنامج ربط العمليات التجارية المستخدمة من قبل هذا العميل لتقديم الطلبات

الأساليب المتوارثة

sendOperationRequest<T>(OperationArguments, OperationSpec)

إرسال طلب HTTP الذي يتم ملؤه باستخدام OperationSpec المتوفرة.

sendRequest(PipelineRequest)

إرسال 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

botConnection: BotConnection

قيمة الخاصية

bots

bots: Bots

قيمة الخاصية

channels

channels: Channels

قيمة الخاصية

directLine

directLine: DirectLine

قيمة الخاصية

email

email: Email

قيمة الخاصية

hostSettings

hostSettings: HostSettings

قيمة الخاصية

operationResults

operationResults: OperationResults

قيمة الخاصية

operations

operations: Operations

قيمة الخاصية

privateEndpointConnections

privateEndpointConnections: PrivateEndpointConnections

قيمة الخاصية

privateLinkResources

privateLinkResources: PrivateLinkResources

قيمة الخاصية

qnAMakerEndpointKeys

qnAMakerEndpointKeys: QnAMakerEndpointKeys

قيمة الخاصية

subscriptionId

subscriptionId: string

قيمة الخاصية

string

تفاصيل الخاصية الموروثة

pipeline

البنية الأساسية لبرنامج ربط العمليات التجارية المستخدمة من قبل هذا العميل لتقديم الطلبات

pipeline: Pipeline

قيمة الخاصية

موروث من coreClient.ServiceClient.pipeline

تفاصيل الأساليب المتوارثة

sendOperationRequest<T>(OperationArguments, OperationSpec)

إرسال طلب HTTP الذي يتم ملؤه باستخدام OperationSpec المتوفرة.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

المعلمات

operationArguments
OperationArguments

سيتم ملء الوسيطات التي سيتم ملء القيم المقالب لطلب HTTP منها.

operationSpec
OperationSpec

OperationSpec المراد استخدامه لملء httpRequest.

المرتجعات

Promise<T>

موروث من coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

إرسال httpRequest المتوفر.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

المعلمات

request
PipelineRequest

المرتجعات

Promise<PipelineResponse>

موروث من coreClient.ServiceClient.sendRequest