ResourceCarbonEmissionItemDetail 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 Resource detailed carbon emissions.
public class ResourceCarbonEmissionItemDetail : Azure.ResourceManager.CarbonOptimization.Models.CarbonEmission, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CarbonOptimization.Models.ResourceCarbonEmissionItemDetail>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CarbonOptimization.Models.ResourceCarbonEmissionItemDetail>
type ResourceCarbonEmissionItemDetail = class
inherit CarbonEmission
interface IJsonModel<ResourceCarbonEmissionItemDetail>
interface IPersistableModel<ResourceCarbonEmissionItemDetail>
Public Class ResourceCarbonEmissionItemDetail
Inherits CarbonEmission
Implements IJsonModel(Of ResourceCarbonEmissionItemDetail), IPersistableModel(Of ResourceCarbonEmissionItemDetail)
- Inheritance
- Implements
Properties
CategoryType |
Resource Item category, see supported value defined in CategoryTypeEnum. |
ItemName |
It's resource name. |
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) |
Location |
Resource Location (e.g., 'east us'). |
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) |
ResourceGroup |
Resource Group. |
ResourceId |
The fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
ResourceType |
The type of resource, for example: microsoft.storage/storageaccounts. |
SubscriptionId |
Subscription Id. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |