SecurityManager.Configurable クラス
- java.
lang. Object - com.
azure. resourcemanager. security. SecurityManager. Configurable
- com.
public static final class SecurityManager.Configurable
構成可能な構成を設定できます。
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
|
Security |
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:
Returns:
withDefaultPollInterval
public SecurityManager.Configurable withDefaultPollInterval(Duration defaultPollInterval)
サービスが "Retry-After" ヘッダーを提供しない場合に使用される既定のポーリング間隔を設定します。
Parameters:
Returns:
withHttpClient
public SecurityManager.Configurable withHttpClient(HttpClient httpClient)
http クライアントを設定します。
Parameters:
Returns:
withLogOptions
public SecurityManager.Configurable withLogOptions(HttpLogOptions httpLogOptions)
ログ オプションを HTTP パイプラインに設定します。
Parameters:
Returns:
withPolicy
public SecurityManager.Configurable withPolicy(HttpPipelinePolicy policy)
パイプライン ポリシーを HTTP パイプラインに追加します。
Parameters:
Returns:
withRetryOptions
public SecurityManager.Configurable withRetryOptions(RetryOptions retryOptions)
HTTP パイプライン再試行ポリシーの再試行オプションを設定します。
再試行ポリシーが を使用して withRetryPolicy(RetryPolicy retryPolicy)設定されている場合、この設定は無効です。
Parameters:
Returns:
withRetryPolicy
public SecurityManager.Configurable withRetryPolicy(RetryPolicy retryPolicy)
再試行ポリシーを HTTP パイプラインに設定します。
Parameters:
Returns:
withScope
public SecurityManager.Configurable withScope(String scope)
アクセス許可セットにスコープを追加します。
Parameters:
Returns: