PacketCaptureResult 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
PacketCaptureResult() |
Initializes a new instance of the PacketCaptureResult class. |
PacketCaptureResult(String, PacketCaptureStorageLocation, String, String, String, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>, String) |
Initializes a new instance of the PacketCaptureResult class. |
PacketCaptureResult()
Initializes a new instance of the PacketCaptureResult class.
public PacketCaptureResult ();
Public Sub New ()
Applies to
PacketCaptureResult(String, PacketCaptureStorageLocation, String, String, String, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>, String)
Initializes a new instance of the PacketCaptureResult class.
public PacketCaptureResult (string target, Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation storageLocation, string name = default, string id = default, string etag = default, 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, string provisioningState = default);
new Microsoft.Azure.Management.Network.Models.PacketCaptureResult : string * Microsoft.Azure.Management.Network.Models.PacketCaptureStorageLocation * string * string * string * 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> * string -> Microsoft.Azure.Management.Network.Models.PacketCaptureResult
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation, Optional name As String = Nothing, Optional id As String = Nothing, Optional etag As String = Nothing, 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, Optional provisioningState As String = 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.
- name
- String
Name of the packet capture session.
- id
- String
ID of the packet capture operation.
- etag
- String
A unique read-only string that changes whenever the resource is updated.
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.
- provisioningState
- String
The provisioning state of the packet capture session. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
Applies to
Azure SDK for .NET