CarbonEmissionTopItemMonthlySummary Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Response for Top Items Carbon Emissions by Month.
public class CarbonEmissionTopItemMonthlySummary : Azure.ResourceManager.CarbonOptimization.Models.CarbonEmission, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CarbonOptimization.Models.CarbonEmissionTopItemMonthlySummary>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CarbonOptimization.Models.CarbonEmissionTopItemMonthlySummary>
type CarbonEmissionTopItemMonthlySummary = class
inherit CarbonEmission
interface IJsonModel<CarbonEmissionTopItemMonthlySummary>
interface IPersistableModel<CarbonEmissionTopItemMonthlySummary>
Public Class CarbonEmissionTopItemMonthlySummary
Inherits CarbonEmission
Implements IJsonModel(Of CarbonEmissionTopItemMonthlySummary), IPersistableModel(Of CarbonEmissionTopItemMonthlySummary)
- Inheritance
- Implements
Properties
CategoryType |
Item category, see supported type value defined in CategoryTypeEnum. |
Date |
The date, representing the month, for which the emissions data is reported, formatted as yyyy-MM-dd (e.g., 2024-03-01). |
ItemName |
Item name, it can be resource name, resource type name, location, resource group name or subscriptionId. It depends on category type. |
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). (Inherited from CarbonEmission) |
MonthlyEmissionsChangeValue |
The change in carbon emissions between the current and previous period, calculated as: latestMonthEmissions - previousMonthEmissions. (Inherited from CarbonEmission) |
MonthOverMonthEmissionsChangeRatio |
The percentage change in carbon emissions between the current and previous DateRange. This is calculated as: (latestMonthEmissions - previousMonthEmissions) / previousMonthEmissions. (Inherited from CarbonEmission) |
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. (Inherited from CarbonEmission) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |