Share via


CarbonEmission(Double, Double) Constructor

Definition

Initializes a new instance of CarbonEmission.

protected CarbonEmission(double latestMonthEmissions, double previousMonthEmissions);
new Azure.ResourceManager.CarbonOptimization.Models.CarbonEmission : double * double -> Azure.ResourceManager.CarbonOptimization.Models.CarbonEmission
Protected Sub New (latestMonthEmissions As Double, previousMonthEmissions As Double)

Parameters

latestMonthEmissions
Double

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

previousMonthEmissions
Double

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.

Applies to