Table of Contents

Class PercentileOperationsExtensions

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Extension methods for PercentileOperations.

public static class PercentileOperationsExtensions
Inheritance
PercentileOperationsExtensions
Inherited Members

Methods

ListMetricsAsync(IPercentileOperations, string, string, string, CancellationToken)

Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data

public static Task<IEnumerable<PercentileMetric>> ListMetricsAsync(this IPercentileOperations operations, string resourceGroupName, string accountName, string filter, CancellationToken cancellationToken = default)

Parameters

operations IPercentileOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IEnumerable<PercentileMetric>>