CarbonEmission(Double, Double) Constructor
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.
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.