Class DedicatedHostInstanceView
java.lang.Object
com.microsoft.azure.management.compute.DedicatedHostInstanceView
- Direct Known Subclasses:
DedicatedHostInstanceViewWithName
The instance view of a dedicated host.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassetId()Get specifies the unique id of the dedicated physical machine on which the dedicated host resides.Get unutilized capacity of the dedicated host.statuses()Get the resource status information.withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity) Set unutilized capacity of the dedicated host.withStatuses(List<InstanceViewStatus> statuses) Set the resource status information.
-
Constructor Details
-
DedicatedHostInstanceView
public DedicatedHostInstanceView()
-
-
Method Details
-
assetId
Get specifies the unique id of the dedicated physical machine on which the dedicated host resides.- Returns:
- the assetId value
-
availableCapacity
Get unutilized capacity of the dedicated host.- Returns:
- the availableCapacity value
-
withAvailableCapacity
public DedicatedHostInstanceView withAvailableCapacity(DedicatedHostAvailableCapacity availableCapacity) Set unutilized capacity of the dedicated host.- Parameters:
availableCapacity- the availableCapacity value to set- Returns:
- the DedicatedHostInstanceView object itself.
-
statuses
Get the resource status information.- Returns:
- the statuses value
-
withStatuses
Set the resource status information.- Parameters:
statuses- the statuses value to set- Returns:
- the DedicatedHostInstanceView object itself.
-