Class TimeRange
Specify time range. This paramter can be overwritten if time criteria is specified in the query string. If no time criteria are found in query string this time range is used.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class TimeRange
Properties
TimeEnd
Declaration
[Required(ErrorMessage = "TimeEnd is required.")]
[JsonProperty(PropertyName = "timeEnd")]
public DateTime? TimeEnd { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time for query to stop matching results to. End Time must be greater than or equal to start time otherwise it will result in error. |
Remarks
Required
TimeStart
Declaration
[Required(ErrorMessage = "TimeStart is required.")]
[JsonProperty(PropertyName = "timeStart")]
public DateTime? TimeStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time for query to start matching results from. Start time must be less than end time otherwise it will result in error. |
Remarks
Required
TimeZone
Declaration
[JsonProperty(PropertyName = "timeZone")]
public string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string | Time zone for query. |