VirtualMachineTemplate Interface

public interface VirtualMachineTemplate

An immutable client-side representation of VirtualMachineTemplate.

Method Summary

Modifier and Type Method and Description
abstract String computerName()

Gets the computerName property: Gets or sets computer name.

abstract Integer cpuCount()

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

abstract List<VirtualDisk> disks()

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

abstract DynamicMemoryEnabled dynamicMemoryEnabled()

Gets the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.

abstract Integer dynamicMemoryMaxMB()

Gets the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.

abstract Integer dynamicMemoryMinMB()

Gets the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.

abstract ExtendedLocation extendedLocation()

Gets the extendedLocation property: The extended location.

abstract Integer generation()

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

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract VirtualMachineTemplateInner innerModel()

Gets the inner com.azure.resourcemanager.scvmm.fluent.models.VirtualMachineTemplateInner object.

abstract String inventoryItemId()

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

abstract IsCustomizable isCustomizable()

Gets the isCustomizable property: Gets or sets a value indicating whether the vm template is customizable or not.

abstract String isHighlyAvailable()

Gets the isHighlyAvailable property: Gets highly available property.

abstract LimitCpuForMigration limitCpuForMigration()

Gets the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract Integer memoryMB()

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

abstract String name()

Gets the name property: The name of the resource.

abstract List<NetworkInterfaces> networkInterfaces()

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

abstract String osName()

Gets the osName property: Gets or sets os name.

abstract OsType osType()

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

abstract String provisioningState()

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

abstract VirtualMachineTemplate refresh()

Refreshes the resource to sync with Azure.

abstract VirtualMachineTemplate refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract SystemData systemData()

Gets the systemData property: The system data.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the VirtualMachineTemplate resource.

abstract String uuid()

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

abstract String vmmServerId()

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

Method Details

computerName

public abstract String computerName()

Gets the computerName property: Gets or sets computer name.

Returns:

the computerName value.

cpuCount

public abstract Integer cpuCount()

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

Returns:

the cpuCount value.

disks

public abstract List disks()

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

Returns:

the disks value.

dynamicMemoryEnabled

public abstract DynamicMemoryEnabled dynamicMemoryEnabled()

Gets the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.

Returns:

the dynamicMemoryEnabled value.

dynamicMemoryMaxMB

public abstract Integer dynamicMemoryMaxMB()

Gets the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.

Returns:

the dynamicMemoryMaxMB value.

dynamicMemoryMinMB

public abstract Integer dynamicMemoryMinMB()

Gets the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.

Returns:

the dynamicMemoryMinMB value.

extendedLocation

public abstract ExtendedLocation extendedLocation()

Gets the extendedLocation property: The extended location.

Returns:

the extendedLocation value.

generation

public abstract Integer generation()

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

Returns:

the generation value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract VirtualMachineTemplateInner innerModel()

Gets the inner com.azure.resourcemanager.scvmm.fluent.models.VirtualMachineTemplateInner object.

Returns:

the inner object.

inventoryItemId

public abstract String inventoryItemId()

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

Returns:

the inventoryItemId value.

isCustomizable

public abstract IsCustomizable isCustomizable()

Gets the isCustomizable property: Gets or sets a value indicating whether the vm template is customizable or not.

Returns:

the isCustomizable value.

isHighlyAvailable

public abstract String isHighlyAvailable()

Gets the isHighlyAvailable property: Gets highly available property.

Returns:

the isHighlyAvailable value.

limitCpuForMigration

public abstract LimitCpuForMigration limitCpuForMigration()

Gets the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.

Returns:

the limitCpuForMigration value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

memoryMB

public abstract Integer memoryMB()

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

Returns:

the memoryMB value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

networkInterfaces

public abstract List networkInterfaces()

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

Returns:

the networkInterfaces value.

osName

public abstract String osName()

Gets the osName property: Gets or sets os name.

Returns:

the osName value.

osType

public abstract OsType osType()

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

Returns:

the osType value.

provisioningState

public abstract String provisioningState()

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

Returns:

the provisioningState value.

refresh

public abstract VirtualMachineTemplate refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract VirtualMachineTemplate refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

systemData

public abstract SystemData systemData()

Gets the systemData property: The system data.

Returns:

the systemData value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract VirtualMachineTemplate.Update update()

Begins update for the VirtualMachineTemplate resource.

Returns:

the stage of resource update.

uuid

public abstract String uuid()

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

Returns:

the uuid value.

vmmServerId

public abstract String vmmServerId()

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

Returns:

the vmmServerId value.

Applies to

Azure SDK for Java

Preview