Condividi tramite


NetworkTraceInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.NetworkTraceInner

Implements

public final class NetworkTraceInner
implements JsonSerializable<NetworkTraceInner>

Network trace.

Method Summary

Modifier and Type Method and Description
static NetworkTraceInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkTraceInner from the JsonReader.

String message()

Get the message property: Detailed message of a network trace operation, e.g.

String path()

Get the path property: Local file path for the captured network trace file.

String status()

Get the status property: Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static NetworkTraceInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkTraceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkTraceInner 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 NetworkTraceInner.

message

public String message()

Get the message property: Detailed message of a network trace operation, e.g. error message in case of failure.

Returns:

the message value.

path

public String path()

Get the path property: Local file path for the captured network trace file.

Returns:

the path value.

status

public String status()

Get the status property: Current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed).

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to