Interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Superinterfaces:
Attachable.InDefinition<ParentT>
,VirtualMachineUnmanagedDataDisk.DefinitionStages.WithAttach<ParentT>
- All Known Subinterfaces:
VirtualMachineUnmanagedDataDisk.DefinitionWithImage<ParentT>
- Enclosing interface:
- VirtualMachineUnmanagedDataDisk.DefinitionStages
public static interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT>
extends VirtualMachineUnmanagedDataDisk.DefinitionStages.WithAttach<ParentT>
The stage that allows configure the disk based on an image.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies where the VHD associated with the new blank data disk needs to be stored.withCaching
(CachingTypes cachingType) Specifies the caching type for the data disk.withSizeInGB
(Integer sizeInGB) Specifies the size in GB the disk needs to be resized.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Attachable.InDefinition
attach
-
Method Details
-
withSizeInGB
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> 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
-
withCaching
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> 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
-
storeAt
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> 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 namecontainerName
- the name of the container to hold the new VHD filevhdName
- the name for the new VHD file- Returns:
- the next stage of data disk definition
-