Class VirtualMachineTemplateInventoryItem
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.fluent.models.InventoryItemProperties
-
- com.azure.resourcemanager.scvmm.models.VirtualMachineTemplateInventoryItem
-
public final class VirtualMachineTemplateInventoryItem extends InventoryItemProperties
The Virtual machine template inventory item.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineTemplateInventoryItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 class com.azure.resourcemanager.scvmm.fluent.models.InventoryItemProperties
inventoryItemName, managedResourceId, provisioningState, uuid
-
-
-
-
Method Detail
-
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.
-
osType
public OsType osType()
Get the osType property: Gets or sets the type of the os.- Returns:
- the osType value.
-
osName
public String osName()
Get the osName property: Gets or sets os name.- Returns:
- the osName value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classInventoryItemProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-