Show / Hide Table of Contents

Class PurgeAction

Purge action for scheduled task.

Inheritance
object
Action
PurgeAction
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class PurgeAction : Action

Properties

CompartmentIdInSubtree

Declaration
[JsonProperty(PropertyName = "compartmentIdInSubtree")]
public bool? CompartmentIdInSubtree { get; set; }
Property Value
Type Description
bool?

if true, purge child compartments data

DataType

Declaration
[Required(ErrorMessage = "DataType is required.")]
[JsonProperty(PropertyName = "dataType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public StorageDataType? DataType { get; set; }
Property Value
Type Description
StorageDataType?

the type of the log data to be purged

Remarks

Required

PurgeCompartmentId

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

the compartment OCID under which the data will be purged

Remarks

Required

PurgeDuration

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

The duration of data to be retained, which is used to calculate the timeDataEnded when the task fires. The value should be negative. Purge duration in ISO 8601 extended format as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. -P365D (not -P1Y) or -P14D (not -P2W).

Remarks

Required

QueryString

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

Purge query string.

Remarks

Required

In this article
Back to top