Compartir a través de


VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged Interface

public interface WithFromImageCreateOptionsUnmanaged extends VirtualMachine.DefinitionStages.WithUnmanagedCreate

The stage of a virtual machine definition containing various settings when virtual machine is created from image.

Method Summary

Modifier and Type Method and Description
VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged withComputerName(String computerName)

Specifies the computer name for the virtual machine.

VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged withCustomData(String base64EncodedCustomData)

Specifies the custom data for the virtual machine.

Inherited Members

Creatable<T>.create() Creatable<T>.createAsync(final ServiceCallback<T> callback) Creatable<T>.createAsync() VirtualMachine.DefinitionStages.WithExtension.defineNewExtension(String name) VirtualMachine.DefinitionStages.WithUnmanagedDataDisk.defineUnmanagedDataDisk(String name) Indexable.key() HasName.name() VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics() VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(Creatable<StorageAccount> creatable) VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(StorageAccount storageAccount) VirtualMachine.DefinitionStages.WithBootDiagnostics.withBootDiagnostics(String storageAccountBlobEndpointUri) VirtualMachine.DefinitionStages.WithAvailabilitySet.withExistingAvailabilitySet(AvailabilitySet availabilitySet) VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withExistingSecondaryNetworkInterface(NetworkInterface networkInterface) VirtualMachine.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount storageAccount) VirtualMachine.DefinitionStages.WithUnmanagedDataDisk.withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName) VirtualMachine.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity() VirtualMachine.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity(int tokenPort) VirtualMachine.DefinitionStages.WithAvailabilitySet.withNewAvailabilitySet(String name) VirtualMachine.DefinitionStages.WithAvailabilitySet.withNewAvailabilitySet(Creatable<AvailabilitySet> creatable) VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withNewSecondaryNetworkInterface(Creatable<NetworkInterface> creatable) VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name) VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount> creatable) VirtualMachine.DefinitionStages.WithUnmanagedDataDisk.withNewUnmanagedDataDisk(Integer sizeInGB) VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskCaching(CachingTypes cachingType) VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskEncryptionSettings(DiskEncryptionSettings settings) VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskName(String name) VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskSizeInGB(Integer size) VirtualMachine.DefinitionStages.WithOSDiskSettings.withOSDiskSizeInGB(int size) VirtualMachine.DefinitionStages.WithUnmanagedCreate.withOSDiskVhdLocation(String containerName, String vhdName) VirtualMachine.DefinitionStages.WithPlan.withPlan(PurchasePlan plan) VirtualMachine.DefinitionStages.WithPlan.withPromotionalPlan(PurchasePlan plan, String promotionCode) VirtualMachine.DefinitionStages.WithVMSize.withSize(String sizeName) VirtualMachine.DefinitionStages.WithVMSize.withSize(VirtualMachineSizeTypes size) Resource.DefinitionWithTags<T>.withTag(String key, String value) Resource.DefinitionWithTags<T>.withTags(Map<String, String> tags)

Method Details

withComputerName

public WithFromImageCreateOptionsUnmanaged withComputerName(String computerName)

Specifies the computer name for the virtual machine.

Parameters:

computerName - a computer name

Returns:

the next stage of the definition

withCustomData

public WithFromImageCreateOptionsUnmanaged withCustomData(String base64EncodedCustomData)

Specifies the custom data for the virtual machine.

Parameters:

base64EncodedCustomData - base64 encoded custom data

Returns:

the next stage of the definition

Applies to