SecurityManager.Configurable クラス

  • java.lang.Object
    • com.azure.resourcemanager.security.SecurityManager.Configurable

public static final class SecurityManager.Configurable

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

メソッドの概要

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

Security Service 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 SecurityManager authenticate(TokenCredential credential, AzureProfile profile)

Security Service API エントリ ポイントのインスタンスを作成します。

Parameters:

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

Returns:

セキュリティ サービス API インスタンス。

withDefaultPollInterval

public SecurityManager.Configurable withDefaultPollInterval(Duration defaultPollInterval)

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

Parameters:

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

Returns:

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

withHttpClient

public SecurityManager.Configurable withHttpClient(HttpClient httpClient)

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

Parameters:

httpClient - HTTP クライアント。

Returns:

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

withLogOptions

public SecurityManager.Configurable withLogOptions(HttpLogOptions httpLogOptions)

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

Parameters:

httpLogOptions - HTTP ログ オプション。

Returns:

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

withPolicy

public SecurityManager.Configurable withPolicy(HttpPipelinePolicy policy)

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

Parameters:

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

Returns:

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

withRetryOptions

public SecurityManager.Configurable withRetryOptions(RetryOptions retryOptions)

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

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

Parameters:

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

Returns:

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

withRetryPolicy

public SecurityManager.Configurable withRetryPolicy(RetryPolicy retryPolicy)

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

Parameters:

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

Returns:

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

withScope

public SecurityManager.Configurable withScope(String scope)

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

Parameters:

scope - スコープ。

Returns:

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

適用対象