Dela via


FlowLog Constructors

Definition

Overloads

FlowLog()

Initializes a new instance of the FlowLog class.

FlowLog(String, String, String, String, String, String, IDictionary<String, String>, String, Nullable<Boolean>, RetentionPolicyParameters, FlowLogFormatParameters, TrafficAnalyticsProperties, String, String)

Initializes a new instance of the FlowLog class.

FlowLog()

Initializes a new instance of the FlowLog class.

public FlowLog ();
Public Sub New ()

Applies to

FlowLog(String, String, String, String, String, String, IDictionary<String, String>, String, Nullable<Boolean>, RetentionPolicyParameters, FlowLogFormatParameters, TrafficAnalyticsProperties, String, String)

Initializes a new instance of the FlowLog class.

public FlowLog (string targetResourceId, string storageId, string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string targetResourceGuid = default, bool? enabled = default, Microsoft.Azure.Management.Network.Models.RetentionPolicyParameters retentionPolicy = default, Microsoft.Azure.Management.Network.Models.FlowLogFormatParameters format = default, Microsoft.Azure.Management.Network.Models.TrafficAnalyticsProperties flowAnalyticsConfiguration = default, string provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.FlowLog : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<bool> * Microsoft.Azure.Management.Network.Models.RetentionPolicyParameters * Microsoft.Azure.Management.Network.Models.FlowLogFormatParameters * Microsoft.Azure.Management.Network.Models.TrafficAnalyticsProperties * string * string -> Microsoft.Azure.Management.Network.Models.FlowLog
Public Sub New (targetResourceId As String, storageId As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional targetResourceGuid As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional retentionPolicy As RetentionPolicyParameters = Nothing, Optional format As FlowLogFormatParameters = Nothing, Optional flowAnalyticsConfiguration As TrafficAnalyticsProperties = Nothing, Optional provisioningState As String = Nothing, Optional etag As String = Nothing)

Parameters

targetResourceId
String

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

storageId
String

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

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

targetResourceGuid
String

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

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.

flowAnalyticsConfiguration
TrafficAnalyticsProperties

Parameters that define the configuration of traffic analytics.

provisioningState
String

The provisioning state of the flow log. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

etag
String

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

Applies to