Compartir vía


VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithDiskSource<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public interface WithDiskSource

The stage of the unmanaged data disk definition allowing to choose the source.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> fromImage(int imageLun)

Specifies the image LUN identifier of the source disk image.

VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<ParentT> withNewVhd(int sizeInGB)

specifies that unmanaged disk needs to be created with a new VHD of given size.

Method Details

fromImage

public WithFromImageDiskSettings fromImage(int imageLun)

Specifies the image LUN identifier of the source disk image.

Parameters:

imageLun - the LUN

Returns:

the next stage of unmanaged data disk definition

withNewVhd

public WithNewVhdDiskSettings withNewVhd(int sizeInGB)

specifies that unmanaged disk needs to be created with a new VHD of given size.

Parameters:

sizeInGB - the initial disk size in GB

Returns:

the next stage of unmanaged data disk definition

Applies to