Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace RequestUsageCarbonEmissionsDetails

Details for the '/usageCarbonEmissions' query.

Properties

Optional compartmentDepth

compartmentDepth: undefined | number

The compartment depth level. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional filter

filter: model.Filter

Optional groupBy

groupBy: Array<string>

Aggregate the result by. For example: {@code ["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "resourceName", "tenantId", "tenantName", "subscriptionId"]}

Optional groupByTag

groupByTag: Array<Tag>

GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: {@code [{"namespace":"oracle", "key":"createdBy"]}

Optional isAggregateByTime

isAggregateByTime: undefined | false | true

Specifies whether aggregated by time. If isAggregateByTime is true, all usage carbon emissions over the query time period will be added up.

tenantId

tenantId: string

Tenant ID.

timeUsageEnded

timeUsageEnded: Date

The usage end time.

timeUsageStarted

timeUsageStarted: Date

The usage start time.

Functions

getDeserializedJsonObj

getJsonObj