次の方法で共有


JavaScript 用 Azure Core HTTP 互換性ライブラリ

このライブラリには、パブリック API サーフェスで破壊的変更を引き起こすことなく、@azure/core-http を使用して @azure/core-client & @azure/core-rest-pipeline に移行する Azure クライアント ライブラリで使用するクラスとインターフェイスが用意されています。

使用

ExtendedCommonClientOptions

ライブラリでは @azure/core-httpoptions カスタム クライアントの パラメーターは次のようになります。

export interface SearchClientOptions extends PipelineOptions {
  apiVersion?: string;
}

& @azure/core-rest-pipeline ライブラリでは@azure/core-clientoptionsカスタム クライアントの パラメーターは次のようになります。

export interface SearchClientOptions extends CommonClientOptions {
  apiVersion?: string;
}

Core HTTP 互換ライブラリでは、 options カスタム クライアントの パラメーターは次のようになります。

export interface SearchClientOptions extends ExtendedCommonClientOptions {
  apiVersion?: string;
}