Freigeben über


ContainerGroupDiagnostics Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.ContainerGroupDiagnostics

Implements

public final class ContainerGroupDiagnostics
implements JsonSerializable<ContainerGroupDiagnostics>

Container group diagnostic information.

Constructor Summary

Constructor Description
ContainerGroupDiagnostics()

Creates an instance of ContainerGroupDiagnostics class.

Method Summary

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

Reads an instance of ContainerGroupDiagnostics from the JsonReader.

LogAnalytics logAnalytics()

Get the logAnalytics property: Container group log analytics information.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContainerGroupDiagnostics withLogAnalytics(LogAnalytics logAnalytics)

Set the logAnalytics property: Container group log analytics information.

Methods inherited from java.lang.Object

Constructor Details

ContainerGroupDiagnostics

public ContainerGroupDiagnostics()

Creates an instance of ContainerGroupDiagnostics class.

Method Details

fromJson

public static ContainerGroupDiagnostics fromJson(JsonReader jsonReader)

Reads an instance of ContainerGroupDiagnostics from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

logAnalytics

public LogAnalytics logAnalytics()

Get the logAnalytics property: Container group log analytics information.

Returns:

the logAnalytics value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLogAnalytics

public ContainerGroupDiagnostics withLogAnalytics(LogAnalytics logAnalytics)

Set the logAnalytics property: Container group log analytics information.

Parameters:

logAnalytics - the logAnalytics value to set.

Returns:

the ContainerGroupDiagnostics object itself.

Applies to