azure-native.network.FlowLog
Explore with Pulumi AI
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",
    });
});
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
	})
}
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());
    }
}
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",
});
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")
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
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 string
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlowLogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
    },
});
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"),
	},
})
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());
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",
    })
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",
    },
});
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
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:
- NetworkWatcher stringName 
- The name of the network watcher.
- ResourceGroup stringName 
- The name of the resource group.
- StorageId string
- ID of the storage account which is used to store the flow log.
- TargetResource stringId 
- ID of network security group to which flow log will be applied.
- Enabled bool
- Flag to enable/disable flow logging.
- FlowAnalytics Pulumi.Configuration Azure Native. Network. Inputs. Traffic Analytics Properties 
- Parameters that define the configuration of traffic analytics.
- FlowLog stringName 
- The name of the flow log.
- Format
Pulumi.Azure Native. Network. Inputs. Flow Log Format Parameters 
- Parameters that define the flow log format.
- Id string
- Resource ID.
- Location string
- Resource location.
- RetentionPolicy Pulumi.Azure Native. Network. Inputs. Retention Policy Parameters 
- Parameters that define the retention policy for flow log.
- Dictionary<string, string>
- Resource tags.
- NetworkWatcher stringName 
- The name of the network watcher.
- ResourceGroup stringName 
- The name of the resource group.
- StorageId string
- ID of the storage account which is used to store the flow log.
- TargetResource stringId 
- ID of network security group to which flow log will be applied.
- Enabled bool
- Flag to enable/disable flow logging.
- FlowAnalytics TrafficConfiguration Analytics Properties Args 
- Parameters that define the configuration of traffic analytics.
- FlowLog stringName 
- The name of the flow log.
- Format
FlowLog Format Parameters Args 
- Parameters that define the flow log format.
- Id string
- Resource ID.
- Location string
- Resource location.
- RetentionPolicy RetentionPolicy Parameters Args 
- Parameters that define the retention policy for flow log.
- map[string]string
- Resource tags.
- networkWatcher StringName 
- The name of the network watcher.
- resourceGroup StringName 
- The name of the resource group.
- storageId String
- ID of the storage account which is used to store the flow log.
- targetResource StringId 
- ID of network security group to which flow log will be applied.
- enabled Boolean
- Flag to enable/disable flow logging.
- flowAnalytics TrafficConfiguration Analytics Properties 
- Parameters that define the configuration of traffic analytics.
- flowLog StringName 
- The name of the flow log.
- format
FlowLog Format Parameters 
- Parameters that define the flow log format.
- id String
- Resource ID.
- location String
- Resource location.
- retentionPolicy RetentionPolicy Parameters 
- Parameters that define the retention policy for flow log.
- Map<String,String>
- Resource tags.
- networkWatcher stringName 
- The name of the network watcher.
- resourceGroup stringName 
- The name of the resource group.
- storageId string
- ID of the storage account which is used to store the flow log.
- targetResource stringId 
- ID of network security group to which flow log will be applied.
- enabled boolean
- Flag to enable/disable flow logging.
- flowAnalytics TrafficConfiguration Analytics Properties 
- Parameters that define the configuration of traffic analytics.
- flowLog stringName 
- The name of the flow log.
- format
FlowLog Format Parameters 
- Parameters that define the flow log format.
- id string
- Resource ID.
- location string
- Resource location.
- retentionPolicy RetentionPolicy Parameters 
- Parameters that define the retention policy for flow log.
- {[key: string]: string}
- Resource tags.
- network_watcher_ strname 
- The name of the network watcher.
- resource_group_ strname 
- The name of the resource group.
- storage_id str
- ID of the storage account which is used to store the flow log.
- target_resource_ strid 
- ID of network security group to which flow log will be applied.
- enabled bool
- Flag to enable/disable flow logging.
- flow_analytics_ Trafficconfiguration Analytics Properties Args 
- Parameters that define the configuration of traffic analytics.
- flow_log_ strname 
- The name of the flow log.
- format
FlowLog Format Parameters Args 
- Parameters that define the flow log format.
- id str
- Resource ID.
- location str
- Resource location.
- retention_policy RetentionPolicy Parameters Args 
- Parameters that define the retention policy for flow log.
- Mapping[str, str]
- Resource tags.
- networkWatcher StringName 
- The name of the network watcher.
- resourceGroup StringName 
- The name of the resource group.
- storageId String
- ID of the storage account which is used to store the flow log.
- targetResource StringId 
- ID of network security group to which flow log will be applied.
- enabled Boolean
- Flag to enable/disable flow logging.
- flowAnalytics Property MapConfiguration 
- Parameters that define the configuration of traffic analytics.
- flowLog StringName 
- 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.
- 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.
- TargetResource stringGuid 
- 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.
- TargetResource stringGuid 
- 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.
- targetResource StringGuid 
- 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.
- targetResource stringGuid 
- 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_ strguid 
- 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.
- targetResource StringGuid 
- Guid of network security group to which flow log will be applied.
- type String
- Resource type.
Supporting Types
FlowLogFormatParameters, FlowLogFormatParametersArgs        
- Type
string | Pulumi.Azure Native. Network. Flow Log Format Type 
- The file type of flow log.
- Version int
- The version (revision) of the flow log.
- Type
string | FlowLog Format Type 
- The file type of flow log.
- Version int
- The version (revision) of the flow log.
- type
String | FlowLog Format Type 
- The file type of flow log.
- version Integer
- The version (revision) of the flow log.
- type
string | FlowLog Format Type 
- The file type of flow log.
- version number
- The version (revision) of the flow log.
- type
str | FlowLog Format Type 
- The file type of flow log.
- version int
- The version (revision) of the flow log.
FlowLogFormatParametersResponse, FlowLogFormatParametersResponseArgs          
FlowLogFormatType, FlowLogFormatTypeArgs        
- JSON
- JSON
- FlowLog Format Type JSON 
- JSON
- JSON
- JSON
- JSON
- JSON
- JSON
- JSON
- "JSON"
- JSON
RetentionPolicyParameters, RetentionPolicyParametersArgs      
RetentionPolicyParametersResponse, RetentionPolicyParametersResponseArgs        
TrafficAnalyticsConfigurationProperties, TrafficAnalyticsConfigurationPropertiesArgs        
- Enabled bool
- Flag to enable/disable traffic analytics.
- TrafficAnalytics intInterval 
- 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.
- WorkspaceResource stringId 
- Resource Id of the attached workspace.
- Enabled bool
- Flag to enable/disable traffic analytics.
- TrafficAnalytics intInterval 
- 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.
- WorkspaceResource stringId 
- Resource Id of the attached workspace.
- enabled Boolean
- Flag to enable/disable traffic analytics.
- trafficAnalytics IntegerInterval 
- 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.
- workspaceResource StringId 
- Resource Id of the attached workspace.
- enabled boolean
- Flag to enable/disable traffic analytics.
- trafficAnalytics numberInterval 
- 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.
- workspaceResource stringId 
- Resource Id of the attached workspace.
- enabled bool
- Flag to enable/disable traffic analytics.
- traffic_analytics_ intinterval 
- 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_ strid 
- Resource Id of the attached workspace.
- enabled Boolean
- Flag to enable/disable traffic analytics.
- trafficAnalytics NumberInterval 
- 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.
- workspaceResource StringId 
- Resource Id of the attached workspace.
TrafficAnalyticsConfigurationPropertiesResponse, TrafficAnalyticsConfigurationPropertiesResponseArgs          
- Enabled bool
- Flag to enable/disable traffic analytics.
- TrafficAnalytics intInterval 
- 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.
- WorkspaceResource stringId 
- Resource Id of the attached workspace.
- Enabled bool
- Flag to enable/disable traffic analytics.
- TrafficAnalytics intInterval 
- 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.
- WorkspaceResource stringId 
- Resource Id of the attached workspace.
- enabled Boolean
- Flag to enable/disable traffic analytics.
- trafficAnalytics IntegerInterval 
- 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.
- workspaceResource StringId 
- Resource Id of the attached workspace.
- enabled boolean
- Flag to enable/disable traffic analytics.
- trafficAnalytics numberInterval 
- 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.
- workspaceResource stringId 
- Resource Id of the attached workspace.
- enabled bool
- Flag to enable/disable traffic analytics.
- traffic_analytics_ intinterval 
- 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_ strid 
- Resource Id of the attached workspace.
- enabled Boolean
- Flag to enable/disable traffic analytics.
- trafficAnalytics NumberInterval 
- 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.
- workspaceResource StringId 
- Resource Id of the attached workspace.
TrafficAnalyticsProperties, TrafficAnalyticsPropertiesArgs      
- NetworkWatcher Pulumi.Flow Analytics Configuration Azure Native. Network. Inputs. Traffic Analytics Configuration Properties 
- Parameters that define the configuration of traffic analytics.
- NetworkWatcher TrafficFlow Analytics Configuration Analytics Configuration Properties 
- Parameters that define the configuration of traffic analytics.
- networkWatcher TrafficFlow Analytics Configuration Analytics Configuration Properties 
- Parameters that define the configuration of traffic analytics.
- networkWatcher TrafficFlow Analytics Configuration Analytics Configuration Properties 
- Parameters that define the configuration of traffic analytics.
- network_watcher_ Trafficflow_ analytics_ configuration Analytics Configuration Properties 
- Parameters that define the configuration of traffic analytics.
- networkWatcher Property MapFlow Analytics Configuration 
- Parameters that define the configuration of traffic analytics.
TrafficAnalyticsPropertiesResponse, TrafficAnalyticsPropertiesResponseArgs        
- NetworkWatcher Pulumi.Flow Analytics Configuration Azure Native. Network. Inputs. Traffic Analytics Configuration Properties Response 
- Parameters that define the configuration of traffic analytics.
- NetworkWatcher TrafficFlow Analytics Configuration Analytics Configuration Properties Response 
- Parameters that define the configuration of traffic analytics.
- networkWatcher TrafficFlow Analytics Configuration Analytics Configuration Properties Response 
- Parameters that define the configuration of traffic analytics.
- networkWatcher TrafficFlow Analytics Configuration Analytics Configuration Properties Response 
- Parameters that define the configuration of traffic analytics.
- network_watcher_ Trafficflow_ analytics_ configuration Analytics Configuration Properties Response 
- Parameters that define the configuration of traffic analytics.
- networkWatcher Property MapFlow Analytics Configuration 
- 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0