Table of Contents

Interface IPercentileSourceTargetOperations

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

PercentileSourceTargetOperations operations.

public interface IPercentileSourceTargetOperations
Extension Methods

Methods

ListMetricsWithHttpMessagesAsync(string, string, string, string, string, Dictionary<string, List<string>>, CancellationToken)

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

Task<AzureOperationResponse<IEnumerable<PercentileMetric>>> ListMetricsWithHttpMessagesAsync(string resourceGroupName, string accountName, string sourceRegion, string targetRegion, string filter, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)

Parameters

resourceGroupName string

Name of an Azure resource group.

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.

customHeaders Dictionary<string, List<string>>

The headers that will be added to request.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<AzureOperationResponse<IEnumerable<PercentileMetric>>>

Exceptions

Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Microsoft.Rest.SerializationException

Thrown when unable to deserialize the response

Microsoft.Rest.ValidationException

Thrown when a required parameter is null