DedicatedHostInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DedicatedHostInstanceView
- com.
Implements
public class DedicatedHostInstanceView
implements JsonSerializable<DedicatedHostInstanceView>
The instance view of a dedicated host.
Constructor Summary
Constructor | Description |
---|---|
DedicatedHostInstanceView() |
Creates an instance of Dedicated |
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 |
List<Instance |
statuses()
Get the statuses property: The resource status information. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Dedicated |
withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity)
Set the available |
Dedicated |
withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information. |
Methods inherited from java.lang.Object
Constructor Details
DedicatedHostInstanceView
public DedicatedHostInstanceView()
Creates an instance of DedicatedHostInstanceView class.
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.
Returns:
availableCapacity
public DedicatedHostAvailableCapacity availableCapacity()
Get the availableCapacity property: Unutilized capacity of the dedicated host.
Returns:
fromJson
public static DedicatedHostInstanceView fromJson(JsonReader jsonReader)
Reads an instance of DedicatedHostInstanceView from the JsonReader.
Parameters:
Returns:
Throws:
statuses
public List
Get the statuses property: The resource status information.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAvailableCapacity
public DedicatedHostInstanceView withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity)
Set the availableCapacity property: Unutilized capacity of the dedicated host.
Parameters:
Returns:
withStatuses
public DedicatedHostInstanceView withStatuses(List
Set the statuses property: The resource status information.
Parameters:
Returns:
Applies to
Azure SDK for Java