Uses of Class
com.azure.monitor.query.MetricsClientBuilder
Packages that use MetricsClientBuilder
Package
Description
Azure Monitor Query service is a powerful tool that allows you to query and analyze log data from various sources
in Azure.
-
Uses of MetricsClientBuilder in com.azure.monitor.query
Methods in com.azure.monitor.query 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 theClientOptionsused 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 theRetryOptionsused 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.