Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DatabaseAccountRegionImpl

Package version

Class containing DatabaseAccountRegion operations.

Hierarchy

  • DatabaseAccountRegionImpl

Implements

Index

Constructors

Methods

Constructors

constructor

Methods

listMetrics

  • Retrieves the metrics determined by the given filter for the given database account and region.

    Parameters

    • resourceGroupName: string

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

    • accountName: string

      Cosmos DB database account name.

    • region: string

      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.

    • Optional options: DatabaseAccountRegionListMetricsOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Metric>

Generated using TypeDoc