1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. FlowLog
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi

azure-native.network.FlowLog

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi

A flow log resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.

Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.

Example Usage

Create or update flow log

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var flowLog = new AzureNative.Network.FlowLog("flowLog", new()
    {
        Enabled = true,
        FlowLogName = "fl",
        Format = new AzureNative.Network.Inputs.FlowLogFormatParametersArgs
        {
            Type = AzureNative.Network.FlowLogFormatType.JSON,
            Version = 1,
        },
        Location = "centraluseuap",
        NetworkWatcherName = "nw1",
        ResourceGroupName = "rg1",
        StorageId = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe",
        TargetResourceId = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg",
    });

});
Copy
package main

import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewFlowLog(ctx, "flowLog", &network.FlowLogArgs{
			Enabled:     pulumi.Bool(true),
			FlowLogName: pulumi.String("fl"),
			Format: &network.FlowLogFormatParametersArgs{
				Type:    pulumi.String(network.FlowLogFormatTypeJSON),
				Version: pulumi.Int(1),
			},
			Location:           pulumi.String("centraluseuap"),
			NetworkWatcherName: pulumi.String("nw1"),
			ResourceGroupName:  pulumi.String("rg1"),
			StorageId:          pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe"),
			TargetResourceId:   pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.FlowLog;
import com.pulumi.azurenative.network.FlowLogArgs;
import com.pulumi.azurenative.network.inputs.FlowLogFormatParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var flowLog = new FlowLog("flowLog", FlowLogArgs.builder()
            .enabled(true)
            .flowLogName("fl")
            .format(FlowLogFormatParametersArgs.builder()
                .type("JSON")
                .version(1)
                .build())
            .location("centraluseuap")
            .networkWatcherName("nw1")
            .resourceGroupName("rg1")
            .storageId("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe")
            .targetResourceId("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const flowLog = new azure_native.network.FlowLog("flowLog", {
    enabled: true,
    flowLogName: "fl",
    format: {
        type: azure_native.network.FlowLogFormatType.JSON,
        version: 1,
    },
    location: "centraluseuap",
    networkWatcherName: "nw1",
    resourceGroupName: "rg1",
    storageId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe",
    targetResourceId: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

flow_log = azure_native.network.FlowLog("flowLog",
    enabled=True,
    flow_log_name="fl",
    format={
        "type": azure_native.network.FlowLogFormatType.JSON,
        "version": 1,
    },
    location="centraluseuap",
    network_watcher_name="nw1",
    resource_group_name="rg1",
    storage_id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe",
    target_resource_id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg")
Copy
resources:
  flowLog:
    type: azure-native:network:FlowLog
    properties:
      enabled: true
      flowLogName: fl
      format:
        type: JSON
        version: 1
      location: centraluseuap
      networkWatcherName: nw1
      resourceGroupName: rg1
      storageId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe
      targetResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg
Copy

Create FlowLog Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new FlowLog(name: string, args: FlowLogArgs, opts?: CustomResourceOptions);
@overload
def FlowLog(resource_name: str,
            args: FlowLogArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def FlowLog(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            network_watcher_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            storage_id: Optional[str] = None,
            target_resource_id: Optional[str] = None,
            enabled: Optional[bool] = None,
            flow_analytics_configuration: Optional[TrafficAnalyticsPropertiesArgs] = None,
            flow_log_name: Optional[str] = None,
            format: Optional[FlowLogFormatParametersArgs] = None,
            id: Optional[str] = None,
            location: Optional[str] = None,
            retention_policy: Optional[RetentionPolicyParametersArgs] = None,
            tags: Optional[Mapping[str, str]] = None)
func NewFlowLog(ctx *Context, name string, args FlowLogArgs, opts ...ResourceOption) (*FlowLog, error)
public FlowLog(string name, FlowLogArgs args, CustomResourceOptions? opts = null)
public FlowLog(String name, FlowLogArgs args)
public FlowLog(String name, FlowLogArgs args, CustomResourceOptions options)
type: azure-native:network:FlowLog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. FlowLogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. FlowLogArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. FlowLogArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. FlowLogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. FlowLogArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var flowLogResource = new AzureNative.Network.FlowLog("flowLogResource", new()
{
    NetworkWatcherName = "string",
    ResourceGroupName = "string",
    StorageId = "string",
    TargetResourceId = "string",
    Enabled = false,
    FlowAnalyticsConfiguration = new AzureNative.Network.Inputs.TrafficAnalyticsPropertiesArgs
    {
        NetworkWatcherFlowAnalyticsConfiguration = new AzureNative.Network.Inputs.TrafficAnalyticsConfigurationPropertiesArgs
        {
            Enabled = false,
            TrafficAnalyticsInterval = 0,
            WorkspaceId = "string",
            WorkspaceRegion = "string",
            WorkspaceResourceId = "string",
        },
    },
    FlowLogName = "string",
    Format = new AzureNative.Network.Inputs.FlowLogFormatParametersArgs
    {
        Type = "string",
        Version = 0,
    },
    Id = "string",
    Location = "string",
    RetentionPolicy = new AzureNative.Network.Inputs.RetentionPolicyParametersArgs
    {
        Days = 0,
        Enabled = false,
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := network.NewFlowLog(ctx, "flowLogResource", &network.FlowLogArgs{
	NetworkWatcherName: pulumi.String("string"),
	ResourceGroupName:  pulumi.String("string"),
	StorageId:          pulumi.String("string"),
	TargetResourceId:   pulumi.String("string"),
	Enabled:            pulumi.Bool(false),
	FlowAnalyticsConfiguration: &network.TrafficAnalyticsPropertiesArgs{
		NetworkWatcherFlowAnalyticsConfiguration: &network.TrafficAnalyticsConfigurationPropertiesArgs{
			Enabled:                  pulumi.Bool(false),
			TrafficAnalyticsInterval: pulumi.Int(0),
			WorkspaceId:              pulumi.String("string"),
			WorkspaceRegion:          pulumi.String("string"),
			WorkspaceResourceId:      pulumi.String("string"),
		},
	},
	FlowLogName: pulumi.String("string"),
	Format: &network.FlowLogFormatParametersArgs{
		Type:    pulumi.String("string"),
		Version: pulumi.Int(0),
	},
	Id:       pulumi.String("string"),
	Location: pulumi.String("string"),
	RetentionPolicy: &network.RetentionPolicyParametersArgs{
		Days:    pulumi.Int(0),
		Enabled: pulumi.Bool(false),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var flowLogResource = new FlowLog("flowLogResource", FlowLogArgs.builder()
    .networkWatcherName("string")
    .resourceGroupName("string")
    .storageId("string")
    .targetResourceId("string")
    .enabled(false)
    .flowAnalyticsConfiguration(TrafficAnalyticsPropertiesArgs.builder()
        .networkWatcherFlowAnalyticsConfiguration(TrafficAnalyticsConfigurationPropertiesArgs.builder()
            .enabled(false)
            .trafficAnalyticsInterval(0)
            .workspaceId("string")
            .workspaceRegion("string")
            .workspaceResourceId("string")
            .build())
        .build())
    .flowLogName("string")
    .format(FlowLogFormatParametersArgs.builder()
        .type("string")
        .version(0)
        .build())
    .id("string")
    .location("string")
    .retentionPolicy(RetentionPolicyParametersArgs.builder()
        .days(0)
        .enabled(false)
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
flow_log_resource = azure_native.network.FlowLog("flowLogResource",
    network_watcher_name="string",
    resource_group_name="string",
    storage_id="string",
    target_resource_id="string",
    enabled=False,
    flow_analytics_configuration={
        "network_watcher_flow_analytics_configuration": {
            "enabled": False,
            "traffic_analytics_interval": 0,
            "workspace_id": "string",
            "workspace_region": "string",
            "workspace_resource_id": "string",
        },
    },
    flow_log_name="string",
    format={
        "type": "string",
        "version": 0,
    },
    id="string",
    location="string",
    retention_policy={
        "days": 0,
        "enabled": False,
    },
    tags={
        "string": "string",
    })
Copy
const flowLogResource = new azure_native.network.FlowLog("flowLogResource", {
    networkWatcherName: "string",
    resourceGroupName: "string",
    storageId: "string",
    targetResourceId: "string",
    enabled: false,
    flowAnalyticsConfiguration: {
        networkWatcherFlowAnalyticsConfiguration: {
            enabled: false,
            trafficAnalyticsInterval: 0,
            workspaceId: "string",
            workspaceRegion: "string",
            workspaceResourceId: "string",
        },
    },
    flowLogName: "string",
    format: {
        type: "string",
        version: 0,
    },
    id: "string",
    location: "string",
    retentionPolicy: {
        days: 0,
        enabled: false,
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:network:FlowLog
properties:
    enabled: false
    flowAnalyticsConfiguration:
        networkWatcherFlowAnalyticsConfiguration:
            enabled: false
            trafficAnalyticsInterval: 0
            workspaceId: string
            workspaceRegion: string
            workspaceResourceId: string
    flowLogName: string
    format:
        type: string
        version: 0
    id: string
    location: string
    networkWatcherName: string
    resourceGroupName: string
    retentionPolicy:
        days: 0
        enabled: false
    storageId: string
    tags:
        string: string
    targetResourceId: string
Copy

FlowLog Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The FlowLog resource accepts the following input properties:

NetworkWatcherName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network watcher.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
StorageId This property is required. string
ID of the storage account which is used to store the flow log.
TargetResourceId This property is required. string
ID of network security group to which flow log will be applied.
Enabled bool
Flag to enable/disable flow logging.
FlowAnalyticsConfiguration Pulumi.AzureNative.Network.Inputs.TrafficAnalyticsProperties
Parameters that define the configuration of traffic analytics.
FlowLogName Changes to this property will trigger replacement. string
The name of the flow log.
Format Pulumi.AzureNative.Network.Inputs.FlowLogFormatParameters
Parameters that define the flow log format.
Id string
Resource ID.
Location string
Resource location.
RetentionPolicy Pulumi.AzureNative.Network.Inputs.RetentionPolicyParameters
Parameters that define the retention policy for flow log.
Tags Dictionary<string, string>
Resource tags.
NetworkWatcherName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network watcher.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
StorageId This property is required. string
ID of the storage account which is used to store the flow log.
TargetResourceId This property is required. string
ID of network security group to which flow log will be applied.
Enabled bool
Flag to enable/disable flow logging.
FlowAnalyticsConfiguration TrafficAnalyticsPropertiesArgs
Parameters that define the configuration of traffic analytics.
FlowLogName Changes to this property will trigger replacement. string
The name of the flow log.
Format FlowLogFormatParametersArgs
Parameters that define the flow log format.
Id string
Resource ID.
Location string
Resource location.
RetentionPolicy RetentionPolicyParametersArgs
Parameters that define the retention policy for flow log.
Tags map[string]string
Resource tags.
networkWatcherName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network watcher.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
storageId This property is required. String
ID of the storage account which is used to store the flow log.
targetResourceId This property is required. String
ID of network security group to which flow log will be applied.
enabled Boolean
Flag to enable/disable flow logging.
flowAnalyticsConfiguration TrafficAnalyticsProperties
Parameters that define the configuration of traffic analytics.
flowLogName Changes to this property will trigger replacement. String
The name of the flow log.
format FlowLogFormatParameters
Parameters that define the flow log format.
id String
Resource ID.
location String
Resource location.
retentionPolicy RetentionPolicyParameters
Parameters that define the retention policy for flow log.
tags Map<String,String>
Resource tags.
networkWatcherName
This property is required.
Changes to this property will trigger replacement.
string
The name of the network watcher.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
storageId This property is required. string
ID of the storage account which is used to store the flow log.
targetResourceId This property is required. string
ID of network security group to which flow log will be applied.
enabled boolean
Flag to enable/disable flow logging.
flowAnalyticsConfiguration TrafficAnalyticsProperties
Parameters that define the configuration of traffic analytics.
flowLogName Changes to this property will trigger replacement. string
The name of the flow log.
format FlowLogFormatParameters
Parameters that define the flow log format.
id string
Resource ID.
location string
Resource location.
retentionPolicy RetentionPolicyParameters
Parameters that define the retention policy for flow log.
tags {[key: string]: string}
Resource tags.
network_watcher_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the network watcher.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
storage_id This property is required. str
ID of the storage account which is used to store the flow log.
target_resource_id This property is required. str
ID of network security group to which flow log will be applied.
enabled bool
Flag to enable/disable flow logging.
flow_analytics_configuration TrafficAnalyticsPropertiesArgs
Parameters that define the configuration of traffic analytics.
flow_log_name Changes to this property will trigger replacement. str
The name of the flow log.
format FlowLogFormatParametersArgs
Parameters that define the flow log format.
id str
Resource ID.
location str
Resource location.
retention_policy RetentionPolicyParametersArgs
Parameters that define the retention policy for flow log.
tags Mapping[str, str]
Resource tags.
networkWatcherName
This property is required.
Changes to this property will trigger replacement.
String
The name of the network watcher.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
storageId This property is required. String
ID of the storage account which is used to store the flow log.
targetResourceId This property is required. String
ID of network security group to which flow log will be applied.
enabled Boolean
Flag to enable/disable flow logging.
flowAnalyticsConfiguration Property Map
Parameters that define the configuration of traffic analytics.
flowLogName Changes to this property will trigger replacement. String
The name of the flow log.
format Property Map
Parameters that define the flow log format.
id String
Resource ID.
location String
Resource location.
retentionPolicy Property Map
Parameters that define the retention policy for flow log.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the FlowLog resource produces the following output properties:

Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
ProvisioningState string
The provisioning state of the flow log.
TargetResourceGuid string
Guid of network security group to which flow log will be applied.
Type string
Resource type.
Etag string
A unique read-only string that changes whenever the resource is updated.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name.
ProvisioningState string
The provisioning state of the flow log.
TargetResourceGuid string
Guid of network security group to which flow log will be applied.
Type string
Resource type.
etag String
A unique read-only string that changes whenever the resource is updated.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name.
provisioningState String
The provisioning state of the flow log.
targetResourceGuid String
Guid of network security group to which flow log will be applied.
type String
Resource type.
etag string
A unique read-only string that changes whenever the resource is updated.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name.
provisioningState string
The provisioning state of the flow log.
targetResourceGuid string
Guid of network security group to which flow log will be applied.
type string
Resource type.
etag str
A unique read-only string that changes whenever the resource is updated.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name.
provisioning_state str
The provisioning state of the flow log.
target_resource_guid str
Guid of network security group to which flow log will be applied.
type str
Resource type.
etag String
A unique read-only string that changes whenever the resource is updated.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name.
provisioningState String
The provisioning state of the flow log.
targetResourceGuid String
Guid of network security group to which flow log will be applied.
type String
Resource type.

Supporting Types

FlowLogFormatParameters
, FlowLogFormatParametersArgs

Type string | Pulumi.AzureNative.Network.FlowLogFormatType
The file type of flow log.
Version int
The version (revision) of the flow log.
Type string | FlowLogFormatType
The file type of flow log.
Version int
The version (revision) of the flow log.
type String | FlowLogFormatType
The file type of flow log.
version Integer
The version (revision) of the flow log.
type string | FlowLogFormatType
The file type of flow log.
version number
The version (revision) of the flow log.
type str | FlowLogFormatType
The file type of flow log.
version int
The version (revision) of the flow log.
type String | "JSON"
The file type of flow log.
version Number
The version (revision) of the flow log.

FlowLogFormatParametersResponse
, FlowLogFormatParametersResponseArgs

Type string
The file type of flow log.
Version int
The version (revision) of the flow log.
Type string
The file type of flow log.
Version int
The version (revision) of the flow log.
type String
The file type of flow log.
version Integer
The version (revision) of the flow log.
type string
The file type of flow log.
version number
The version (revision) of the flow log.
type str
The file type of flow log.
version int
The version (revision) of the flow log.
type String
The file type of flow log.
version Number
The version (revision) of the flow log.

FlowLogFormatType
, FlowLogFormatTypeArgs

JSON
JSON
FlowLogFormatTypeJSON
JSON
JSON
JSON
JSON
JSON
JSON
JSON
"JSON"
JSON

RetentionPolicyParameters
, RetentionPolicyParametersArgs

Days int
Number of days to retain flow log records.
Enabled bool
Flag to enable/disable retention.
Days int
Number of days to retain flow log records.
Enabled bool
Flag to enable/disable retention.
days Integer
Number of days to retain flow log records.
enabled Boolean
Flag to enable/disable retention.
days number
Number of days to retain flow log records.
enabled boolean
Flag to enable/disable retention.
days int
Number of days to retain flow log records.
enabled bool
Flag to enable/disable retention.
days Number
Number of days to retain flow log records.
enabled Boolean
Flag to enable/disable retention.

RetentionPolicyParametersResponse
, RetentionPolicyParametersResponseArgs

Days int
Number of days to retain flow log records.
Enabled bool
Flag to enable/disable retention.
Days int
Number of days to retain flow log records.
Enabled bool
Flag to enable/disable retention.
days Integer
Number of days to retain flow log records.
enabled Boolean
Flag to enable/disable retention.
days number
Number of days to retain flow log records.
enabled boolean
Flag to enable/disable retention.
days int
Number of days to retain flow log records.
enabled bool
Flag to enable/disable retention.
days Number
Number of days to retain flow log records.
enabled Boolean
Flag to enable/disable retention.

TrafficAnalyticsConfigurationProperties
, TrafficAnalyticsConfigurationPropertiesArgs

Enabled bool
Flag to enable/disable traffic analytics.
TrafficAnalyticsInterval int
The interval in minutes which would decide how frequently TA service should do flow analytics.
WorkspaceId string
The resource guid of the attached workspace.
WorkspaceRegion string
The location of the attached workspace.
WorkspaceResourceId string
Resource Id of the attached workspace.
Enabled bool
Flag to enable/disable traffic analytics.
TrafficAnalyticsInterval int
The interval in minutes which would decide how frequently TA service should do flow analytics.
WorkspaceId string
The resource guid of the attached workspace.
WorkspaceRegion string
The location of the attached workspace.
WorkspaceResourceId string
Resource Id of the attached workspace.
enabled Boolean
Flag to enable/disable traffic analytics.
trafficAnalyticsInterval Integer
The interval in minutes which would decide how frequently TA service should do flow analytics.
workspaceId String
The resource guid of the attached workspace.
workspaceRegion String
The location of the attached workspace.
workspaceResourceId String
Resource Id of the attached workspace.
enabled boolean
Flag to enable/disable traffic analytics.
trafficAnalyticsInterval number
The interval in minutes which would decide how frequently TA service should do flow analytics.
workspaceId string
The resource guid of the attached workspace.
workspaceRegion string
The location of the attached workspace.
workspaceResourceId string
Resource Id of the attached workspace.
enabled bool
Flag to enable/disable traffic analytics.
traffic_analytics_interval int
The interval in minutes which would decide how frequently TA service should do flow analytics.
workspace_id str
The resource guid of the attached workspace.
workspace_region str
The location of the attached workspace.
workspace_resource_id str
Resource Id of the attached workspace.
enabled Boolean
Flag to enable/disable traffic analytics.
trafficAnalyticsInterval Number
The interval in minutes which would decide how frequently TA service should do flow analytics.
workspaceId String
The resource guid of the attached workspace.
workspaceRegion String
The location of the attached workspace.
workspaceResourceId String
Resource Id of the attached workspace.

TrafficAnalyticsConfigurationPropertiesResponse
, TrafficAnalyticsConfigurationPropertiesResponseArgs

Enabled bool
Flag to enable/disable traffic analytics.
TrafficAnalyticsInterval int
The interval in minutes which would decide how frequently TA service should do flow analytics.
WorkspaceId string
The resource guid of the attached workspace.
WorkspaceRegion string
The location of the attached workspace.
WorkspaceResourceId string
Resource Id of the attached workspace.
Enabled bool
Flag to enable/disable traffic analytics.
TrafficAnalyticsInterval int
The interval in minutes which would decide how frequently TA service should do flow analytics.
WorkspaceId string
The resource guid of the attached workspace.
WorkspaceRegion string
The location of the attached workspace.
WorkspaceResourceId string
Resource Id of the attached workspace.
enabled Boolean
Flag to enable/disable traffic analytics.
trafficAnalyticsInterval Integer
The interval in minutes which would decide how frequently TA service should do flow analytics.
workspaceId String
The resource guid of the attached workspace.
workspaceRegion String
The location of the attached workspace.
workspaceResourceId String
Resource Id of the attached workspace.
enabled boolean
Flag to enable/disable traffic analytics.
trafficAnalyticsInterval number
The interval in minutes which would decide how frequently TA service should do flow analytics.
workspaceId string
The resource guid of the attached workspace.
workspaceRegion string
The location of the attached workspace.
workspaceResourceId string
Resource Id of the attached workspace.
enabled bool
Flag to enable/disable traffic analytics.
traffic_analytics_interval int
The interval in minutes which would decide how frequently TA service should do flow analytics.
workspace_id str
The resource guid of the attached workspace.
workspace_region str
The location of the attached workspace.
workspace_resource_id str
Resource Id of the attached workspace.
enabled Boolean
Flag to enable/disable traffic analytics.
trafficAnalyticsInterval Number
The interval in minutes which would decide how frequently TA service should do flow analytics.
workspaceId String
The resource guid of the attached workspace.
workspaceRegion String
The location of the attached workspace.
workspaceResourceId String
Resource Id of the attached workspace.

TrafficAnalyticsProperties
, TrafficAnalyticsPropertiesArgs

NetworkWatcherFlowAnalyticsConfiguration TrafficAnalyticsConfigurationProperties
Parameters that define the configuration of traffic analytics.
networkWatcherFlowAnalyticsConfiguration TrafficAnalyticsConfigurationProperties
Parameters that define the configuration of traffic analytics.
networkWatcherFlowAnalyticsConfiguration TrafficAnalyticsConfigurationProperties
Parameters that define the configuration of traffic analytics.
network_watcher_flow_analytics_configuration TrafficAnalyticsConfigurationProperties
Parameters that define the configuration of traffic analytics.
networkWatcherFlowAnalyticsConfiguration Property Map
Parameters that define the configuration of traffic analytics.

TrafficAnalyticsPropertiesResponse
, TrafficAnalyticsPropertiesResponseArgs

NetworkWatcherFlowAnalyticsConfiguration TrafficAnalyticsConfigurationPropertiesResponse
Parameters that define the configuration of traffic analytics.
networkWatcherFlowAnalyticsConfiguration TrafficAnalyticsConfigurationPropertiesResponse
Parameters that define the configuration of traffic analytics.
networkWatcherFlowAnalyticsConfiguration TrafficAnalyticsConfigurationPropertiesResponse
Parameters that define the configuration of traffic analytics.
network_watcher_flow_analytics_configuration TrafficAnalyticsConfigurationPropertiesResponse
Parameters that define the configuration of traffic analytics.
networkWatcherFlowAnalyticsConfiguration Property Map
Parameters that define the configuration of traffic analytics.

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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi