@@ -17,9 +17,9 @@ export function getInstanceTraffic(
|
||||
export interface CostQuery {
|
||||
startTime?: string
|
||||
endTime?: string
|
||||
granularity?: 'DAILY' | 'MONTHLY'
|
||||
granularity?: 'HOURLY' | 'DAILY' | 'MONTHLY'
|
||||
queryType?: 'COST' | 'USAGE'
|
||||
groupBy?: 'service' | 'skuName' | 'region' | 'compartmentName'
|
||||
groupBy?: 'service' | 'skuName' | 'region' | 'compartmentName' | 'service,skuName'
|
||||
}
|
||||
|
||||
export function getCosts(cfgId: number, query: CostQuery = {}): Promise<CostItem[]> {
|
||||
|
||||
Reference in New Issue
Block a user