Sprog

ArmNetworkModelFactory.FlowLogInformation Method

Definition

public static Azure.ResourceManager.Network.Models.FlowLogInformation FlowLogInformation(Azure.Core.ResourceIdentifier targetResourceId, Azure.Core.ResourceIdentifier storageId, string enabledFilteringCriteria, string recordTypes, bool enabled, Azure.ResourceManager.Network.Models.RetentionPolicyParameters retentionPolicy, Azure.ResourceManager.Network.Models.FlowLogFormatParameters format, Azure.ResourceManager.Network.Models.TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration, Azure.ResourceManager.Models.ManagedServiceIdentity identity);
static member FlowLogInformation : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * string * bool * Azure.ResourceManager.Network.Models.RetentionPolicyParameters * Azure.ResourceManager.Network.Models.FlowLogFormatParameters * Azure.ResourceManager.Network.Models.TrafficAnalyticsConfigurationProperties * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Network.Models.FlowLogInformation
Public Shared Function FlowLogInformation (targetResourceId As ResourceIdentifier, storageId As ResourceIdentifier, enabledFilteringCriteria As String, recordTypes As String, enabled As Boolean, retentionPolicy As RetentionPolicyParameters, format As FlowLogFormatParameters, networkWatcherFlowAnalyticsConfiguration As TrafficAnalyticsConfigurationProperties, identity As ManagedServiceIdentity) As FlowLogInformation

Parameters

targetResourceId
ResourceIdentifier

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

storageId
ResourceIdentifier

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

enabledFilteringCriteria
String

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.

recordTypes
String

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.

enabled
Boolean

Flag to enable/disable flow logging.

retentionPolicy
RetentionPolicyParameters

Parameters that define the retention policy for flow log.

format
FlowLogFormatParameters

Parameters that define the flow log format.

networkWatcherFlowAnalyticsConfiguration
TrafficAnalyticsConfigurationProperties

Parameters that define the configuration of traffic analytics.

identity
ManagedServiceIdentity

FlowLog resource Managed Identity.

Returns

A new FlowLogInformation instance for mocking.

Exceptions

storageId is null.

Applies to