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
VirtualMachine.DefinitionStages.WithCreate withOSDiskCaching(CachingTypes cachingType)

Specifies the caching type for the OS disk.

VirtualMachine.DefinitionStages.WithCreate withOSDiskEncryptionSettings(DiskEncryptionSettings settings)

Specifies the encryption settings for the OS Disk.

VirtualMachine.DefinitionStages.WithCreate withOSDiskName(String name)

Specifies the name for the OS Disk.

VirtualMachine.DefinitionStages.WithCreate withOSDiskSizeInGB(int size)

Specifies the size of the OSDisk in GB.

VirtualMachine.DefinitionStages.WithCreate 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:

cachingType - a caching type

Returns:

the next stage of the definition

withOSDiskEncryptionSettings

public WithCreate withOSDiskEncryptionSettings(DiskEncryptionSettings settings)

Specifies the encryption settings for the OS Disk.

Parameters:

settings - the encryption settings

Returns:

the next stage of the definition

withOSDiskName

public WithCreate withOSDiskName(String name)

Specifies the name for the OS Disk.

Parameters:

name - an OS disk name

Returns:

the next stage of the definition

withOSDiskSizeInGB

public WithCreate withOSDiskSizeInGB(int size)

Specifies the size of the OSDisk in GB.

Parameters:

size - the VHD size

Returns:

the next stage of the definition

withOSDiskSizeInGB

public WithCreate withOSDiskSizeInGB(Integer size)

Specifies the size of the OSDisk in GB.

Parameters:

size - the VHD size

Returns:

the next stage of the definition

Applies to