Share via


SearchClientOptions interface

Cognitive Search API 要求の構成に使用されるクライアント オプション。

Extends

プロパティ

apiVersion

サービスと通信するときに使用する API バージョン。

audience

Azure Active Directory (AAD) での認証に使用する対象ユーザー。 共有キーを使用する場合、対象ユーザーは考慮されません。 KnownSearchAudience は、対象ユーザーと同じ意味で使用できます

serviceVersion

サービスと通信するときに使用するサービスバージョン。

継承されたプロパティ

additionalPolicies

HTTP パイプラインに含める追加のポリシー。

allowInsecureConnection

要求が HTTPS ではなく HTTP 経由で送信される場合は true に設定します

httpClient

HTTP 要求の送信に使用される HttpClient。

keepAliveOptions

キープアライブを無効にするオプション。

proxyOptions

送信要求のプロキシを構成するためのオプション。

redirectOptions

リダイレクト応答の処理方法のオプション。

retryOptions

失敗した要求を再試行する方法を制御するオプション。

telemetryOptions

一般的なテレメトリとトレース情報を送信要求に設定するためのオプション。

tlsOptions

TLS 認証を構成するためのオプション

userAgentOptions

送信要求にユーザー エージェントの詳細を追加するためのオプション。

プロパティの詳細

apiVersion

警告

この API は非推奨になりました。

use serviceVersion instead

サービスと通信するときに使用する API バージョン。

apiVersion?: string

プロパティ値

string

audience

Azure Active Directory (AAD) での認証に使用する対象ユーザー。 共有キーを使用する場合、対象ユーザーは考慮されません。 KnownSearchAudience は、対象ユーザーと同じ意味で使用できます

audience?: string

プロパティ値

string

serviceVersion

サービスと通信するときに使用するサービスバージョン。

serviceVersion?: string

プロパティ値

string

継承されたプロパティの詳細

additionalPolicies

HTTP パイプラインに含める追加のポリシー。

additionalPolicies?: AdditionalPolicyConfig[]

プロパティ値

継承元 ExtendedCommonClientOptions.additionalPolicies

allowInsecureConnection

要求が HTTPS ではなく HTTP 経由で送信される場合は true に設定します

allowInsecureConnection?: boolean

プロパティ値

boolean

継承元 ExtendedCommonClientOptions.allowInsecureConnection

httpClient

HTTP 要求の送信に使用される HttpClient。

httpClient?: HttpClient

プロパティ値

継承元 ExtendedCommonClientOptions.httpClient

keepAliveOptions

キープアライブを無効にするオプション。

keepAliveOptions?: KeepAliveOptions

プロパティ値

継承元 ExtendedCommonClientOptions.keepAliveOptions

proxyOptions

送信要求のプロキシを構成するためのオプション。

proxyOptions?: ProxySettings

プロパティ値

継承元 ExtendedCommonClientOptions.proxyOptions

redirectOptions

リダイレクト応答の処理方法のオプション。

redirectOptions?: RedirectPolicyOptions & RedirectOptions

プロパティ値

継承元 ExtendedCommonClientOptions.redirectOptions

retryOptions

失敗した要求を再試行する方法を制御するオプション。

retryOptions?: PipelineRetryOptions

プロパティ値

継承元 ExtendedCommonClientOptions.retryOptions

telemetryOptions

一般的なテレメトリとトレース情報を送信要求に設定するためのオプション。

telemetryOptions?: TelemetryOptions

プロパティ値

継承元 ExtendedCommonClientOptions.telemetryOptions

tlsOptions

TLS 認証を構成するためのオプション

tlsOptions?: TlsSettings

プロパティ値

継承元 ExtendedCommonClientOptions.tlsOptions

userAgentOptions

送信要求にユーザー エージェントの詳細を追加するためのオプション。

userAgentOptions?: UserAgentPolicyOptions

プロパティ値

継承元 ExtendedCommonClientOptions.userAgentOptions