VirtualMachineTemplateInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. scvmm. fluent. models. VirtualMachineTemplateInner
- com.
- com.
- com.
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 computer |
| Integer |
cpuCount()
Get the cpu |
|
List<Virtual |
disks()
Get the disks property: Gets or sets the disks of the template. |
|
Dynamic |
dynamicMemoryEnabled()
Get the dynamic |
| Integer |
dynamicMemoryMaxMB()
Get the dynamic |
| Integer |
dynamicMemoryMinMB()
Get the dynamic |
|
Extended |
extendedLocation()
Get the extended |
| Integer |
generation()
Get the generation property: Gets or sets the generation for the vm. |
| String |
inventoryItemId()
Get the inventory |
|
Is |
isCustomizable()
Get the is |
| String |
isHighlyAvailable()
Get the is |
|
Limit |
limitCpuForMigration()
Get the limit |
| Integer |
memoryMB()
Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB. |
|
List<Network |
networkInterfaces()
Get the network |
| String |
osName()
Get the os |
|
Os |
osType()
Get the os |
| String |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
| String |
uuid()
Get the uuid property: Unique ID of the virtual machine template. |
| void |
validate()
Validates the instance. |
| String |
vmmServerId()
Get the vmm |
|
Virtual |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Virtual |
withInventoryItemId(String inventoryItemId)
Set the inventory |
|
Virtual |
withLocation(String location) |
|
Virtual |
withTags(Map<String,String> tags) |
|
Virtual |
withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine template. |
|
Virtual |
withVmmServerId(String vmmServerId)
Set the vmm |
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:
cpuCount
public Integer cpuCount()
Get the cpuCount property: Gets or sets the desired number of vCPUs for the vm.
Returns:
disks
public List<VirtualDisk> disks()
Get the disks property: Gets or sets the disks of the template.
Returns:
dynamicMemoryEnabled
public DynamicMemoryEnabled dynamicMemoryEnabled()
Get the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not.
Returns:
dynamicMemoryMaxMB
public Integer dynamicMemoryMaxMB()
Get the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm.
Returns:
dynamicMemoryMinMB
public Integer dynamicMemoryMinMB()
Get the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location.
Returns:
generation
public Integer generation()
Get the generation property: Gets or sets the generation for the vm.
Returns:
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
Returns:
isCustomizable
public IsCustomizable isCustomizable()
Get the isCustomizable property: Gets or sets a value indicating whether the vm template is customizable or not.
Returns:
isHighlyAvailable
public String isHighlyAvailable()
Get the isHighlyAvailable property: Gets highly available property.
Returns:
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:
memoryMB
public Integer memoryMB()
Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB.
Returns:
networkInterfaces
public List<NetworkInterfaces> networkInterfaces()
Get the networkInterfaces property: Gets or sets the network interfaces of the template.
Returns:
osName
public String osName()
Get the osName property: Gets or sets os name.
Returns:
osType
public OsType osType()
Get the osType property: Gets or sets the type of the os.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system data.
Returns:
uuid
public String uuid()
Get the uuid property: Unique ID of the virtual machine template.
Returns:
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:
withExtendedLocation
public VirtualMachineTemplateInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location.
Parameters:
Returns:
withInventoryItemId
public VirtualMachineTemplateInner withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
Parameters:
Returns:
withLocation
public VirtualMachineTemplateInner withLocation(String location)
Overrides:
VirtualMachineTemplateInner.withLocation(String location)Parameters:
withTags
public VirtualMachineTemplateInner withTags(Map<String,String> tags)
Overrides:
VirtualMachineTemplateInner.withTags(Map<String,String> tags)Parameters:
withUuid
public VirtualMachineTemplateInner withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine template.
Parameters:
Returns:
withVmmServerId
public VirtualMachineTemplateInner withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.
Parameters:
Returns: