Class UsageCarbonEmissionSummary
The usage carbon emission store result.
Inherited Members
Namespace: Oci.UsageapiService.Models
Assembly: OCI.DotNetSDK.Usageapi.dll
Syntax
public class UsageCarbonEmissionSummary
Properties
Ad
Declaration
[JsonProperty(PropertyName = "ad")]
public string Ad { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain of the usage. |
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment OCID. |
CompartmentName
Declaration
[JsonProperty(PropertyName = "compartmentName")]
public string CompartmentName { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment name. |
CompartmentPath
Declaration
[JsonProperty(PropertyName = "compartmentPath")]
public string CompartmentPath { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment path, starting from root. |
ComputedCarbonEmission
Declaration
[Required(ErrorMessage = "ComputedCarbonEmission is required.")]
[JsonProperty(PropertyName = "computedCarbonEmission")]
public double ComputedCarbonEmission { get; set; }
Property Value
Type | Description |
---|---|
double | The carbon emission in MTCO2 unit. |
Remarks
Required
EmissionCalculationMethod
Declaration
[Required(ErrorMessage = "EmissionCalculationMethod is required.")]
[JsonProperty(PropertyName = "emissionCalculationMethod")]
public string EmissionCalculationMethod { get; set; }
Property Value
Type | Description |
---|---|
string | The method used to calculate carbon emission. |
Remarks
Required
Platform
Declaration
[JsonProperty(PropertyName = "platform")]
public string Platform { get; set; }
Property Value
Type | Description |
---|---|
string | Platform for the cost. |
Region
Declaration
[JsonProperty(PropertyName = "region")]
public string Region { get; set; }
Property Value
Type | Description |
---|---|
string | The region of the usage. |
ResourceId
Declaration
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The resource OCID that is incurring the cost. |
ResourceName
Declaration
[JsonProperty(PropertyName = "resourceName")]
public string ResourceName { get; set; }
Property Value
Type | Description |
---|---|
string | The resource name that is incurring the cost. |
Service
Declaration
[JsonProperty(PropertyName = "service")]
public string Service { get; set; }
Property Value
Type | Description |
---|---|
string | The service name that is incurring the cost. |
SkuName
Declaration
[JsonProperty(PropertyName = "skuName")]
public string SkuName { get; set; }
Property Value
Type | Description |
---|---|
string | The SKU friendly name. |
SkuPartNumber
Declaration
[JsonProperty(PropertyName = "skuPartNumber")]
public string SkuPartNumber { get; set; }
Property Value
Type | Description |
---|---|
string | The SKU part number. |
SubscriptionId
Declaration
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type | Description |
---|---|
string | The subscription ID. |
Tags
Declaration
[JsonProperty(PropertyName = "tags")]
public List<Tag> Tags { get; set; }
Property Value
Type | Description |
---|---|
List<Tag> | For grouping, a tag definition. For filtering, a definition and key. |
TenantId
Declaration
[JsonProperty(PropertyName = "tenantId")]
public string TenantId { get; set; }
Property Value
Type | Description |
---|---|
string | The tenancy OCID. |
TenantName
Declaration
[JsonProperty(PropertyName = "tenantName")]
public string TenantName { get; set; }
Property Value
Type | Description |
---|---|
string | The tenancy name. |
TimeUsageEnded
Declaration
[Required(ErrorMessage = "TimeUsageEnded is required.")]
[JsonProperty(PropertyName = "timeUsageEnded")]
public DateTime? TimeUsageEnded { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The usage end time. |
Remarks
Required
TimeUsageStarted
Declaration
[Required(ErrorMessage = "TimeUsageStarted is required.")]
[JsonProperty(PropertyName = "timeUsageStarted")]
public DateTime? TimeUsageStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The usage start time. |
Remarks
Required