VirtualMachine.DefinitionStages.WithOSDiskSettings Interface
public static interface VirtualMachine.DefinitionStages.WithOSDiskSettings
The stage of a virtual machine definition allowing to specify OS disk configurations.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withEphemeralOSDisk()
Specifies the OS disk to be ephemeral. |
abstract
With |
withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS disk. |
abstract
With |
withOSDiskDeleteOptions(DeleteOptions deleteOptions)
Specifies the delete options for the OS disk. |
abstract
With |
withOSDiskDiskEncryptionSet(String diskEncryptionSetId)
Specifies the disk encryption set for the managed OS disk. |
abstract
With |
withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk. |
abstract
With |
withOSDiskName(String name)
Specifies the name for the OS Disk. |
abstract
With |
withOSDiskSizeInGB(int size)
Specifies the size of the OSDisk in GB. |
Method Details
withEphemeralOSDisk
public abstract VirtualMachine.DefinitionStages.WithEphemeralOSDisk withEphemeralOSDisk()
Specifies the OS disk to be ephemeral.
Returns:
withOSDiskCaching
public abstract VirtualMachine.DefinitionStages.WithCreate withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS disk.
Parameters:
Returns:
withOSDiskDeleteOptions
public abstract VirtualMachine.DefinitionStages.WithCreate withOSDiskDeleteOptions(DeleteOptions deleteOptions)
Specifies the delete options for the OS disk.
Parameters:
Returns:
withOSDiskDiskEncryptionSet
public abstract VirtualMachine.DefinitionStages.WithCreate withOSDiskDiskEncryptionSet(String diskEncryptionSetId)
Specifies the disk encryption set for the managed OS disk.
Parameters:
Returns:
withOSDiskEncryptionSettings
public abstract VirtualMachine.DefinitionStages.WithCreate withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk.
Parameters:
Returns:
withOSDiskName
public abstract VirtualMachine.DefinitionStages.WithCreate withOSDiskName(String name)
Specifies the name for the OS Disk.
Parameters:
Returns:
withOSDiskSizeInGB
public abstract VirtualMachine.DefinitionStages.WithCreate withOSDiskSizeInGB(int size)
Specifies the size of the OSDisk in GB.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for