MicrosoftDatadogManager.Configurable Class
- java.
lang. Object - com.
azure. resourcemanager. datadog. MicrosoftDatadogManager. Configurable
- com.
public static final class MicrosoftDatadogManager.Configurable
The Configurable allowing configurations to be set.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Microsoft |
authenticate(TokenCredential credential, AzureProfile profile)
Creates an instance of Microsoft |
| Configurable |
withDefaultPollInterval(Duration defaultPollInterval)
Sets the default poll interval, used when service does not provide "Retry-After" header. |
| Configurable |
withHttpClient(HttpClient httpClient)
Sets the http client. |
| Configurable |
withLogOptions(HttpLogOptions httpLogOptions)
Sets the logging options to the HTTP pipeline. |
| Configurable |
withPolicy(HttpPipelinePolicy policy)
Adds the pipeline policy to the HTTP pipeline. |
| Configurable |
withRetryOptions(RetryOptions retryOptions)
Sets the retry options for the HTTP pipeline retry policy. |
| Configurable |
withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy to the HTTP pipeline. |
| Configurable |
withScope(String scope)
Adds the scope to permission sets. |
Methods inherited from java.lang.Object
Method Details
authenticate
public MicrosoftDatadogManager authenticate(TokenCredential credential, AzureProfile profile)
Creates an instance of MicrosoftDatadog service API entry point.
Parameters:
Returns:
withDefaultPollInterval
public MicrosoftDatadogManager.Configurable withDefaultPollInterval(Duration defaultPollInterval)
Sets the default poll interval, used when service does not provide "Retry-After" header.
Parameters:
Returns:
withHttpClient
public MicrosoftDatadogManager.Configurable withHttpClient(HttpClient httpClient)
Sets the http client.
Parameters:
Returns:
withLogOptions
public MicrosoftDatadogManager.Configurable withLogOptions(HttpLogOptions httpLogOptions)
Sets the logging options to the HTTP pipeline.
Parameters:
Returns:
withPolicy
public MicrosoftDatadogManager.Configurable withPolicy(HttpPipelinePolicy policy)
Adds the pipeline policy to the HTTP pipeline.
Parameters:
Returns:
withRetryOptions
public MicrosoftDatadogManager.Configurable withRetryOptions(RetryOptions retryOptions)
Sets the retry options for the HTTP pipeline retry policy.
This setting has no effect, if retry policy is set via withRetryPolicy(RetryPolicy retryPolicy).
Parameters:
Returns:
withRetryPolicy
public MicrosoftDatadogManager.Configurable withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy to the HTTP pipeline.
Parameters:
Returns:
withScope
public MicrosoftDatadogManager.Configurable withScope(String scope)
Adds the scope to permission sets.
Parameters:
Returns: