ArmNetworkModelFactory.FlowLogData Method

Definition

public static Azure.ResourceManager.Network.FlowLogData FlowLogData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.ResourceIdentifier targetResourceId = default, Guid? targetResourceGuid = default, Azure.Core.ResourceIdentifier storageId = default, string enabledFilteringCriteria = default, string recordTypes = default, bool? enabled = default, Azure.ResourceManager.Network.Models.RetentionPolicyParameters retentionPolicy = default, Azure.ResourceManager.Network.Models.FlowLogFormatParameters format = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration = default, Azure.ETag? eTag = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member FlowLogData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier * Nullable<Guid> * Azure.Core.ResourceIdentifier * string * string * Nullable<bool> * Azure.ResourceManager.Network.Models.RetentionPolicyParameters * Azure.ResourceManager.Network.Models.FlowLogFormatParameters * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.ResourceManager.Network.Models.TrafficAnalyticsConfigurationProperties * Nullable<Azure.ETag> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Network.FlowLogData
Public Shared Function FlowLogData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing, Optional targetResourceGuid As Nullable(Of Guid) = Nothing, Optional storageId As ResourceIdentifier = Nothing, Optional enabledFilteringCriteria As String = Nothing, Optional recordTypes As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional retentionPolicy As RetentionPolicyParameters = Nothing, Optional format As FlowLogFormatParameters = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional networkWatcherFlowAnalyticsConfiguration As TrafficAnalyticsConfigurationProperties = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As FlowLogData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

targetResourceId
ResourceIdentifier

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

targetResourceGuid
Nullable<Guid>

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

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
Nullable<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.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the flow log.

networkWatcherFlowAnalyticsConfiguration
TrafficAnalyticsConfigurationProperties

Parameters that define the configuration of traffic analytics.

eTag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

identity
ManagedServiceIdentity

FlowLog resource Managed Identity.

Returns

A new FlowLogData instance for mocking.

Applies to