Class PercentileTargetOperationsExtensions
- Namespace
- Microsoft.Azure.Management.CosmosDB.Fluent
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Extension methods for PercentileTargetOperations.
public static class PercentileTargetOperationsExtensions
- Inheritance
-
PercentileTargetOperationsExtensions
- Inherited Members
Methods
ListMetricsAsync(IPercentileTargetOperations, string, string, string, string, CancellationToken)
Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data
public static Task<IEnumerable<PercentileMetric>> ListMetricsAsync(this IPercentileTargetOperations operations, string resourceGroupName, string accountName, string targetRegion, string filter, CancellationToken cancellationToken = default)
Parameters
operations
IPercentileTargetOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
targetRegion
stringTarget region to which data is written. Cosmos DB region, with spaces between words and each word capitalized.
filter
stringAn 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
CancellationTokenThe cancellation token.