FlowLogArgs

data class FlowLogArgs(val enabled: Output<Boolean>? = null, val enabledFilteringCriteria: Output<String>? = null, val flowAnalyticsConfiguration: Output<TrafficAnalyticsPropertiesArgs>? = null, val flowLogName: Output<String>? = null, val format: Output<FlowLogFormatParametersArgs>? = null, val id: Output<String>? = null, val identity: Output<ManagedServiceIdentityArgs>? = null, val location: Output<String>? = null, val networkWatcherName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val retentionPolicy: Output<RetentionPolicyParametersArgs>? = null, val storageId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val targetResourceId: Output<String>? = null) : ConvertibleToJava<FlowLogArgs>

A flow log resource. Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01. Other available API versions: 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:network:FlowLog Microsoft.Networkdesmond-rgdesmondcentral-nsg /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, enabledFilteringCriteria: Output<String>? = null, flowAnalyticsConfiguration: Output<TrafficAnalyticsPropertiesArgs>? = null, flowLogName: Output<String>? = null, format: Output<FlowLogFormatParametersArgs>? = null, id: Output<String>? = null, identity: Output<ManagedServiceIdentityArgs>? = null, location: Output<String>? = null, networkWatcherName: Output<String>? = null, resourceGroupName: Output<String>? = null, retentionPolicy: Output<RetentionPolicyParametersArgs>? = null, storageId: Output<String>? = null, tags: Output<Map<String, String>>? = null, targetResourceId: Output<String>? = null)

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

Flag to enable/disable flow logging.

Link copied to clipboard
val enabledFilteringCriteria: Output<String>? = null

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.

Link copied to clipboard

Parameters that define the configuration of traffic analytics.

Link copied to clipboard
val flowLogName: Output<String>? = null

The name of the flow log.

Link copied to clipboard
val format: Output<FlowLogFormatParametersArgs>? = null

Parameters that define the flow log format.

Link copied to clipboard
val id: Output<String>? = null

Resource ID.

Link copied to clipboard

FlowLog resource Managed Identity

Link copied to clipboard
val location: Output<String>? = null

Resource location.

Link copied to clipboard
val networkWatcherName: Output<String>? = null

The name of the network watcher.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard

Parameters that define the retention policy for flow log.

Link copied to clipboard
val storageId: Output<String>? = null

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

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Link copied to clipboard
val targetResourceId: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): FlowLogArgs