Interface VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithDiskSettings<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
VirtualMachineCustomImage.CustomImageDataDisk.Definition<ParentT>
,VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT>
- Enclosing interface:
- VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages
public static interface VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithDiskSettings<ParentT>
The stage of data disk image definition allowing to specify configurations for the data disk when it
is created from the same data disk image.
-
Method Summary
Modifier and TypeMethodDescriptionwithDiskCaching
(CachingTypes cachingType) Specifies the caching type for data disk.withDiskSizeInGB
(int diskSizeGB) Specifies the size in GB for data disk.
-
Method Details
-
withDiskSizeInGB
VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT> withDiskSizeInGB(int diskSizeGB) Specifies the size in GB for data disk.- Parameters:
diskSizeGB
- the disk size in GB- Returns:
- the next stage of the definition
-
withDiskCaching
VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT> withDiskCaching(CachingTypes cachingType) Specifies the caching type for data disk.- Parameters:
cachingType
- the disk caching type- Returns:
- the next stage of the definition
-