ArmNetworkModelFactory.FlowLogData 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.
Initializes a new instance of FlowLogData.
public static Azure.ResourceManager.Network.FlowLogData FlowLogData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.Core.ResourceIdentifier targetResourceId = default, Guid? targetResourceGuid = default, Azure.Core.ResourceIdentifier storageId = default, string enabledFilteringCriteria = default, bool? enabled = default, Azure.ResourceManager.Network.Models.RetentionPolicyParameters retentionPolicy = default, Azure.ResourceManager.Network.Models.FlowLogProperties format = default, Azure.ResourceManager.Network.Models.TrafficAnalyticsConfigurationProperties trafficAnalyticsConfiguration = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member FlowLogData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.Core.ResourceIdentifier * Nullable<Guid> * Azure.Core.ResourceIdentifier * string * Nullable<bool> * Azure.ResourceManager.Network.Models.RetentionPolicyParameters * Azure.ResourceManager.Network.Models.FlowLogProperties * Azure.ResourceManager.Network.Models.TrafficAnalyticsConfigurationProperties * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.FlowLogData
Public Shared Function FlowLogData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing, Optional targetResourceGuid As Nullable(Of Guid) = Nothing, Optional storageId As ResourceIdentifier = Nothing, Optional enabledFilteringCriteria As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional retentionPolicy As RetentionPolicyParameters = Nothing, Optional format As FlowLogProperties = Nothing, Optional trafficAnalyticsConfiguration As TrafficAnalyticsConfigurationProperties = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As FlowLogData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- identity
- ManagedServiceIdentity
FlowLog resource Managed Identity.
- 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.
- retentionPolicy
- RetentionPolicyParameters
Parameters that define the retention policy for flow log.
- format
- FlowLogProperties
Parameters that define the flow log format.
- trafficAnalyticsConfiguration
- TrafficAnalyticsConfigurationProperties
Parameters that define the configuration of traffic analytics.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the flow log.
Returns
A new FlowLogData instance for mocking.
Applies to
Azure SDK for .NET