Interface VirtualMachineTemplate
-
public interface VirtualMachineTemplate
An immutable client-side representation of VirtualMachineTemplate.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VirtualMachineTemplate.Definition
The entirety of the VirtualMachineTemplate definition.static interface
VirtualMachineTemplate.DefinitionStages
The VirtualMachineTemplate definition stages.static interface
VirtualMachineTemplate.Update
The template for VirtualMachineTemplate update.static interface
VirtualMachineTemplate.UpdateStages
The VirtualMachineTemplate update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
computerName()
Gets the computerName property: Gets or sets computer name.Integer
cpuCount()
Gets the cpuCount property: Gets or sets the desired number of vCPUs for the vm.List<VirtualDisk>
disks()
Gets the disks property: Gets or sets the disks of the template.DynamicMemoryEnabled
dynamicMemoryEnabled()
Gets the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.Integer
dynamicMemoryMaxMB()
Gets the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.Integer
dynamicMemoryMinMB()
Gets the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.ExtendedLocation
extendedLocation()
Gets the extendedLocation property: The extended location.Integer
generation()
Gets the generation property: Gets or sets the generation for the vm.String
id()
Gets the id property: Fully qualified resource Id for the resource.VirtualMachineTemplateInner
innerModel()
Gets the inner com.azure.resourcemanager.scvmm.fluent.models.VirtualMachineTemplateInner object.String
inventoryItemId()
Gets the inventoryItemId property: Gets or sets the inventory Item ID for the resource.IsCustomizable
isCustomizable()
Gets the isCustomizable property: Gets or sets a value indicating whether the vm template is customizable or not.String
isHighlyAvailable()
Gets the isHighlyAvailable property: Gets highly available property.LimitCpuForMigration
limitCpuForMigration()
Gets the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.String
location()
Gets the location property: The geo-location where the resource lives.Integer
memoryMB()
Gets the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB.String
name()
Gets the name property: The name of the resource.List<NetworkInterfaces>
networkInterfaces()
Gets the networkInterfaces property: Gets or sets the network interfaces of the template.String
osName()
Gets the osName property: Gets or sets os name.OsType
osType()
Gets the osType property: Gets or sets the type of the os.String
provisioningState()
Gets the provisioningState property: Gets or sets the provisioning state.VirtualMachineTemplate
refresh()
Refreshes the resource to sync with Azure.VirtualMachineTemplate
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.String
regionName()
Gets the name of the resource region.com.azure.core.management.SystemData
systemData()
Gets the systemData property: The system data.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.VirtualMachineTemplate.Update
update()
Begins update for the VirtualMachineTemplate resource.String
uuid()
Gets the uuid property: Unique ID of the virtual machine template.String
vmmServerId()
Gets the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: The system data.- Returns:
- the systemData value.
-
extendedLocation
ExtendedLocation extendedLocation()
Gets the extendedLocation property: The extended location.- Returns:
- the extendedLocation value.
-
inventoryItemId
String inventoryItemId()
Gets the inventoryItemId property: Gets or sets the inventory Item ID for the resource.- Returns:
- the inventoryItemId value.
-
uuid
String uuid()
Gets the uuid property: Unique ID of the virtual machine template.- Returns:
- the uuid value.
-
vmmServerId
String vmmServerId()
Gets the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.- Returns:
- the vmmServerId value.
-
osType
OsType osType()
Gets the osType property: Gets or sets the type of the os.- Returns:
- the osType value.
-
osName
String osName()
Gets the osName property: Gets or sets os name.- Returns:
- the osName value.
-
computerName
String computerName()
Gets the computerName property: Gets or sets computer name.- Returns:
- the computerName value.
-
memoryMB
Integer memoryMB()
Gets the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB.- Returns:
- the memoryMB value.
-
cpuCount
Integer cpuCount()
Gets the cpuCount property: Gets or sets the desired number of vCPUs for the vm.- Returns:
- the cpuCount value.
-
limitCpuForMigration
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.
-
dynamicMemoryEnabled
DynamicMemoryEnabled dynamicMemoryEnabled()
Gets the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.- Returns:
- the dynamicMemoryEnabled value.
-
isCustomizable
IsCustomizable isCustomizable()
Gets the isCustomizable property: Gets or sets a value indicating whether the vm template is customizable or not.- Returns:
- the isCustomizable value.
-
dynamicMemoryMaxMB
Integer dynamicMemoryMaxMB()
Gets the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.- Returns:
- the dynamicMemoryMaxMB value.
-
dynamicMemoryMinMB
Integer dynamicMemoryMinMB()
Gets the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.- Returns:
- the dynamicMemoryMinMB value.
-
isHighlyAvailable
String isHighlyAvailable()
Gets the isHighlyAvailable property: Gets highly available property.- Returns:
- the isHighlyAvailable value.
-
generation
Integer generation()
Gets the generation property: Gets or sets the generation for the vm.- Returns:
- the generation value.
-
networkInterfaces
List<NetworkInterfaces> networkInterfaces()
Gets the networkInterfaces property: Gets or sets the network interfaces of the template.- Returns:
- the networkInterfaces value.
-
disks
List<VirtualDisk> disks()
Gets the disks property: Gets or sets the disks of the template.- Returns:
- the disks value.
-
provisioningState
String provisioningState()
Gets the provisioningState property: Gets or sets the provisioning state.- Returns:
- the provisioningState value.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
innerModel
VirtualMachineTemplateInner innerModel()
Gets the inner com.azure.resourcemanager.scvmm.fluent.models.VirtualMachineTemplateInner object.- Returns:
- the inner object.
-
update
VirtualMachineTemplate.Update update()
Begins update for the VirtualMachineTemplate resource.- Returns:
- the stage of resource update.
-
refresh
VirtualMachineTemplate refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
VirtualMachineTemplate refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-