Show / Hide Table of Contents

Class NetworkPacketCapture

Configures Network Packet Capturing against a Virtual Machine using a Network Watcher.

Inheritance
System.Object
Resource
CustomResource
NetworkPacketCapture
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 NetworkPacketCapture : CustomResource

Constructors

View Source

NetworkPacketCapture(String, NetworkPacketCaptureArgs, CustomResourceOptions)

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

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

The unique name of the resource

NetworkPacketCaptureArgs 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

Filters

One or more filter blocks as defined below. Changing this forces a new resource to be created.

Declaration
public Output<ImmutableArray<NetworkPacketCaptureFilter>> Filters { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<NetworkPacketCaptureFilter>>
View Source

MaximumBytesPerPacket

The number of bytes captured per packet. The remaining bytes are truncated. Defaults to 0 (Entire Packet Captured). Changing this forces a new resource to be created.

Declaration
public Output<int?> MaximumBytesPerPacket { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

MaximumBytesPerSession

Maximum size of the capture in Bytes. Defaults to 1073741824 (1GB). Changing this forces a new resource to be created.

Declaration
public Output<int?> MaximumBytesPerSession { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

MaximumCaptureDuration

The maximum duration of the capture session in seconds. Defaults to 18000 (5 hours). Changing this forces a new resource to be created.

Declaration
public Output<int?> MaximumCaptureDuration { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Name

The name to use for this Network Packet Capture. Changing this forces a new resource to be created.

Declaration
public Output<string> Name { 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 exists. Changing this forces a new resource to be created.

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

StorageLocation

A storage_location block as defined below. Changing this forces a new resource to be created.

Declaration
public Output<NetworkPacketCaptureStorageLocation> StorageLocation { get; }
Property Value
Type Description
Output<NetworkPacketCaptureStorageLocation>
View Source

TargetResourceId

The ID of the Resource to capture packets from. Changing this forces a new resource to be created.

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

Methods

View Source

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

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

Declaration
public static NetworkPacketCapture Get(string name, Input<string> id, NetworkPacketCaptureState 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.

NetworkPacketCaptureState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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