Class DedicatedHostInstanceView
java.lang.Object
com.azure.resourcemanager.compute.models.DedicatedHostInstanceView
- Direct Known Subclasses:
DedicatedHostInstanceViewWithName
The instance view of a dedicated host.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassetId()Get the assetId property: Specifies the unique id of the dedicated physical machine on which the dedicated host resides.Get the availableCapacity property: Unutilized capacity of the dedicated host.statuses()Get the statuses property: The resource status information.voidvalidate()Validates the instance.withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity) Set the availableCapacity property: Unutilized capacity of the dedicated host.withStatuses(List<InstanceViewStatus> statuses) Set the statuses property: The resource status information.
-
Constructor Details
-
DedicatedHostInstanceView
public DedicatedHostInstanceView()
-
-
Method Details
-
assetId
Get the assetId property: Specifies the unique id of the dedicated physical machine on which the dedicated host resides.- Returns:
- the assetId value.
-
availableCapacity
Get the availableCapacity property: Unutilized capacity of the dedicated host.- Returns:
- the availableCapacity value.
-
withAvailableCapacity
public DedicatedHostInstanceView withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity) Set the availableCapacity property: Unutilized capacity of the dedicated host.- Parameters:
availableCapacity- the availableCapacity value to set.- Returns:
- the DedicatedHostInstanceView object itself.
-
statuses
Get the statuses property: The resource status information.- Returns:
- the statuses value.
-
withStatuses
Set the statuses property: The resource status information.- Parameters:
statuses- the statuses value to set.- Returns:
- the DedicatedHostInstanceView object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-