Uses of Class
com.azure.monitor.query.metrics.MetricsClientBuilder
Packages that use MetricsClientBuilder
Package
Description
Package containing the classes for MetricsQuery.
-
Uses of MetricsClientBuilder in com.azure.monitor.query.metrics
Methods in com.azure.monitor.query.metrics that return MetricsClientBuilderModifier and TypeMethodDescriptionMetricsClientBuilder.addPolicy
(com.azure.core.http.policy.HttpPipelinePolicy customPolicy) Adds a custom Http pipeline policy.MetricsClientBuilder.audience
(MetricsAudience audience) Sets the metrics audience.MetricsClientBuilder.clientOptions
(com.azure.core.util.ClientOptions clientOptions) Set theClientOptions
used for creating the client.MetricsClientBuilder.configuration
(com.azure.core.util.Configuration configuration) Sets The configuration store that is used during construction of the service client.MetricsClientBuilder.credential
(com.azure.core.credential.TokenCredential tokenCredential) Sets The TokenCredential used for authentication.Sets the metrics endpoint.MetricsClientBuilder.httpClient
(com.azure.core.http.HttpClient httpClient) Sets The HTTP client used to send the request.MetricsClientBuilder.httpLogOptions
(com.azure.core.http.policy.HttpLogOptions httpLogOptions) Sets The logging configuration for HTTP requests and responses.MetricsClientBuilder.pipeline
(com.azure.core.http.HttpPipeline pipeline) Sets The HTTP pipeline to send requests through.MetricsClientBuilder.retryOptions
(com.azure.core.http.policy.RetryOptions retryOptions) Sets theRetryOptions
used for creating the client.MetricsClientBuilder.retryPolicy
(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets The retry policy that will attempt to retry failed requests, if applicable.MetricsClientBuilder.serviceVersion
(MetricsServiceVersion serviceVersion) The service version to use when creating the client.