CloudCapacity Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.CloudCapacity

public final class CloudCapacity

Cloud Capacity model.

Constructor Summary

Constructor Description
CloudCapacity()

Method Summary

Modifier and Type Method and Description
Long cpuCount()

Get the cpuCount property: CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

Long memoryMB()

Get the memoryMB property: MemoryMB specifies a memory usage limit in megabytes.

void validate()

Validates the instance.

Long vmCount()

Get the vmCount property: VMCount gives the max number of VMs that can be deployed in the cloud.

CloudCapacity withCpuCount(Long cpuCount)

Set the cpuCount property: CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

CloudCapacity withMemoryMB(Long memoryMB)

Set the memoryMB property: MemoryMB specifies a memory usage limit in megabytes.

CloudCapacity withVmCount(Long vmCount)

Set the vmCount property: VMCount gives the max number of VMs that can be deployed in the cloud.

Methods inherited from java.lang.Object

Constructor Details

CloudCapacity

public CloudCapacity()

Method Details

cpuCount

public Long cpuCount()

Get the cpuCount property: CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

Returns:

the cpuCount value.

memoryMB

public Long memoryMB()

Get the memoryMB property: MemoryMB specifies a memory usage limit in megabytes.

Returns:

the memoryMB value.

validate

public void validate()

Validates the instance.

vmCount

public Long vmCount()

Get the vmCount property: VMCount gives the max number of VMs that can be deployed in the cloud.

Returns:

the vmCount value.

withCpuCount

public CloudCapacity withCpuCount(Long cpuCount)

Set the cpuCount property: CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.

Parameters:

cpuCount - the cpuCount value to set.

Returns:

the CloudCapacity object itself.

withMemoryMB

public CloudCapacity withMemoryMB(Long memoryMB)

Set the memoryMB property: MemoryMB specifies a memory usage limit in megabytes.

Parameters:

memoryMB - the memoryMB value to set.

Returns:

the CloudCapacity object itself.

withVmCount

public CloudCapacity withVmCount(Long vmCount)

Set the vmCount property: VMCount gives the max number of VMs that can be deployed in the cloud.

Parameters:

vmCount - the vmCount value to set.

Returns:

the CloudCapacity object itself.

Applies to