DedicatedHostInstanceViewWithName Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DedicatedHostInstanceView - com.
azure. resourcemanager. compute. models. DedicatedHostInstanceViewWithName
- com.
- com.
public final class DedicatedHostInstanceViewWithName
extends DedicatedHostInstanceView
The instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
assetId()
Get the asset |
|
Dedicated |
availableCapacity()
Get the available |
|
static
Dedicated |
fromJson(JsonReader jsonReader)
Reads an instance of Dedicated |
| String |
name()
Get the name property: The name of the dedicated host. |
|
List<Instance |
statuses()
Get the statuses property: The resource status information. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from DedicatedHostInstanceView
Methods inherited from java.lang.Object
Method Details
assetId
public String assetId()
Get the assetId property: Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
Overrides:
DedicatedHostInstanceViewWithName.assetId()Returns:
availableCapacity
public DedicatedHostAvailableCapacity availableCapacity()
Get the availableCapacity property: Unutilized capacity of the dedicated host.
Overrides:
DedicatedHostInstanceViewWithName.availableCapacity()Returns:
fromJson
public static DedicatedHostInstanceViewWithName fromJson(JsonReader jsonReader)
Reads an instance of DedicatedHostInstanceViewWithName from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the dedicated host.
Returns:
statuses
public List<InstanceViewStatus> statuses()
Get the statuses property: The resource status information.
Overrides:
DedicatedHostInstanceViewWithName.statuses()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DedicatedHostInstanceViewWithName.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DedicatedHostInstanceViewWithName.validate()