Lezen in het Engels

Delen via


VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> Interface

Type Parameters

ParentT

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

Implements

WithAttach<ParentT>

public static interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings
extends WithAttach<ParentT>

The stage that allows configure the disk based on an image.

Method Summary

Modifier and Type Method and Description
abstract WithFromImageDiskSettings<ParentT> storeAt(String storageAccountName, String containerName, String vhdName)

Specifies where the VHD associated with the new blank data disk needs to be stored.

abstract WithFromImageDiskSettings<ParentT> withCaching(CachingTypes cachingType)

Specifies the caching type for the data disk.

abstract WithFromImageDiskSettings<ParentT> withSizeInGB(Integer sizeInGB)

Specifies the size in GB the disk needs to be resized.

Method Details

storeAt

public abstract VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings storeAt(String storageAccountName, String containerName, String vhdName)

Specifies where the VHD associated with the new blank data disk needs to be stored.

Parameters:

storageAccountName - the storage account name
containerName - the name of the container to hold the new VHD file
vhdName - the name for the new VHD file

Returns:

the next stage of data disk definition

withCaching

public abstract VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings withCaching(CachingTypes cachingType)

Specifies the caching type for the data disk.

Parameters:

cachingType - the disk caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

Returns:

the next stage of data disk definition

withSizeInGB

public abstract VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings withSizeInGB(Integer sizeInGB)

Specifies the size in GB the disk needs to be resized.

Parameters:

sizeInGB - the disk size in GB

Returns:

the next stage of data disk definition

Applies to

Azure SDK for Java

Latest