FlowLogInformation Class

Definition

Compatibility declaration for the FlowLogInformation type.

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

Constructors

Name Description
FlowLogInformation(ResourceIdentifier, ResourceIdentifier, Boolean)

Initializes a new instance of FlowLogInformation.

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

Gets or sets the Format compatibility property.

FormatType

Gets or sets the FormatType.

Identity

FlowLog resource Managed Identity.

NetworkWatcherFlowAnalyticsConfiguration

Parameters that define the configuration of traffic analytics.

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.

TargetResourceId

The ID of the resource to configure for flow log and traffic analytics (optional) .

TrafficAnalyticsConfiguration

Compatibility member.

Version

Gets or sets the Version.

Methods

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

Explicit Interface Implementations

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

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

IJsonModel<FlowLogInformation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FlowLogInformation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FlowLogInformation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FlowLogInformation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to