Share via


LUISAuthoringClientContext class

Extends

コンストラクター

LUISAuthoringClientContext(ServiceClientCredentials, string, ServiceClientOptions)

LUISAuthoringClientContext クラスの新しいインスタンスを初期化します。

プロパティ

credentials
endpoint

継承されたメソッド

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

指定された OperationSpec を使用して設定された HTTP 要求を送信します。

sendRequest(RequestPrepareOptions | WebResourceLike)

指定された httpRequest を送信します。

コンストラクターの詳細

LUISAuthoringClientContext(ServiceClientCredentials, string, ServiceClientOptions)

LUISAuthoringClientContext クラスの新しいインスタンスを初期化します。

new LUISAuthoringClientContext(credentials: ServiceClientCredentials, endpoint: string, options?: ServiceClientOptions)

パラメーター

credentials
ServiceClientCredentials

クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

endpoint

string

サポートされている Cognitive Services エンドポイント (プロトコルとホスト名など)。 https://westus.api.cognitive.microsoft.com

options
ServiceClientOptions

パラメーター オプション

プロパティの詳細

credentials

credentials: ServiceClientCredentials

プロパティ値

endpoint

endpoint: string

プロパティ値

string

継承済みメソッドの詳細

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

指定された OperationSpec を使用して設定された HTTP 要求を送信します。

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

パラメーター

operationArguments
OperationArguments

HTTP 要求のテンプレート値が設定される引数。

operationSpec
OperationSpec

httpRequest の設定に使用する OperationSpec。

callback

ServiceCallback<any>

応答を受信したときに呼び出すコールバック。

戻り値

Promise<RestResponse>

msRest.ServiceClient.sendOperationRequest から継承

sendRequest(RequestPrepareOptions | WebResourceLike)

指定された httpRequest を送信します。

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

パラメーター

戻り値

msRest.ServiceClient.sendRequest から継承