Show / Hide Table of Contents

Class DataObjectQueryTimeFilters

Time filters to be applied in the data object query.

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

Properties

TimeEnd

Declaration
[JsonProperty(PropertyName = "timeEnd")]
public DateTime? TimeEnd { get; set; }
Property Value
Type Description
DateTime?

End time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z.timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored.If timeEnd is not specified, current time is used as timeEnd.

TimePeriod

Declaration
[JsonProperty(PropertyName = "timePeriod")]
public string TimePeriod { get; set; }
Property Value
Type Description
string

Specify time period in ISO 8601 format with respect to current time. Default is last 30 days represented by P30D. If timePeriod is specified, then timeStart and timeEnd will be ignored. Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).

TimeStart

Declaration
[JsonProperty(PropertyName = "timeStart")]
public DateTime? TimeStart { get; set; }
Property Value
Type Description
DateTime?

Start time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z.timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored.

In this article
Back to top