Share via


ResourceCarbonEmissionTopItemMonthlySummaryData interface

Response for top items carbon emissions by month for resource

Extends

Properties

categoryType

Resource Item category

dataType

Resource top items Monthly summary data

date

Monthly date string, format is yyyy-MM-dd

itemName

The resource name of resource for Resource Category

resourceGroup

Resource Group

resourceId

The fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

subscriptionId

Subscription Id

Inherited Properties

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).

monthlyEmissionsChangeValue

The change in carbon emissions between the current and previous period, calculated as: latestMonthEmissions - previousMonthEmissions.

monthOverMonthEmissionsChangeRatio

The percentage change in carbon emissions between the current and previous DateRange. This is calculated as: (latestMonthEmissions - previousMonthEmissions) / previousMonthEmissions.

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.

Property Details

categoryType

Resource Item category

categoryType: string

Property Value

string

dataType

Resource top items Monthly summary data

dataType: "ResourceTopItemsMonthlySummaryData"

Property Value

"ResourceTopItemsMonthlySummaryData"

date

Monthly date string, format is yyyy-MM-dd

date: string

Property Value

string

itemName

The resource name of resource for Resource Category

itemName: string

Property Value

string

resourceGroup

Resource Group

resourceGroup: string

Property Value

string

resourceId

The fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

resourceId: string

Property Value

string

subscriptionId

Subscription Id

subscriptionId: string

Property Value

string

Inherited Property Details

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

Inherited From CarbonEmissionData.latestMonthEmissions

monthlyEmissionsChangeValue

The change in carbon emissions between the current and previous period, calculated as: latestMonthEmissions - previousMonthEmissions.

monthlyEmissionsChangeValue?: number

Property Value

number

Inherited From CarbonEmissionData.monthlyEmissionsChangeValue

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

Inherited From CarbonEmissionData.monthOverMonthEmissionsChangeRatio

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

Inherited From CarbonEmissionData.previousMonthEmissions