import * as $dara from '@darabonba/typescript'; export declare class QueryCommercialUsageRequestAdvancedFilters extends $dara.Model { /** * @remarks * The key of the filter condition. * * @example * regionId */ key?: string; /** * @remarks * The operator. Valid values: eq and in. * * @example * eq */ opType?: string; /** * @remarks * The value of the filter condition. * * @example * cn-hangzhou */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class QueryCommercialUsageRequest extends $dara.Model { /** * @remarks * The filter conditions. */ advancedFilters?: QueryCommercialUsageRequestAdvancedFilters[]; /** * @remarks * The dimensions of the metric that you want to query. Valid values: * * * dataType: data type * * productType: product type * * instanceId: instance ID * * instanceName: instance name * * instanceType: instance type */ dimensions?: string[]; /** * @remarks * The end of the time range to query. Unit: milliseconds. * * This parameter is required. * * @example * 1699286400000 */ endTime?: number; /** * @remarks * The time interval between data slices. Unit: seconds. Minimum value: 3600. * * Valid values: * * * 3600: 1 hour * * 86400: 1 day * * @example * 3600 */ intervalInSec?: number; /** * @remarks * The measures of the metric that you want to query. */ measures?: string[]; /** * @remarks * The name of the metric. Valid value: USAGEFEE.STAT. * * This parameter is required. * * @example * USAGEFEE.STAT */ metric?: string; /** * @remarks * The order in which data is sorted. Valid value: * * * `ASC`: ascending order * * `DESC`: descending order * * @example * ASC */ order?: string; /** * @remarks * The dimension by which data is sorted. * * Valid value: * * * dataType * * * * * * * * @example * dataType */ orderBy?: string; /** * @remarks * The data type. Valid values: * * * instantQuery: non-time series * * timeSeriesQuery: time series * * This parameter is required. * * @example * instantQuery */ queryType?: string; /** * @remarks * The start of the time range to query. Unit: milliseconds. * * This parameter is required. * * @example * 1699200000000 */ startTime?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }