VirtualMachineTemplateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. VirtualMachineTemplateProperties
- com.
Implements
public final class VirtualMachineTemplateProperties
implements JsonSerializable<VirtualMachineTemplateProperties>
Defines the resource properties.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineTemplateProperties() |
Creates an instance of Virtual |
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 the disks of the template. |
|
Dynamic |
dynamicMemoryEnabled()
Get the dynamic |
| Integer |
dynamicMemoryMaxMB()
Get the dynamic |
| Integer |
dynamicMemoryMinMB()
Get the dynamic |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| Integer |
generation()
Get the generation property: Gets the generation for the vm. |
| String |
inventoryItemId()
Get the inventory |
|
Is |
isCustomizable()
Get the is |
|
Is |
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 |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uuid()
Get the uuid property: Unique ID of the virtual machine template. |
| void |
validate()
Validates the instance. |
| String |
vmmServerId()
Get the vmm |
|
Virtual |
withInventoryItemId(String inventoryItemId)
Set the inventory |
|
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 java.lang.Object
Constructor Details
VirtualMachineTemplateProperties
public VirtualMachineTemplateProperties()
Creates an instance of VirtualMachineTemplateProperties class.
Method Details
computerName
public String computerName()
Get the computerName property: Gets computer name.
Returns:
cpuCount
public Integer cpuCount()
Get the cpuCount property: Gets the desired number of vCPUs for the vm.
Returns:
disks
public List<VirtualDisk> disks()
Get the disks property: Gets the disks of the template.
Returns:
dynamicMemoryEnabled
public DynamicMemoryEnabled dynamicMemoryEnabled()
Get the dynamicMemoryEnabled property: Gets a value indicating whether to enable dynamic memory or not.
Returns:
dynamicMemoryMaxMB
public Integer dynamicMemoryMaxMB()
Get the dynamicMemoryMaxMB property: Gets the max dynamic memory for the vm.
Returns:
dynamicMemoryMinMB
public Integer dynamicMemoryMinMB()
Get the dynamicMemoryMinMB property: Gets the min dynamic memory for the vm.
Returns:
fromJson
public static VirtualMachineTemplateProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineTemplateProperties from the JsonReader.
Parameters:
Returns:
Throws:
generation
public Integer generation()
Get the generation property: Gets 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 a value indicating whether the vm template is customizable or not.
Returns:
isHighlyAvailable
public IsHighlyAvailable isHighlyAvailable()
Get the isHighlyAvailable property: Gets highly available property.
Returns:
limitCpuForMigration
public LimitCpuForMigration limitCpuForMigration()
Get the limitCpuForMigration property: Gets 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<NetworkInterface> networkInterfaces()
Get the networkInterfaces property: Gets the network interfaces of the template.
Returns:
osName
public String osName()
Get the osName property: Gets os name.
Returns:
osType
public OsType osType()
Get the osType property: Gets the type of the os.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
toJson
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:
withInventoryItemId
public VirtualMachineTemplateProperties withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.
Parameters:
Returns:
withUuid
public VirtualMachineTemplateProperties withUuid(String uuid)
Set the uuid property: Unique ID of the virtual machine template.
Parameters:
Returns:
withVmmServerId
public VirtualMachineTemplateProperties withVmmServerId(String vmmServerId)
Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.
Parameters:
Returns: