ArmNetworkModelFactory.FlowLogPropertiesFormat Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.FlowLogPropertiesFormat FlowLogPropertiesFormat(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.TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member FlowLogPropertiesFormat : Azure.Core.ResourceIdentifier * Nullable<Guid> * Azure.Core.ResourceIdentifier * string * string * Nullable<bool> * Azure.ResourceManager.Network.Models.RetentionPolicyParameters * Azure.ResourceManager.Network.Models.FlowLogFormatParameters * Azure.ResourceManager.Network.Models.TrafficAnalyticsConfigurationProperties * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.FlowLogPropertiesFormat
Public Shared Function FlowLogPropertiesFormat (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 networkWatcherFlowAnalyticsConfiguration As TrafficAnalyticsConfigurationProperties = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As FlowLogPropertiesFormat
Parameters
- targetResourceId
- ResourceIdentifier
ID 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.
- 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.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the flow log.
Returns
A new FlowLogPropertiesFormat instance for mocking.