VirtualMachineTemplateInner Class

public final class VirtualMachineTemplateInner
extends Resource

The VirtualMachineTemplates resource definition.

Constructor Summary

Constructor Description
VirtualMachineTemplateInner()

Method Summary

Modifier and Type Method and 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.

ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location.

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.

SystemData systemData()

Get the systemData property: The system data.

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.

VirtualMachineTemplateInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location.

VirtualMachineTemplateInner withInventoryItemId(String inventoryItemId)

Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

VirtualMachineTemplateInner withLocation(String location)
VirtualMachineTemplateInner withTags(Map<String,String> tags)
VirtualMachineTemplateInner withUuid(String uuid)

Set the uuid property: Unique ID of the virtual machine template.

VirtualMachineTemplateInner withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineTemplateInner

public VirtualMachineTemplateInner()

Method Details

computerName

public String computerName()

Get the computerName property: Gets or sets computer name.

Returns:

the computerName value.

cpuCount

public Integer cpuCount()

Get the cpuCount property: Gets or sets the desired number of vCPUs for the vm.

Returns:

the cpuCount value.

disks

public List<VirtualDisk> disks()

Get the disks property: Gets or sets the disks of the template.

Returns:

the disks 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.

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.

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location.

Returns:

the extendedLocation value.

generation

public Integer generation()

Get the generation property: Gets or sets the generation for the vm.

Returns:

the generation value.

inventoryItemId

public String inventoryItemId()

Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

Returns:

the inventoryItemId 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.

isHighlyAvailable

public String isHighlyAvailable()

Get the isHighlyAvailable property: Gets highly available property.

Returns:

the isHighlyAvailable 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.

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.

networkInterfaces

public List<NetworkInterfaces> networkInterfaces()

Get the networkInterfaces property: Gets or sets the network interfaces of the template.

Returns:

the networkInterfaces 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.

provisioningState

public String provisioningState()

Get the provisioningState property: Gets or sets the provisioning state.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: The system data.

Returns:

the systemData value.

uuid

public String uuid()

Get the uuid property: Unique ID of the virtual machine template.

Returns:

the uuid value.

validate

public void validate()

Validates the instance.

vmmServerId

public String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Returns:

the vmmServerId value.

withExtendedLocation

public VirtualMachineTemplateInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the VirtualMachineTemplateInner object itself.

withInventoryItemId

public VirtualMachineTemplateInner 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 VirtualMachineTemplateInner object itself.

withLocation

public VirtualMachineTemplateInner withLocation(String location)

Overrides:

VirtualMachineTemplateInner.withLocation(String location)

Parameters:

location

withTags

public VirtualMachineTemplateInner withTags(Map<String,String> tags)

Overrides:

VirtualMachineTemplateInner.withTags(Map<String,String> tags)

Parameters:

tags

withUuid

public VirtualMachineTemplateInner withUuid(String uuid)

Set the uuid property: Unique ID of the virtual machine template.

Parameters:

uuid - the uuid value to set.

Returns:

the VirtualMachineTemplateInner object itself.

withVmmServerId

public VirtualMachineTemplateInner 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 VirtualMachineTemplateInner object itself.

Applies to