## API Report File for "@azure/arm-commerce" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import type { ClientOptions } from '@azure-rest/core-client'; import type { OperationOptions } from '@azure-rest/core-client'; import type { Pipeline } from '@azure/core-rest-pipeline'; import type { TokenCredential } from '@azure/core-auth'; // @public export type AggregationGranularity = "Daily" | "Hourly"; // @public export enum AzureClouds { AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD", AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD", AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT" } // @public export type AzureSupportedClouds = `${AzureClouds}`; // @public export type ContinuablePage = TPage & { continuationToken?: string; }; // @public export interface ErrorObjectResponse { error?: ErrorResponse; } // @public export interface ErrorResponse { code?: string; message?: string; } // @public export enum KnownVersions { V20150601Preview = "2015-06-01-preview" } // @public export interface MeterInfo { effectiveDate?: Date; includedQuantity?: number; meterCategory?: string; meterId?: string; meterName?: string; meterRates?: Record; meterRegion?: string; meterSubCategory?: string; meterTags?: string[]; unit?: string; } // @public export interface MonetaryCommitment extends OfferTermInfo { excludedMeterIds?: string[]; name: "Monetary Commitment"; tieredDiscount?: Record; } // @public export interface MonetaryCredit extends OfferTermInfo { credit?: number; excludedMeterIds?: string[]; name: "Monetary Credit"; } // @public export interface OfferTermInfo { effectiveDate?: Date; name: OfferTermInfoName; } // @public export type OfferTermInfoName = "Recurring Charge" | "Monetary Commitment" | "Monetary Credit"; // @public export type OfferTermInfoUnion = MonetaryCredit | MonetaryCommitment | RecurringCharge | OfferTermInfo; // @public export interface PagedAsyncIterableIterator { [Symbol.asyncIterator](): PagedAsyncIterableIterator; byPage: (settings?: TPageSettings) => AsyncIterableIterator>; next(): Promise>; } // @public export interface PageSettings { continuationToken?: string; } // @public export interface RateCardGetOptionalParams extends OperationOptions { } // @public export interface RateCardOperations { get: (filter: string, options?: RateCardGetOptionalParams) => Promise; } // @public export interface RecurringCharge extends OfferTermInfo { name: "Recurring Charge"; recurringCharge?: number; } // @public export interface ResourceRateCardInfo { currency?: string; isTaxIncluded?: boolean; locale?: string; meters?: MeterInfo[]; offerTerms?: OfferTermInfoUnion[]; } // @public export interface UsageAggregatesListOptionalParams extends OperationOptions { aggregationGranularity?: AggregationGranularity; continuationToken?: string; showDetails?: boolean; } // @public export interface UsageAggregatesOperations { list: (reportedStartTime: Date, reportedEndTime: Date, options?: UsageAggregatesListOptionalParams) => PagedAsyncIterableIterator; } // @public export interface UsageAggregation { id?: string; infoFields?: any; instanceData?: string; meterCategory?: string; meterId?: string; meterName?: string; meterRegion?: string; meterSubCategory?: string; name?: string; quantity?: number; subscriptionId?: string; type?: string; unit?: string; usageEndTime?: Date; usageStartTime?: Date; } // @public (undocumented) export class UsageManagementClient { constructor(credential: TokenCredential, subscriptionId: string, options?: UsageManagementClientOptionalParams); readonly pipeline: Pipeline; readonly rateCard: RateCardOperations; readonly usageAggregates: UsageAggregatesOperations; } // @public export interface UsageManagementClientOptionalParams extends ClientOptions { apiVersion?: string; cloudSetting?: AzureSupportedClouds; } // @public export interface UsageSample { infoFields?: any; instanceData?: string; meterCategory?: string; meterId?: string; meterName?: string; meterRegion?: string; meterSubCategory?: string; quantity?: number; subscriptionId?: string; unit?: string; usageEndTime?: Date; usageStartTime?: Date; } // (No @packageDocumentation comment for this package) ```