Interface PercentileTargetsClient
public interface PercentileTargetsClient
An instance of this class provides access to all the operations defined in PercentileTargetsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable
<PercentileMetricInner> listMetrics
(String resourceGroupName, String accountName, String targetRegion, String filter) Retrieves the metrics determined by the given filter for the given account target region.com.azure.core.http.rest.PagedIterable
<PercentileMetricInner> listMetrics
(String resourceGroupName, String accountName, String targetRegion, String filter, com.azure.core.util.Context context) Retrieves the metrics determined by the given filter for the given account target region.com.azure.core.http.rest.PagedFlux
<PercentileMetricInner> listMetricsAsync
(String resourceGroupName, String accountName, String targetRegion, String filter) Retrieves the metrics determined by the given filter for the given account target region.
-
Method Details
-
listMetricsAsync
com.azure.core.http.rest.PagedFlux<PercentileMetricInner> listMetricsAsync(String resourceGroupName, String accountName, String targetRegion, String filter) Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.targetRegion
- Target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized.filter
- An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.- Returns:
- the response to a list percentile metrics request as paginated response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listMetrics
com.azure.core.http.rest.PagedIterable<PercentileMetricInner> listMetrics(String resourceGroupName, String accountName, String targetRegion, String filter) Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.targetRegion
- Target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized.filter
- An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.- Returns:
- the response to a list percentile metrics request as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listMetrics
com.azure.core.http.rest.PagedIterable<PercentileMetricInner> listMetrics(String resourceGroupName, String accountName, String targetRegion, String filter, com.azure.core.util.Context context) Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- Cosmos DB database account name.targetRegion
- Target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized.filter
- An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.context
- The context to associate with this operation.- Returns:
- the response to a list percentile metrics request as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-