DedicatedHostGroupInstanceView Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.DedicatedHostGroupInstanceView

Implements

public final class DedicatedHostGroupInstanceView
implements JsonSerializable<DedicatedHostGroupInstanceView>

The DedicatedHostGroupInstanceView model.

Method Summary

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

Reads an instance of DedicatedHostGroupInstanceView from the JsonReader.

List<DedicatedHostInstanceViewWithName> hosts()

Get the hosts property: List of instance view of the dedicated hosts under the dedicated host group.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static DedicatedHostGroupInstanceView fromJson(JsonReader jsonReader)

Reads an instance of DedicatedHostGroupInstanceView from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

hosts

public List<DedicatedHostInstanceViewWithName> hosts()

Get the hosts property: List of instance view of the dedicated hosts under the dedicated host group.

Returns:

the hosts value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to