다음을 통해 공유


ActivityLogAlertAnyOfOrLeafCondition Class

Definition

An Activity Log Alert rule condition that is met when all its member conditions are met. Each condition can be of one of the following types: Important: Each type has its unique subset of properties. Properties from different types CANNOT exist in one condition.

  • Leaf Condition - must contain 'field' and either 'equals' or 'containsAny'. Please note, 'anyOf' should not be set in a Leaf Condition.
  • AnyOf Condition - must contain only 'anyOf' (which is an array of Leaf Conditions). Please note, 'field', 'equals' and 'containsAny' should not be set in an AnyOf Condition.
public class ActivityLogAlertAnyOfOrLeafCondition : Azure.ResourceManager.Monitor.Models.AlertRuleLeafCondition, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.ActivityLogAlertAnyOfOrLeafCondition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.ActivityLogAlertAnyOfOrLeafCondition>
type ActivityLogAlertAnyOfOrLeafCondition = class
    inherit AlertRuleLeafCondition
    interface IJsonModel<ActivityLogAlertAnyOfOrLeafCondition>
    interface IPersistableModel<ActivityLogAlertAnyOfOrLeafCondition>
Public Class ActivityLogAlertAnyOfOrLeafCondition
Inherits AlertRuleLeafCondition
Implements IJsonModel(Of ActivityLogAlertAnyOfOrLeafCondition), IPersistableModel(Of ActivityLogAlertAnyOfOrLeafCondition)
Inheritance
ActivityLogAlertAnyOfOrLeafCondition
Implements

Constructors

ActivityLogAlertAnyOfOrLeafCondition()

Initializes a new instance of ActivityLogAlertAnyOfOrLeafCondition.

Properties

AnyOf

An Activity Log Alert rule condition that is met when at least one of its member leaf conditions are met.

ContainsAny

The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.

(Inherited from AlertRuleLeafCondition)
EqualsValue

The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.

(Inherited from AlertRuleLeafCondition)
Field

The name of the Activity Log event's field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.

(Inherited from AlertRuleLeafCondition)

Explicit Interface Implementations

IJsonModel<ActivityLogAlertAnyOfOrLeafCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ActivityLogAlertAnyOfOrLeafCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<AlertRuleLeafCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from AlertRuleLeafCondition)
IJsonModel<AlertRuleLeafCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from AlertRuleLeafCondition)
IPersistableModel<ActivityLogAlertAnyOfOrLeafCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ActivityLogAlertAnyOfOrLeafCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ActivityLogAlertAnyOfOrLeafCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<AlertRuleLeafCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from AlertRuleLeafCondition)
IPersistableModel<AlertRuleLeafCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from AlertRuleLeafCondition)
IPersistableModel<AlertRuleLeafCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from AlertRuleLeafCondition)

Applies to