Show / Hide Table of Contents

Class UsageCarbonEmissionsQuery

The carbon emissions usage saved query to filter and aggregate.

Inheritance
object
UsageCarbonEmissionsQuery
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.UsageapiService.Models
Assembly: OCI.DotNetSDK.Usageapi.dll
Syntax
public class UsageCarbonEmissionsQuery

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The compartment OCID.

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The query OCID.

Remarks

Required

QueryDefinition

Declaration
[Required(ErrorMessage = "QueryDefinition is required.")]
[JsonProperty(PropertyName = "queryDefinition")]
public UsageCarbonEmissionsQueryDefinition QueryDefinition { get; set; }
Property Value
Type Description
UsageCarbonEmissionsQueryDefinition
Remarks

Required

In this article
Back to top