Interface VirtualMachine.DefinitionStages.WithOSDiskSettings
-
- All Known Subinterfaces:
VirtualMachine.DefinitionManaged,VirtualMachine.DefinitionManagedOrUnmanaged,VirtualMachine.DefinitionShared,VirtualMachine.DefinitionStages.WithCreate,VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged,VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManagedOrUnmanaged,VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged,VirtualMachine.DefinitionStages.WithLinuxCreateManaged,VirtualMachine.DefinitionStages.WithLinuxCreateManagedOrUnmanaged,VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged,VirtualMachine.DefinitionStages.WithManagedCreate,VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate,VirtualMachine.DefinitionStages.WithUnmanagedCreate,VirtualMachine.DefinitionStages.WithWindowsCreateManaged,VirtualMachine.DefinitionStages.WithWindowsCreateManagedOrUnmanaged,VirtualMachine.DefinitionStages.WithWindowsCreateUnmanaged,VirtualMachine.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithOSDiskSettingsThe stage of a virtual machine definition allowing to specify OS disk configurations.
-
-
Method Summary
-
-
-
Method Detail
-
withOSDiskCaching
VirtualMachine.DefinitionStages.WithCreate withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS disk.- Parameters:
cachingType- a caching type- Returns:
- the next stage of the definition
-
withOSDiskEncryptionSettings
VirtualMachine.DefinitionStages.WithCreate withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk.- Parameters:
settings- the encryption settings- Returns:
- the next stage of the definition
-
withOSDiskSizeInGB
VirtualMachine.DefinitionStages.WithCreate withOSDiskSizeInGB(int size)
Specifies the size of the OSDisk in GB.- Parameters:
size- the VHD size- Returns:
- the next stage of the definition
-
withOSDiskName
VirtualMachine.DefinitionStages.WithCreate withOSDiskName(String name)
Specifies the name for the OS Disk.- Parameters:
name- an OS disk name- Returns:
- the next stage of the definition
-
withOSDiskDeleteOptions
VirtualMachine.DefinitionStages.WithCreate withOSDiskDeleteOptions(DeleteOptions deleteOptions)
Specifies the delete options for the OS disk.- Parameters:
deleteOptions- the delete options for the OS disk.- Returns:
- the next stage of the definition
-
withOSDiskDiskEncryptionSet
VirtualMachine.DefinitionStages.WithCreate withOSDiskDiskEncryptionSet(String diskEncryptionSetId)
Specifies the disk encryption set for the managed OS disk.- Parameters:
diskEncryptionSetId- the ID of disk encryption set.- Returns:
- the next stage of the definition
-
withEphemeralOSDisk
VirtualMachine.DefinitionStages.WithEphemeralOSDisk withEphemeralOSDisk()
Specifies the OS disk to be ephemeral.- Returns:
- the next stage of the definition
-
-