Class VirtualMachineTemplateProperties
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.fluent.models.VirtualMachineTemplateProperties
-
public final class VirtualMachineTemplateProperties extends Object
Defines the resource properties.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineTemplateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
computerName()
Get the computerName property: Gets or sets computer name.Integer
cpuCount()
Get the cpuCount property: Gets or sets the desired number of vCPUs for the vm.List<VirtualDisk>
disks()
Get the disks property: Gets or sets the disks of the template.DynamicMemoryEnabled
dynamicMemoryEnabled()
Get the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.Integer
dynamicMemoryMaxMB()
Get the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.Integer
dynamicMemoryMinMB()
Get the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.Integer
generation()
Get the generation property: Gets or sets the generation for the vm.String
inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.IsCustomizable
isCustomizable()
Get the isCustomizable property: Gets or sets a value indicating whether the vm template is customizable or not.String
isHighlyAvailable()
Get the isHighlyAvailable property: Gets highly available property.LimitCpuForMigration
limitCpuForMigration()
Get the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.Integer
memoryMB()
Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB.List<NetworkInterfaces>
networkInterfaces()
Get the networkInterfaces property: Gets or sets the network interfaces of the template.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.String
provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.String
uuid()
Get the uuid property: Unique ID of the virtual machine template.void
validate()
Validates the instance.String
vmmServerId()
Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.VirtualMachineTemplateProperties
withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.VirtualMachineTemplateProperties
withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine template.VirtualMachineTemplateProperties
withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.
-
-
-
Method Detail
-
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.- Returns:
- the inventoryItemId value.
-
withInventoryItemId
public VirtualMachineTemplateProperties withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.- Parameters:
inventoryItemId
- the inventoryItemId value to set.- Returns:
- the VirtualMachineTemplateProperties object itself.
-
uuid
public String uuid()
Get the uuid property: Unique ID of the virtual machine template.- Returns:
- the uuid value.
-
withUuid
public VirtualMachineTemplateProperties withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine template.- Parameters:
uuid
- the uuid value to set.- Returns:
- the VirtualMachineTemplateProperties object itself.
-
vmmServerId
public String vmmServerId()
Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.- Returns:
- the vmmServerId value.
-
withVmmServerId
public VirtualMachineTemplateProperties withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.- Parameters:
vmmServerId
- the vmmServerId value to set.- Returns:
- the VirtualMachineTemplateProperties object itself.
-
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.
-
computerName
public String computerName()
Get the computerName property: Gets or sets computer name.- Returns:
- the computerName 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.
-
cpuCount
public Integer cpuCount()
Get the cpuCount property: Gets or sets the desired number of vCPUs for the vm.- Returns:
- the cpuCount value.
-
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:
- the limitCpuForMigration value.
-
dynamicMemoryEnabled
public DynamicMemoryEnabled dynamicMemoryEnabled()
Get the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.- Returns:
- the dynamicMemoryEnabled value.
-
isCustomizable
public IsCustomizable isCustomizable()
Get the isCustomizable property: Gets or sets a value indicating whether the vm template is customizable or not.- Returns:
- the isCustomizable value.
-
dynamicMemoryMaxMB
public Integer dynamicMemoryMaxMB()
Get the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.- Returns:
- the dynamicMemoryMaxMB value.
-
dynamicMemoryMinMB
public Integer dynamicMemoryMinMB()
Get the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.- Returns:
- the dynamicMemoryMinMB value.
-
isHighlyAvailable
public String isHighlyAvailable()
Get the isHighlyAvailable property: Gets highly available property.- Returns:
- the isHighlyAvailable value.
-
generation
public Integer generation()
Get the generation property: Gets or sets the generation for the vm.- Returns:
- the generation value.
-
networkInterfaces
public List<NetworkInterfaces> networkInterfaces()
Get the networkInterfaces property: Gets or sets the network interfaces of the template.- Returns:
- the networkInterfaces value.
-
disks
public List<VirtualDisk> disks()
Get the disks property: Gets or sets the disks of the template.- Returns:
- the disks value.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-