PercentileSourceTarget interface

Interface representing a PercentileSourceTarget.

Methods

listMetrics(string, string, string, string, string, PercentileSourceTargetListMetricsOptionalParams)

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

Method Details

listMetrics(string, string, string, string, string, PercentileSourceTargetListMetricsOptionalParams)

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

function listMetrics(resourceGroupName: string, accountName: string, sourceRegion: string, targetRegion: string, filter: string, options?: PercentileSourceTargetListMetricsOptionalParams): PagedAsyncIterableIterator<PercentileMetric, PercentileMetric[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

Cosmos DB database account name.

sourceRegion

string

Source region from which data is written. Cosmos DB region, with spaces between words and each word capitalized.

targetRegion

string

Target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized.

filter

string

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.

options
PercentileSourceTargetListMetricsOptionalParams

The options parameters.

Returns