FlowLogPropertiesFormat Class

Definition

Parameters that define the configuration of flow log.

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

Constructors

Name Description
FlowLogPropertiesFormat(ResourceIdentifier, ResourceIdentifier)

Initializes a new instance of FlowLogPropertiesFormat.

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.

NetworkWatcherFlowAnalyticsConfiguration

Parameters that define the configuration of traffic analytics.

ProvisioningState

The provisioning state of the flow log.

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.

TargetResourceGuid

Guid of network security group to which flow log will be applied.

TargetResourceId

ID of network security group to which flow log will be applied.

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<FlowLogPropertiesFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<FlowLogPropertiesFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<FlowLogPropertiesFormat>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<FlowLogPropertiesFormat>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<FlowLogPropertiesFormat>.Write(ModelReaderWriterOptions)

Applies to