Show / Hide Table of Contents

Class NetworkWatcherFlowLog

Manages a Network Watcher Flow Log.

Inheritance
System.Object
Resource
CustomResource
NetworkWatcherFlowLog
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class NetworkWatcherFlowLog : CustomResource

Constructors

View Source

NetworkWatcherFlowLog(String, NetworkWatcherFlowLogArgs, CustomResourceOptions)

Create a NetworkWatcherFlowLog resource with the given unique name, arguments, and options.

Declaration
public NetworkWatcherFlowLog(string name, NetworkWatcherFlowLogArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

NetworkWatcherFlowLogArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Enabled

Boolean flag to enable/disable traffic analytics.

Declaration
public Output<bool> Enabled { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

NetworkSecurityGroupId

The ID of the Network Security Group for which to enable flow logs for. Changing this forces a new resource to be created.

Declaration
public Output<string> NetworkSecurityGroupId { get; }
Property Value
Type Description
Output<System.String>
View Source

NetworkWatcherName

The name of the Network Watcher. Changing this forces a new resource to be created.

Declaration
public Output<string> NetworkWatcherName { get; }
Property Value
Type Description
Output<System.String>
View Source

ResourceGroupName

The name of the resource group in which the Network Watcher was deployed. Changing this forces a new resource to be created.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

RetentionPolicy

A retention_policy block as documented below.

Declaration
public Output<NetworkWatcherFlowLogRetentionPolicy> RetentionPolicy { get; }
Property Value
Type Description
Output<NetworkWatcherFlowLogRetentionPolicy>
View Source

StorageAccountId

The ID of the Storage Account where flow logs are stored.

Declaration
public Output<string> StorageAccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

TrafficAnalytics

A traffic_analytics block as documented below.

Declaration
public Output<NetworkWatcherFlowLogTrafficAnalytics> TrafficAnalytics { get; }
Property Value
Type Description
Output<NetworkWatcherFlowLogTrafficAnalytics>
View Source

Version

The version (revision) of the flow log. Possible values are 1 and 2.

Declaration
public Output<int> Version { get; }
Property Value
Type Description
Output<System.Int32>

Methods

View Source

Get(String, Input<String>, NetworkWatcherFlowLogState, CustomResourceOptions)

Get an existing NetworkWatcherFlowLog resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static NetworkWatcherFlowLog Get(string name, Input<string> id, NetworkWatcherFlowLogState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

NetworkWatcherFlowLogState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
NetworkWatcherFlowLog
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.