VirtualMachine.DefinitionStages.WithManagedCreate Interface

public interface WithManagedCreate extends VirtualMachine.DefinitionStages.WithManagedDataDisk,VirtualMachine.DefinitionStages.WithAvailabilityZone,VirtualMachine.DefinitionStages.WithCreate

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.

Method Summary

Modifier and Type Method and Description
VirtualMachine.DefinitionStages.WithManagedCreate withDataDiskDefaultCachingType(CachingTypes cachingType)

Specifies the default caching type for the managed data disks.

VirtualMachine.DefinitionStages.WithManagedCreate withDataDiskDefaultStorageAccountType(StorageAccountTypes storageAccountType)

Specifies the default caching type for managed data disks.

VirtualMachine.DefinitionStages.WithManagedCreate withOSDiskStorageAccountType(StorageAccountTypes accountType)

Specifies the storage account type for the managed OS disk.

Inherited Members

Creatable<T>.create() Creatable<T>.createAsync(final ServiceCallback<T> callback) Creatable<T>.createAsync() VirtualMachine.DefinitionStages.WithExtension.defineNewExtension(String name) Indexable.key() HasName.name() VirtualMachine.DefinitionStages.WithAvailabilityZone.withAvailabilityZone(AvailabilityZoneId zoneId) 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.WithManagedDataDisk.withExistingDataDisk(Disk disk) VirtualMachine.DefinitionStages.WithManagedDataDisk.withExistingDataDisk(Disk disk, int lun, CachingTypes cachingType) VirtualMachine.DefinitionStages.WithManagedDataDisk.withExistingDataDisk(Disk disk, int newSizeInGB, int lun, CachingTypes cachingType) VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withExistingSecondaryNetworkInterface(NetworkInterface networkInterface) VirtualMachine.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount storageAccount) 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.WithManagedDataDisk.withNewDataDisk(Creatable<Disk> creatable) VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDisk(Creatable<Disk> creatable, int lun, CachingTypes cachingType) VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB) VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType) VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType) VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDiskFromImage(int imageLun) VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDiskFromImage(int imageLun, int newSizeInGB, CachingTypes cachingType) VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDiskFromImage(int imageLun, int newSizeInGB, CachingTypes cachingType, StorageAccountTypes storageAccountType) VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface.withNewSecondaryNetworkInterface(Creatable<NetworkInterface> creatable) VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name) VirtualMachine.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount> creatable) 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.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

withDataDiskDefaultCachingType

public WithManagedCreate withDataDiskDefaultCachingType(CachingTypes cachingType)

Specifies the default caching type for the managed data disks.

Parameters:

cachingType - a caching type

Returns:

the next stage of teh definition

withDataDiskDefaultStorageAccountType

public WithManagedCreate withDataDiskDefaultStorageAccountType(StorageAccountTypes storageAccountType)

Specifies the default caching type for managed data disks.

Parameters:

storageAccountType - a storage account type

Returns:

the next stage of the definition

withOSDiskStorageAccountType

public WithManagedCreate withOSDiskStorageAccountType(StorageAccountTypes accountType)

Specifies the storage account type for the managed OS disk.

Parameters:

accountType - storage account type

Returns:

the next stage of the definition

Applies to