PacketCaptureQueryStatusResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.PacketCaptureQueryStatusResultInner

Implements

public final class PacketCaptureQueryStatusResultInner
implements JsonSerializable<PacketCaptureQueryStatusResultInner>

Status of packet capture session.

Method Summary

Modifier and Type Method and Description
OffsetDateTime captureStartTime()

Get the captureStartTime property: The start time of the packet capture session.

static PacketCaptureQueryStatusResultInner fromJson(JsonReader jsonReader)

Reads an instance of PacketCaptureQueryStatusResultInner from the JsonReader.

String id()

Get the id property: The ID of the packet capture resource.

String name()

Get the name property: The name of the packet capture resource.

List<PcError> packetCaptureError()

Get the packetCaptureError property: List of errors of packet capture session.

PcStatus packetCaptureStatus()

Get the packetCaptureStatus property: The status of the packet capture session.

String stopReason()

Get the stopReason property: The reason the current packet capture session was stopped.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

captureStartTime

public OffsetDateTime captureStartTime()

Get the captureStartTime property: The start time of the packet capture session.

Returns:

the captureStartTime value.

fromJson

public static PacketCaptureQueryStatusResultInner fromJson(JsonReader jsonReader)

Reads an instance of PacketCaptureQueryStatusResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PacketCaptureQueryStatusResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PacketCaptureQueryStatusResultInner.

id

public String id()

Get the id property: The ID of the packet capture resource.

Returns:

the id value.

name

public String name()

Get the name property: The name of the packet capture resource.

Returns:

the name value.

packetCaptureError

public List<PcError> packetCaptureError()

Get the packetCaptureError property: List of errors of packet capture session.

Returns:

the packetCaptureError value.

packetCaptureStatus

public PcStatus packetCaptureStatus()

Get the packetCaptureStatus property: The status of the packet capture session.

Returns:

the packetCaptureStatus value.

stopReason

public String stopReason()

Get the stopReason property: The reason the current packet capture session was stopped.

Returns:

the stopReason value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to