VMwareCloudSimpleManager.Configurable クラス

  • java.lang.Object
    • com.azure.resourcemanager.vmwarecloudsimple.VMwareCloudSimpleManager.Configurable

public static final class VMwareCloudSimpleManager.Configurable

構成可能な構成を設定できます。

メソッドの概要

修飾子と型 メソッドと説明
VMwareCloudSimpleManager authenticate(TokenCredential credential, AzureProfile profile)

VMwareCloudSimple サービス API エントリ ポイントのインスタンスを作成します。

Configurable withDefaultPollInterval(Duration defaultPollInterval)

サービスが "Retry-After" ヘッダーを提供しない場合に使用される既定のポーリング間隔を設定します。

Configurable withHttpClient(HttpClient httpClient)

http クライアントを設定します。

Configurable withLogOptions(HttpLogOptions httpLogOptions)

ログ オプションを HTTP パイプラインに設定します。

Configurable withPolicy(HttpPipelinePolicy policy)

パイプライン ポリシーを HTTP パイプラインに追加します。

Configurable withRetryOptions(RetryOptions retryOptions)

HTTP パイプライン再試行ポリシーの再試行オプションを設定します。

Configurable withRetryPolicy(RetryPolicy retryPolicy)

再試行ポリシーを HTTP パイプラインに設定します。

Configurable withScope(String scope)

スコープをアクセス許可セットに追加します。

メソッドの継承元: java.lang.Object

メソッドの詳細

authenticate

public VMwareCloudSimpleManager authenticate(TokenCredential credential, AzureProfile profile)

VMwareCloudSimple サービス API エントリ ポイントのインスタンスを作成します。

Parameters:

credential - 使用する資格情報。
profile - クライアントの Azure プロファイル。

Returns:

VMwareCloudSimple サービス API インスタンス。

withDefaultPollInterval

public VMwareCloudSimpleManager.Configurable withDefaultPollInterval(Duration defaultPollInterval)

サービスが "Retry-After" ヘッダーを提供しない場合に使用される既定のポーリング間隔を設定します。

Parameters:

defaultPollInterval - 既定のポーリング間隔。

Returns:

構成可能なオブジェクト自体。

withHttpClient

public VMwareCloudSimpleManager.Configurable withHttpClient(HttpClient httpClient)

http クライアントを設定します。

Parameters:

httpClient - HTTP クライアント。

Returns:

構成可能なオブジェクト自体。

withLogOptions

public VMwareCloudSimpleManager.Configurable withLogOptions(HttpLogOptions httpLogOptions)

ログ オプションを HTTP パイプラインに設定します。

Parameters:

httpLogOptions - HTTP ログ オプション。

Returns:

構成可能なオブジェクト自体。

withPolicy

public VMwareCloudSimpleManager.Configurable withPolicy(HttpPipelinePolicy policy)

パイプライン ポリシーを HTTP パイプラインに追加します。

Parameters:

policy - HTTP パイプライン ポリシー。

Returns:

構成可能なオブジェクト自体。

withRetryOptions

public VMwareCloudSimpleManager.Configurable withRetryOptions(RetryOptions retryOptions)

HTTP パイプライン再試行ポリシーの再試行オプションを設定します。

再試行ポリシーが を使用して withRetryPolicy(RetryPolicy retryPolicy)設定されている場合、この設定は無効です。

Parameters:

retryOptions - HTTP パイプライン再試行ポリシーの再試行オプション。

Returns:

構成可能なオブジェクト自体。

withRetryPolicy

public VMwareCloudSimpleManager.Configurable withRetryPolicy(RetryPolicy retryPolicy)

再試行ポリシーを HTTP パイプラインに設定します。

Parameters:

retryPolicy - HTTP パイプライン再試行ポリシー。

Returns:

構成可能なオブジェクト自体。

withScope

public VMwareCloudSimpleManager.Configurable withScope(String scope)

スコープをアクセス許可セットに追加します。

Parameters:

scope - スコープ。

Returns:

構成可能なオブジェクト自体。

適用対象