VirtualMachine.DefinitionStages.WithOSDiskSettings Interface
public interface WithOSDiskSettings
The stage of a virtual machine definition allowing to specify OS disk configurations.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS disk. |
Virtual |
withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk. |
Virtual |
withOSDiskName(String name)
Specifies the name for the OS Disk. |
Virtual |
withOSDiskSizeInGB(int size)
Specifies the size of the OSDisk in GB. |
Virtual |
withOSDiskSizeInGB(Integer size)
Specifies the size of the OSDisk in GB. |
Method Details
withOSDiskCaching
public WithCreate withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS disk.
Parameters:
Returns:
withOSDiskEncryptionSettings
public WithCreate withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk.
Parameters:
Returns:
withOSDiskName
public WithCreate withOSDiskName(String name)
Specifies the name for the OS Disk.
Parameters:
Returns:
withOSDiskSizeInGB
public WithCreate withOSDiskSizeInGB(int size)
Specifies the size of the OSDisk in GB.
Parameters:
Returns:
withOSDiskSizeInGB
public WithCreate withOSDiskSizeInGB(Integer size)
Specifies the size of the OSDisk in GB.
Parameters:
Returns:
Applies to
Azure SDK for Java