ContainerGroupPropertiesInstanceView Class

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

Implements

public final class ContainerGroupPropertiesInstanceView
implements JsonSerializable<ContainerGroupPropertiesInstanceView>

The instance view of the container group. Only valid in response.

Constructor Summary

Constructor Description
ContainerGroupPropertiesInstanceView()

Creates an instance of ContainerGroupPropertiesInstanceView class.

Method Summary

Modifier and Type Method and Description
List<Event> events()

Get the events property: The events of this container group.

static ContainerGroupPropertiesInstanceView fromJson(JsonReader jsonReader)

Reads an instance of ContainerGroupPropertiesInstanceView from the JsonReader.

String state()

Get the state property: The state of the container group.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ContainerGroupPropertiesInstanceView

public ContainerGroupPropertiesInstanceView()

Creates an instance of ContainerGroupPropertiesInstanceView class.

Method Details

events

public List events()

Get the events property: The events of this container group.

Returns:

the events value.

fromJson

public static ContainerGroupPropertiesInstanceView fromJson(JsonReader jsonReader)

Reads an instance of ContainerGroupPropertiesInstanceView from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

state

public String state()

Get the state property: The state of the container group. Only valid in response.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to