FlowLogProperties Class

Definition

Compatibility declaration for the FlowLogProperties type.

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

Constructors

Name Description
FlowLogProperties()

Initializes a new instance of the FlowLogProperties class.

FlowLogProperties(ResourceIdentifier, Boolean)

Initializes a new instance of FlowLogProperties.

Properties

Name Description
Enabled

Flag to enable/disable flow logging.

EnabledFilteringCriteria

Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.

Format

Parameters that define the flow log format.

FormatType

Gets or sets the FormatType compatibility property.

RecordTypes

Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.

RetentionPolicy

Parameters that define the retention policy for flow log.

StorageId

ID of the storage account which is used to store the flow log.

Version

Gets or sets the Version compatibility property.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<FlowLogProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FlowLogProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FlowLogProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FlowLogProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FlowLogProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to