ArmNetworkModelFactory.PacketCaptureQueryStatusResult Method

Definition

Initializes a new instance of PacketCaptureQueryStatusResult.

public static Azure.ResourceManager.Network.Models.PacketCaptureQueryStatusResult PacketCaptureQueryStatusResult (string name = default, string id = default, DateTimeOffset? captureStartOn = default, Azure.ResourceManager.Network.Models.PcStatus? packetCaptureStatus = default, string stopReason = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.PcError> packetCaptureError = default);
static member PacketCaptureQueryStatusResult : string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Network.Models.PcStatus> * string * seq<Azure.ResourceManager.Network.Models.PcError> -> Azure.ResourceManager.Network.Models.PacketCaptureQueryStatusResult
Public Shared Function PacketCaptureQueryStatusResult (Optional name As String = Nothing, Optional id As String = Nothing, Optional captureStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional packetCaptureStatus As Nullable(Of PcStatus) = Nothing, Optional stopReason As String = Nothing, Optional packetCaptureError As IEnumerable(Of PcError) = Nothing) As PacketCaptureQueryStatusResult

Parameters

name
String

The name of the packet capture resource.

id
String

The ID of the packet capture resource.

captureStartOn
Nullable<DateTimeOffset>

The start time of the packet capture session.

packetCaptureStatus
Nullable<PcStatus>

The status of the packet capture session.

stopReason
String

The reason the current packet capture session was stopped.

packetCaptureError
IEnumerable<PcError>

List of errors of packet capture session.

Returns

A new PacketCaptureQueryStatusResult instance for mocking.

Applies to