HardwareProfile Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. HardwareProfile
- com.
public final class HardwareProfile
Defines the resource properties.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| HardwareProfile() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
cpuCount()
Get the cpu |
|
Dynamic |
dynamicMemoryEnabled()
Get the dynamic |
| Integer |
dynamicMemoryMaxMB()
Get the dynamic |
| Integer |
dynamicMemoryMinMB()
Get the dynamic |
| String |
isHighlyAvailable()
Get the is |
|
Limit |
limitCpuForMigration()
Get the limit |
| Integer |
memoryMB()
Get the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB. |
| void |
validate()
Validates the instance. |
|
Hardware |
withCpuCount(Integer cpuCount)
Set the cpu |
|
Hardware |
withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)
Set the dynamic |
|
Hardware |
withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)
Set the dynamic |
|
Hardware |
withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)
Set the dynamic |
|
Hardware |
withIsHighlyAvailable(String isHighlyAvailable)
Set the is |
|
Hardware |
withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)
Set the limit |
|
Hardware |
withMemoryMB(Integer memoryMB)
Set the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB. |
Methods inherited from java.lang.Object
Constructor Details
HardwareProfile
public HardwareProfile()
Method Details
cpuCount
public Integer cpuCount()
Get the cpuCount property: Gets or sets the number of vCPUs for the vm.
Returns:
dynamicMemoryEnabled
public DynamicMemoryEnabled dynamicMemoryEnabled()
Get the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.
Returns:
dynamicMemoryMaxMB
public Integer dynamicMemoryMaxMB()
Get the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.
Returns:
dynamicMemoryMinMB
public Integer dynamicMemoryMinMB()
Get the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.
Returns:
isHighlyAvailable
public String isHighlyAvailable()
Get the isHighlyAvailable property: Gets highly available property.
Returns:
limitCpuForMigration
public LimitCpuForMigration limitCpuForMigration()
Get the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.
Returns:
memoryMB
public Integer memoryMB()
Get the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB.
Returns:
validate
public void validate()
Validates the instance.
withCpuCount
public HardwareProfile withCpuCount(Integer cpuCount)
Set the cpuCount property: Gets or sets the number of vCPUs for the vm.
Parameters:
Returns:
withDynamicMemoryEnabled
public HardwareProfile withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)
Set the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.
Parameters:
Returns:
withDynamicMemoryMaxMB
public HardwareProfile withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)
Set the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.
Parameters:
Returns:
withDynamicMemoryMinMB
public HardwareProfile withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)
Set the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.
Parameters:
Returns:
withIsHighlyAvailable
public HardwareProfile withIsHighlyAvailable(String isHighlyAvailable)
Set the isHighlyAvailable property: Gets highly available property.
Parameters:
Returns:
withLimitCpuForMigration
public HardwareProfile withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)
Set the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.
Parameters:
Returns:
withMemoryMB
public HardwareProfile withMemoryMB(Integer memoryMB)
Set the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB.
Parameters:
Returns: