ArmNetworkModelFactory.FlowLogProperties 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.FlowLogProperties FlowLogProperties(Azure.Core.ResourceIdentifier storageId = default, string enabledFilteringCriteria = default, string recordTypes = default, bool enabled = false, Azure.ResourceManager.Network.Models.RetentionPolicyParameters retentionPolicy = default, Azure.ResourceManager.Network.Models.FlowLogFormatParameters format = default);
static member FlowLogProperties : Azure.Core.ResourceIdentifier * string * string * bool * Azure.ResourceManager.Network.Models.RetentionPolicyParameters * Azure.ResourceManager.Network.Models.FlowLogFormatParameters -> Azure.ResourceManager.Network.Models.FlowLogProperties
Public Shared Function FlowLogProperties (Optional storageId As ResourceIdentifier = Nothing, Optional enabledFilteringCriteria As String = Nothing, Optional recordTypes As String = Nothing, Optional enabled As Boolean = false, Optional retentionPolicy As RetentionPolicyParameters = Nothing, Optional format As FlowLogFormatParameters = Nothing) As FlowLogProperties
Parameters
- 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.
Returns
A new FlowLogProperties instance for mocking.