| Modifier and Type | Interface and Description |
|---|---|
static interface |
VirtualMachine.DefinitionManaged
The entirety of the managed disk based virtual machine definition.
|
static interface |
VirtualMachine.DefinitionManagedOrUnmanaged
The entirety of the virtual machine definition.
|
static interface |
VirtualMachine.DefinitionShared
The virtual machine scale set stages shared between managed and unmanaged based
virtual machine definitions.
|
static interface |
VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged
The stage of a virtual machine definition containing various settings when virtual machine is created from image.
|
static interface |
VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManagedOrUnmanaged
The stage of a virtual machine definition containing various settings when virtual machine is created from image.
|
static interface |
VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged
The stage of a virtual machine definition containing various settings when virtual machine is created from image.
|
static interface |
VirtualMachine.DefinitionStages.WithLinuxCreateManaged
The stage of a Linux virtual machine definition which contains all the minimum required inputs for
the resource to be created, but also allows for any other optional settings to be specified.
|
static interface |
VirtualMachine.DefinitionStages.WithLinuxCreateManagedOrUnmanaged
The stage of the Linux virtual machine definition which contains all the minimum required inputs for
the resource to be created, but also allows
for any other optional settings to be specified.
|
static interface |
VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged
The stage of a Linux virtual machine definition which contains all the minimum required inputs for
the resource to be created, but also allows for any other optional settings to be specified.
|
static interface |
VirtualMachine.DefinitionStages.WithManagedCreate
The stage of the definition which contains all the minimum required inputs for the VM using managed OS disk
to be created and optionally allow managed data disks specific settings to be specified.
|
static interface |
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
The stage of the System Assigned (Local) Managed Service Identity enabled virtual machine allowing to
set access role for the identity.
|
static interface |
VirtualMachine.DefinitionStages.WithUnmanagedCreate
The stage of a virtual machine definition which contains all the minimum required inputs for the VM using
storage account (unmanaged based OS disk to be created and optionally allow unmanaged data disk and settings
specific to unmanaged OS disk to be specified.
|
static interface |
VirtualMachine.DefinitionStages.WithWindowsCreateManaged
The stage of a Windows virtual machine definition which contains all the minimum required inputs for
the resource to be created, but also allows for any other optional settings to be specified.
|
static interface |
VirtualMachine.DefinitionStages.WithWindowsCreateManagedOrUnmanaged
The stage of the Windows virtual machine definition allowing to enable unmanaged disks
or continue the definition of the VM with managed disks only.
|
static interface |
VirtualMachine.DefinitionStages.WithWindowsCreateUnmanaged
The stage of the Windows virtual machine definition which contains all the minimum required inputs for
the resource to be created, but also allows for any other optional settings to be specified.
|
static interface |
VirtualMachine.DefinitionUnmanaged
The entirety of the unmanaged disk based virtual machine definition.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics()
Specifies that boot diagnostics needs to be enabled in the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.storage.StorageAccount> creatable)
Specifies that boot diagnostics needs to be enabled in the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(com.microsoft.azure.management.storage.StorageAccount storageAccount)
Specifies that boot diagnostics needs to be enabled in the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(String storageAccountBlobEndpointUri)
Specifies that boot diagnostics needs to be enabled in the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithAvailabilitySet.withExistingAvailabilitySet(AvailabilitySet availabilitySet)
Specifies an existing availability set to associate with the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withExistingSecondaryNetworkInterface(com.microsoft.azure.management.network.NetworkInterface networkInterface)
Associates 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 storage account to put the VM's OS and data disk VHD in.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity.withExistingUserAssignedManagedServiceIdentity(com.microsoft.azure.management.msi.Identity identity)
Specifies an existing user assigned identity to be associated with the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithLicenseType.withLicenseType(String licenseType)
Specifies that the image or disk that is being used was licensed on-premises.
|
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 with the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withNewSecondaryNetworkInterface(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.NetworkInterface> creatable)
Creates 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 the definition of a not-yet-created storage account
to put the VM's OS and data disk VHDs into.
|
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 into.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity.withNewUserAssignedManagedServiceIdentity(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.msi.Identity> creatableIdentity)
Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS 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(int size)
Specifies the size of the OSDisk in GB.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskSizeInGB(Integer size)
Deprecated.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithPlan.withPlan(PurchasePlan plan)
Specifies the purchase plan for the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithPlan.withPromotionalPlan(PurchasePlan plan,
String promotionCode)
Specifies the purchase plan for the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithVMSize.withSize(String sizeName)
Selects the size of the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
VirtualMachine.DefinitionStages.WithVMSize.withSize(VirtualMachineSizeTypes size)
Specifies the size of the virtual machine.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineExtension.DefinitionStages.Blank<VirtualMachine.DefinitionStages.WithCreate> |
VirtualMachine.DefinitionStages.WithExtension.defineNewExtension(String name)
Starts the 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.
*/