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.WithOSDiskSettings
The stage of a virtual machine definition allowing to specify OS disk configurations.
-
Method Summary
Modifier and TypeMethodDescriptionwithOSDiskCaching
(CachingTypes cachingType) Specifies the caching type for the OS disk.Specifies the encryption settings for the OS Disk.withOSDiskName
(String name) Specifies the name for the OS Disk.withOSDiskSizeInGB
(int size) Specifies the size of the OSDisk in GB.withOSDiskSizeInGB
(Integer size) Deprecated.
-
Method Details
-
withOSDiskCaching
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
Deprecated.usewithOSDiskSizeInGB(int)
insteadSpecifies the size of the OSDisk in GB.- Parameters:
size
- the VHD size- Returns:
- the next stage of the definition
-
withOSDiskSizeInGB
Specifies the size of the OSDisk in GB.- Parameters:
size
- the VHD size- Returns:
- the next stage of the definition
-
withOSDiskName
Specifies the name for the OS Disk.- Parameters:
name
- an OS disk name- Returns:
- the next stage of the definition
-
withOSDiskSizeInGB(int)
instead