VirtualMachineTemplateInventoryItem Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. fluent. models. InventoryItemProperties - com.
azure. resourcemanager. scvmm. models. VirtualMachineTemplateInventoryItem
- com.
- com.
public final class VirtualMachineTemplateInventoryItem
extends InventoryItemProperties
The Virtual machine template inventory item.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| VirtualMachineTemplateInventoryItem() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
cpuCount()
Get the cpu |
| Integer |
memoryMB()
Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB. |
| String |
osName()
Get the os |
|
Os |
osType()
Get the os |
| void |
validate()
Validates the instance. |
Methods inherited from InventoryItemProperties
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineTemplateInventoryItem
public VirtualMachineTemplateInventoryItem()
Method Details
cpuCount
public Integer cpuCount()
Get the cpuCount property: Gets or sets the desired number of vCPUs for the vm.
Returns:
memoryMB
public Integer memoryMB()
Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB.
Returns:
osName
public String osName()
Get the osName property: Gets or sets os name.
Returns:
osType
public OsType osType()
Get the osType property: Gets or sets the type of the os.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
VirtualMachineTemplateInventoryItem.validate()