Partager via


PercentileSourceTargetsClient Interface

public interface PercentileSourceTargetsClient

An instance of this class provides access to all the operations defined in PercentileSourceTargetsClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<PercentileMetricInner> listMetrics(String resourceGroupName, String accountName, String sourceRegion, String targetRegion, String filter)

Retrieves the metrics determined by the given filter for the given account, source and target region.

abstract PagedIterable<PercentileMetricInner> listMetrics(String resourceGroupName, String accountName, String sourceRegion, String targetRegion, String filter, Context context)

Retrieves the metrics determined by the given filter for the given account, source and target region.

abstract PagedFlux<PercentileMetricInner> listMetricsAsync(String resourceGroupName, String accountName, String sourceRegion, String targetRegion, String filter)

Retrieves the metrics determined by the given filter for the given account, source and target region.

Method Details

listMetrics

public abstract PagedIterable listMetrics(String resourceGroupName, String accountName, String sourceRegion, String targetRegion, String filter)

Retrieves the metrics determined by the given filter for the given account, source and 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.
sourceRegion - Source region from which data is written. Cosmos DB region, with spaces between words and each word capitalized.
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<T>.

listMetrics

public abstract PagedIterable listMetrics(String resourceGroupName, String accountName, String sourceRegion, String targetRegion, String filter, Context context)

Retrieves the metrics determined by the given filter for the given account, source and 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.
sourceRegion - Source region from which data is written. Cosmos DB region, with spaces between words and each word capitalized.
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<T>.

listMetricsAsync

public abstract PagedFlux listMetricsAsync(String resourceGroupName, String accountName, String sourceRegion, String targetRegion, String filter)

Retrieves the metrics determined by the given filter for the given account, source and 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.
sourceRegion - Source region from which data is written. Cosmos DB region, with spaces between words and each word capitalized.
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<T>.

Applies to