VirtualMachineTemplateInventoryItem Class

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 cpuCount property: Gets or sets the desired number of vCPUs for the vm.

Integer memoryMB()

Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB.

String osName()

Get the osName property: Gets or sets os name.

OsType osType()

Get the osType property: Gets or sets the type of 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:

the cpuCount value.

memoryMB

public Integer memoryMB()

Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB.

Returns:

the memoryMB value.

osName

public String osName()

Get the osName property: Gets or sets os name.

Returns:

the osName value.

osType

public OsType osType()

Get the osType property: Gets or sets the type of the os.

Returns:

the osType value.

validate

public void validate()

Validates the instance.

Overrides:

VirtualMachineTemplateInventoryItem.validate()

Applies to