import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { Collection } from "../operationsInterfaces/index.js"; import type { CosmosDBManagementClient } from "../cosmosDBManagementClient.js"; import type { Metric, CollectionListMetricsOptionalParams, Usage, CollectionListUsagesOptionalParams, MetricDefinition, CollectionListMetricDefinitionsOptionalParams } from "../models/index.js"; /** Class containing Collection operations. */ export declare class CollectionImpl implements Collection { private readonly client; /** * Initialize a new instance of the class Collection class. * @param client Reference to the service client */ constructor(client: CosmosDBManagementClient); /** * Retrieves the metrics determined by the given filter for the given database account and collection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseRid Cosmos DB database rid. * @param collectionRid Cosmos DB collection rid. * @param filter 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. * @param options The options parameters. */ listMetrics(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, filter: string, options?: CollectionListMetricsOptionalParams): PagedAsyncIterableIterator; private listMetricsPagingPage; private listMetricsPagingAll; /** * Retrieves the usages (most recent storage data) for the given collection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseRid Cosmos DB database rid. * @param collectionRid Cosmos DB collection rid. * @param options The options parameters. */ listUsages(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options?: CollectionListUsagesOptionalParams): PagedAsyncIterableIterator; private listUsagesPagingPage; private listUsagesPagingAll; /** * Retrieves metric definitions for the given collection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseRid Cosmos DB database rid. * @param collectionRid Cosmos DB collection rid. * @param options The options parameters. */ listMetricDefinitions(resourceGroupName: string, accountName: string, databaseRid: string, collectionRid: string, options?: CollectionListMetricDefinitionsOptionalParams): PagedAsyncIterableIterator; private listMetricDefinitionsPagingPage; private listMetricDefinitionsPagingAll; /** * Retrieves the metrics determined by the given filter for the given database account and collection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseRid Cosmos DB database rid. * @param collectionRid Cosmos DB collection rid. * @param filter 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. * @param options The options parameters. */ private _listMetrics; /** * Retrieves the usages (most recent storage data) for the given collection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseRid Cosmos DB database rid. * @param collectionRid Cosmos DB collection rid. * @param options The options parameters. */ private _listUsages; /** * Retrieves metric definitions for the given collection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseRid Cosmos DB database rid. * @param collectionRid Cosmos DB collection rid. * @param options The options parameters. */ private _listMetricDefinitions; } //# sourceMappingURL=collection.d.ts.map