Show / Hide Table of Contents

Class Query

The query to filter and aggregate.

Inheritance
object
Query
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 Query

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 QueryDefinition QueryDefinition { get; set; }
Property Value
Type Description
QueryDefinition
Remarks

Required

In this article
Back to top