HardwareProfile Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. HardwareProfile
- com.
public final class HardwareProfile
Defines the resource properties.
Constructor | Description | |
---|---|---|
Hardware |
Modifier and Type | Method and Description |
---|---|
Integer |
cpu Get the cpu |
Dynamic |
dynamic Get the dynamic |
Integer |
dynamic Get the dynamic |
Integer |
dynamic Get the dynamic |
String |
is Get the is |
Limit |
limit 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 |
with Set the cpu |
Hardware |
with Set the dynamic |
Hardware |
with Set the dynamic |
Hardware |
with Set the dynamic |
Hardware |
with Set the is |
Hardware |
with Set the limit |
Hardware |
with Set the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB. |
Methods inherited from java.lang.Object
HardwareProfile
public HardwareProfile()
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:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: