CarbonEmissionData interface
The basic response for different query report, all query report result will have these information
Properties
| data |
The discriminator possible values: OverallSummaryData, MonthlySummaryData, TopItemsSummaryData, ResourceTopItemsSummaryData, ResourceGroupTopItemsSummaryData, TopItemsMonthlySummaryData, ResourceTopItemsMonthlySummaryData, ResourceGroupTopItemsMonthlySummaryData, ItemDetailsData, ResourceItemDetailsData, ResourceGroupItemDetailsData |
| latest |
Total carbon emissions for the specified query parameters, measured in kgCO2E. This value represents total emissions over the specified date range (e.g., March-June). |
| monthly |
The change in carbon emissions between the current and previous period, calculated as: latestMonthEmissions - previousMonthEmissions. |
| month |
The percentage change in carbon emissions between the current and previous DateRange. This is calculated as: (latestMonthEmissions - previousMonthEmissions) / previousMonthEmissions. |
| previous |
Total carbon emissions for the previous month’s date range, which is the same period as the specified date range but shifted left by one month (e.g., if the specified range is March - June, the previous month’s range will be Feb - May). The value is measured in kgCO2E. |
Property Details
dataType
The discriminator possible values: OverallSummaryData, MonthlySummaryData, TopItemsSummaryData, ResourceTopItemsSummaryData, ResourceGroupTopItemsSummaryData, TopItemsMonthlySummaryData, ResourceTopItemsMonthlySummaryData, ResourceGroupTopItemsMonthlySummaryData, ItemDetailsData, ResourceItemDetailsData, ResourceGroupItemDetailsData
dataType: string
Property Value
string
latestMonthEmissions
Total carbon emissions for the specified query parameters, measured in kgCO2E. This value represents total emissions over the specified date range (e.g., March-June).
latestMonthEmissions: number
Property Value
number
monthlyEmissionsChangeValue
The change in carbon emissions between the current and previous period, calculated as: latestMonthEmissions - previousMonthEmissions.
monthlyEmissionsChangeValue?: number
Property Value
number
monthOverMonthEmissionsChangeRatio
The percentage change in carbon emissions between the current and previous DateRange. This is calculated as: (latestMonthEmissions - previousMonthEmissions) / previousMonthEmissions.
monthOverMonthEmissionsChangeRatio?: number
Property Value
number
previousMonthEmissions
Total carbon emissions for the previous month’s date range, which is the same period as the specified date range but shifted left by one month (e.g., if the specified range is March - June, the previous month’s range will be Feb - May). The value is measured in kgCO2E.
previousMonthEmissions: number
Property Value
number