Class PurgeStorageDataDetails
This is the input used to purge data
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class PurgeStorageDataDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | This is the compartment OCID under which the data will be purged and required permission will be checked |
Remarks
Required
CompartmentIdInSubtree
Declaration
[JsonProperty(PropertyName = "compartmentIdInSubtree")]
public bool? CompartmentIdInSubtree { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, purge child compartments data |
DataType
Declaration
[JsonProperty(PropertyName = "dataType")]
[JsonConverter(typeof(StringEnumConverter))]
public StorageDataType? DataType { get; set; }
Property Value
Type | Description |
---|---|
StorageDataType? | This is the type of the log data to be purged |
PurgeQueryString
Declaration
[JsonProperty(PropertyName = "purgeQueryString")]
public string PurgeQueryString { get; set; }
Property Value
Type | Description |
---|---|
string | This is the solr query used to filter data, '*' means all |
TimeDataEnded
Declaration
[Required(ErrorMessage = "TimeDataEnded is required.")]
[JsonProperty(PropertyName = "timeDataEnded")]
public DateTime? TimeDataEnded { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | This is the end of the purge time interval |
Remarks
Required