Show / Hide Table of Contents

Class ConditionBlock

A condition block. This could represent a single condition, or have nested condition blocks under it. To form a single condition, specify the fieldName, labelConditionOperator and labelConditionValue(s). To form nested conditions, specify the conditions in conditionBlocks, and how to join them in conditionBlocksOperator.

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

Properties

ConditionBlocks

Declaration
[JsonProperty(PropertyName = "conditionBlocks")]
public List<ConditionBlock> ConditionBlocks { get; set; }
Property Value
Type Description
List<ConditionBlock>

Condition blocks to evaluate within this condition block. Specify this for nested conditions.

ConditionBlocksOperator

Declaration
[JsonProperty(PropertyName = "conditionBlocksOperator")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConditionBlock.ConditionBlocksOperatorEnum? ConditionBlocksOperator { get; set; }
Property Value
Type Description
ConditionBlock.ConditionBlocksOperatorEnum?

Operator using which the conditionBlocks should be joined. Specify this for nested conditions.

FieldName

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

The name of the field the condition is based on. Specify this if this condition block represents a single condition.

LabelConditionOperator

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

The condition operator. Specify this if this condition block represents a single condition.

LabelConditionValue

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

The condition value. Specify this if this condition block represents a single condition.

LabelConditionValues

Declaration
[JsonProperty(PropertyName = "labelConditionValues")]
public List<string> LabelConditionValues { get; set; }
Property Value
Type Description
List<string>

A list of condition values. Specify this if this condition block represents a single condition.

In this article
Back to top