次の方法で共有


StorageCacheManagementClientContext class

Extends

AzureServiceClient

コンストラクター

StorageCacheManagementClientContext(ServiceClientCredentials | TokenCredential, string, Models.StorageCacheManagementClientOptions)

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

プロパティ

acceptLanguage
apiVersion
credentials
longRunningOperationRetryTimeout

実行時間の長い操作の再試行タイムアウト (秒単位)。 既定値は 30 です。

subscriptionId

メソッド

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

LRO の初期要求 (実行時間の長い操作) を送信し、LRO をポーリングし、LRO が完了したかどうかを確認するためのメソッドを提供する HttpLongRunningOperationResponse を取得します。

restoreLROPoller(LROPollState)

指定された LROPollState から LROPoller を復元します。 このメソッドを使用して、別のプロセスまたはマシンで LROPoller を再作成できます。

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

ポーリングして最終的な結果を提供する要求を行うメカニズムを提供します。

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

LRO の初期要求 (実行時間の長い操作) を送信し、LRO をポーリングし、LRO が完了したかどうかを確認するためのメソッドを提供する LROPoller を取得します。

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

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

sendRequest(RequestPrepareOptions | WebResourceLike)

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

コンストラクターの詳細

StorageCacheManagementClientContext(ServiceClientCredentials | TokenCredential, string, Models.StorageCacheManagementClientOptions)

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

new StorageCacheManagementClientContext(credentials: ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageCacheManagementClientOptions)

パラメーター

credentials

ServiceClientCredentials | TokenCredential

クライアントが Azure に接続するために必要な資格情報。 @azure/identity パッケージから TokenCredential インターフェイスを実装する資格情報をお勧めします。 これらの資格情報の詳細については、「<xref:https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40azure%2Fidentity>」を参照してください。 以前のパッケージから ServiceClientCredentials インターフェイスを実装する資格情報 @azure/ms-rest-nodeauth

subscriptionId

string

Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、すべてのサービス呼び出しの URI の一部を形成します。

options
Models.StorageCacheManagementClientOptions

プロパティの詳細

acceptLanguage

acceptLanguage: string

プロパティ値

string

apiVersion

apiVersion?: undefined | string

プロパティ値

undefined | string

credentials

credentials: ServiceClientCredentials | TokenCredential

プロパティ値

ServiceClientCredentials | TokenCredential

longRunningOperationRetryTimeout

実行時間の長い操作の再試行タイムアウト (秒単位)。 既定値は 30 です。

longRunningOperationRetryTimeout?: undefined | number

プロパティ値

undefined | number

subscriptionId

subscriptionId: string

プロパティ値

string

メソッドの詳細

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

LRO の初期要求 (実行時間の長い操作) を送信し、LRO をポーリングし、LRO が完了したかどうかを確認するためのメソッドを提供する HttpLongRunningOperationResponse を取得します。

function beginLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase)

パラメーター

request

RequestPrepareOptions | WebResource

要求オブジェクト

options

RequestOptionsBase

戻り値

Promise<LROPoller>

LRO と対話するためのメソッドを提供する HttpLongRunningOperationResponse。

restoreLROPoller(LROPollState)

指定された LROPollState から LROPoller を復元します。 このメソッドを使用して、別のプロセスまたはマシンで LROPoller を再作成できます。

function restoreLROPoller(lroPollState: LROPollState)

パラメーター

lroPollState

LROPollState

戻り値

LROPoller

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

ポーリングして最終的な結果を提供する要求を行うメカニズムを提供します。

function sendLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase)

パラメーター

request

RequestPrepareOptions | WebResource

要求オブジェクト

options

RequestOptionsBase

戻り値

Promise<HttpOperationResponse>

最終的なポーリング要求、応答、および responseBody を含む HttpOperationResponse。

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

LRO の初期要求 (実行時間の長い操作) を送信し、LRO をポーリングし、LRO が完了したかどうかを確認するためのメソッドを提供する LROPoller を取得します。

function sendLRORequest(operationArguments: OperationArguments, operationSpec: OperationSpec, options?: RequestOptionsBase)

パラメーター

operationArguments

OperationArguments

操作の引数。

operationSpec

OperationSpec

操作の仕様。

options

RequestOptionsBase

要求の実行中に送信される追加のオプション。

戻り値

Promise<LROPoller>

LRO と対話するためのメソッドを提供する LROPoller オブジェクト。

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

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

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

パラメーター

operationArguments

OperationArguments

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

operationSpec

OperationSpec

httpRequest の設定に使用する OperationSpec。

callback

ServiceCallback<any>

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

戻り値

Promise<RestResponse>

sendRequest(RequestPrepareOptions | WebResourceLike)

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

function sendRequest(options: RequestPrepareOptions | WebResourceLike)

パラメーター

options

RequestPrepareOptions | WebResourceLike

戻り値

Promise<HttpOperationResponse>