Share via


MatchedRule Class

Definition

Matched rule.

public class MatchedRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.MatchedRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.MatchedRule>
public class MatchedRule
type MatchedRule = class
    interface IJsonModel<MatchedRule>
    interface IPersistableModel<MatchedRule>
type MatchedRule = class
Public Class MatchedRule
Implements IJsonModel(Of MatchedRule), IPersistableModel(Of MatchedRule)
Public Class MatchedRule
Inheritance
MatchedRule
Implements

Properties

Action

The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.

RuleName

Name of the matched network security rule.

Explicit Interface Implementations

IJsonModel<MatchedRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MatchedRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MatchedRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MatchedRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MatchedRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to