| Modifier and Type | Interface and Description |
|---|---|
static interface |
VirtualMachine.Definition
The entirety of the virtual machine definition.
|
static interface |
VirtualMachine.DefinitionStages.WithLinuxCreate
The stage of the Linux virtual machine definition which contains all the minimum required inputs for
the resource to be created (via
Creatable.create()), but also allows
for any other optional settings to be specified. |
static interface |
VirtualMachine.DefinitionStages.WithWindowsCreate
The stage of the Windows virtual machine definition which contains all the minimum required inputs for
the resource to be created (via
Creatable.create(), but also allows
for any other optional settings to be specified. |
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithAvailabilitySet.withExistingAvailabilitySet(AvailabilitySet availabilitySet)
Specifies an existing
AvailabilitySet availability set to to associate the virtual machine with. |
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithDataDisk.withExistingDataDisk(String storageAccountName,
String containerName,
String vhdName)
Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withExistingSecondaryNetworkInterface(com.microsoft.azure.management.network.NetworkInterface networkInterface)
Associate an existing network interface with the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithStorageAccount.withExistingStorageAccount(com.microsoft.azure.management.storage.StorageAccount storageAccount)
Specifies an existing
StorageAccount storage account to put the VM's OS and data disk VHD in. |
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithAvailabilitySet.withNewAvailabilitySet(com.microsoft.azure.management.resources.fluentcore.model.Creatable<AvailabilitySet> creatable)
Specifies definition of a not-yet-created availability set definition
to associate the virtual machine with.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithAvailabilitySet.withNewAvailabilitySet(String name)
Specifies the name of a new availability set to associate the virtual machine with.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithDataDisk.withNewDataDisk(Integer sizeInGB)
Specifies that a new blank data disk needs to be attached to virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withNewSecondaryNetworkInterface(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.NetworkInterface> creatable)
Create a new network interface to associate with the virtual machine, based on the
provided definition.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.storage.StorageAccount> creatable)
Specifies definition of a not-yet-created storage account definition
to put the VM's OS and data disk VHDs in.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name)
Specifies the name of a new storage account to put the VM's OS and data disk VHD in.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithOS.withOsDisk(String osDiskUrl,
OperatingSystemTypes osType)
Specifies the specialized operating system disk to be attached to the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithOsDiskSettings.withOsDiskCaching(CachingTypes cachingType)
Specifies the caching type for the Operating System disk.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithOsDiskSettings.withOsDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithOsDiskSettings.withOsDiskName(String name)
Specifies the name for the OS Disk.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithOsDiskSettings.withOsDiskSizeInGb(Integer size)
Specifies the size of the OSDisk in GB.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithOsDiskSettings.withOsDiskVhdLocation(String containerName,
String vhdName)
Specifies the name of the OS Disk Vhd file and it's parent container.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithPassword.withPassword(String password)
Specifies the password for the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithVMSize.withSize(String sizeName)
Specifies the virtual machine size.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithVMSize.withSize(VirtualMachineSizeTypes size)
Specifies the virtual machine size.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineDataDisk.DefinitionStages.AttachExistingDataDisk<VirtualMachine.DefinitionStages.WithCreate> |
VirtualMachine.DefinitionStages.WithDataDisk.defineExistingDataDisk(String name)
Specifies an existing VHD that needs to be attached to the virtual machine as data disk along with
it's configuration.
|
VirtualMachineDataDisk.DefinitionStages.AttachNewDataDisk<VirtualMachine.DefinitionStages.WithCreate> |
VirtualMachine.DefinitionStages.WithDataDisk.defineNewDataDisk(String name)
Specifies a new blank data disk to be attached to the virtual machine along with it's configuration.
|
VirtualMachineExtension.DefinitionStages.Blank<VirtualMachine.DefinitionStages.WithCreate> |
VirtualMachine.DefinitionStages.WithExtension.defineNewExtension(String name)
Specifies definition of an extension to be attached to the virtual machine.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/