PacketCaptureParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PacketCaptureParameters() |
Initializes a new instance of the PacketCaptureParameters class. |
PacketCaptureParameters(String, PacketCaptureStorageLocation, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>) |
Initializes a new instance of the PacketCaptureParameters class. |
PacketCaptureParameters()
Initializes a new instance of the PacketCaptureParameters class.
public PacketCaptureParameters ();
Public Sub New ()
Applies to
PacketCaptureParameters(String, PacketCaptureStorageLocation, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>)
Initializes a new instance of the PacketCaptureParameters class.
public PacketCaptureParameters (string target, Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation storageLocation, Microsoft.Azure.Management.Network.Models.PacketCaptureMachineScope scope = default, Microsoft.Azure.Management.Network.Models.PacketCaptureTargetType? targetType = default, long? bytesToCapturePerPacket = default, long? totalBytesPerSession = default, int? timeLimitInSeconds = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PacketCaptureFilter> filters = default);
new Microsoft.Azure.Management.Network.Models.PacketCaptureParameters : string * Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation * Microsoft.Azure.Management.Network.Models.PacketCaptureMachineScope * Nullable<Microsoft.Azure.Management.Network.Models.PacketCaptureTargetType> * Nullable<int64> * Nullable<int64> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.PacketCaptureFilter> -> Microsoft.Azure.Management.Network.Models.PacketCaptureParameters
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation, Optional scope As PacketCaptureMachineScope = Nothing, Optional targetType As Nullable(Of PacketCaptureTargetType) = Nothing, Optional bytesToCapturePerPacket As Nullable(Of Long) = Nothing, Optional totalBytesPerSession As Nullable(Of Long) = Nothing, Optional timeLimitInSeconds As Nullable(Of Integer) = Nothing, Optional filters As IList(Of PacketCaptureFilter) = Nothing)
Parameters
- target
- String
The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
- storageLocation
- PacketCaptureStorageLocation
The storage location for a packet capture session.
A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.
- targetType
- Nullable<PacketCaptureTargetType>
Target type of the resource provided. Possible values include: 'AzureVM', 'AzureVMSS'
Number of bytes captured per packet, the remaining bytes are truncated.
- filters
- IList<PacketCaptureFilter>
A list of packet capture filters.
Applies to
Azure SDK for .NET