ClusterCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. ClusterCapacity
- com.
Implements
public final class ClusterCapacity
implements JsonSerializable<ClusterCapacity>
ClusterCapacity represents various details regarding compute capacity.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterCapacity() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
availableApplianceStorageGB()
Get the available |
| Long |
availableCoreCount()
Get the available |
| Long |
availableHostStorageGB()
Get the available |
| Long |
availableMemoryGB()
Get the available |
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
|
Json |
toJson(JsonWriter jsonWriter) |
| Long |
totalApplianceStorageGB()
Get the total |
| Long |
totalCoreCount()
Get the total |
| Long |
totalHostStorageGB()
Get the total |
| Long |
totalMemoryGB()
Get the total |
| void |
validate()
Validates the instance. |
|
Cluster |
withAvailableApplianceStorageGB(Long availableApplianceStorageGB)
Set the available |
|
Cluster |
withAvailableCoreCount(Long availableCoreCount)
Set the available |
|
Cluster |
withAvailableHostStorageGB(Long availableHostStorageGB)
Set the available |
|
Cluster |
withAvailableMemoryGB(Long availableMemoryGB)
Set the available |
|
Cluster |
withTotalApplianceStorageGB(Long totalApplianceStorageGB)
Set the total |
|
Cluster |
withTotalCoreCount(Long totalCoreCount)
Set the total |
|
Cluster |
withTotalHostStorageGB(Long totalHostStorageGB)
Set the total |
|
Cluster |
withTotalMemoryGB(Long totalMemoryGB)
Set the total |
Methods inherited from java.lang.Object
Constructor Details
ClusterCapacity
public ClusterCapacity()
Creates an instance of ClusterCapacity class.
Method Details
availableApplianceStorageGB
public Long availableApplianceStorageGB()
Get the availableApplianceStorageGB property: The remaining appliance-based storage in GB available for workload use. Measured in gibibytes.
Returns:
availableCoreCount
public Long availableCoreCount()
Get the availableCoreCount property: The remaining number of cores that are available in this cluster for workload use.
Returns:
availableHostStorageGB
public Long availableHostStorageGB()
Get the availableHostStorageGB property: The remaining machine or host-based storage in GB available for workload use. Measured in gibibytes.
Returns:
availableMemoryGB
public Long availableMemoryGB()
Get the availableMemoryGB property: The remaining memory in GB that are available in this cluster for workload use. Measured in gibibytes.
Returns:
fromJson
public static ClusterCapacity fromJson(JsonReader jsonReader)
Reads an instance of ClusterCapacity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
totalApplianceStorageGB
public Long totalApplianceStorageGB()
Get the totalApplianceStorageGB property: The total appliance-based storage in GB supported by this cluster for workload use. Measured in gibibytes.
Returns:
totalCoreCount
public Long totalCoreCount()
Get the totalCoreCount property: The total number of cores that are supported by this cluster for workload use.
Returns:
totalHostStorageGB
public Long totalHostStorageGB()
Get the totalHostStorageGB property: The total machine or host-based storage in GB supported by this cluster for workload use. Measured in gibibytes.
Returns:
totalMemoryGB
public Long totalMemoryGB()
Get the totalMemoryGB property: The total memory supported by this cluster for workload use. Measured in gibibytes.
Returns:
validate
public void validate()
Validates the instance.
withAvailableApplianceStorageGB
public ClusterCapacity withAvailableApplianceStorageGB(Long availableApplianceStorageGB)
Set the availableApplianceStorageGB property: The remaining appliance-based storage in GB available for workload use. Measured in gibibytes.
Parameters:
Returns:
withAvailableCoreCount
public ClusterCapacity withAvailableCoreCount(Long availableCoreCount)
Set the availableCoreCount property: The remaining number of cores that are available in this cluster for workload use.
Parameters:
Returns:
withAvailableHostStorageGB
public ClusterCapacity withAvailableHostStorageGB(Long availableHostStorageGB)
Set the availableHostStorageGB property: The remaining machine or host-based storage in GB available for workload use. Measured in gibibytes.
Parameters:
Returns:
withAvailableMemoryGB
public ClusterCapacity withAvailableMemoryGB(Long availableMemoryGB)
Set the availableMemoryGB property: The remaining memory in GB that are available in this cluster for workload use. Measured in gibibytes.
Parameters:
Returns:
withTotalApplianceStorageGB
public ClusterCapacity withTotalApplianceStorageGB(Long totalApplianceStorageGB)
Set the totalApplianceStorageGB property: The total appliance-based storage in GB supported by this cluster for workload use. Measured in gibibytes.
Parameters:
Returns:
withTotalCoreCount
public ClusterCapacity withTotalCoreCount(Long totalCoreCount)
Set the totalCoreCount property: The total number of cores that are supported by this cluster for workload use.
Parameters:
Returns:
withTotalHostStorageGB
public ClusterCapacity withTotalHostStorageGB(Long totalHostStorageGB)
Set the totalHostStorageGB property: The total machine or host-based storage in GB supported by this cluster for workload use. Measured in gibibytes.
Parameters:
Returns:
withTotalMemoryGB
public ClusterCapacity withTotalMemoryGB(Long totalMemoryGB)
Set the totalMemoryGB property: The total memory supported by this cluster for workload use. Measured in gibibytes.
Parameters:
Returns: