Interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithVhdAttachedDiskSettings<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.DefinitionWithExistingVhd<ParentT>
- Enclosing interface:
- VirtualMachineUnmanagedDataDisk.DefinitionStages
public static interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithVhdAttachedDiskSettings<ParentT>
extends VirtualMachineUnmanagedDataDisk.DefinitionStages.WithAttach<ParentT>
The stage that allows configure the disk based on existing VHD.
-
Method Summary
Modifier and TypeMethodDescriptionwithCaching
(CachingTypes cachingType) Specifies the caching type for the data disk.Specifies the logical unit number 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.WithVhdAttachedDiskSettings<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
-
withLun
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithVhdAttachedDiskSettings<ParentT> withLun(Integer lun) Specifies the logical unit number for the data disk.- Parameters:
lun
- the logical unit number- Returns:
- the next stage of data disk definition
-
withCaching
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithVhdAttachedDiskSettings<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
-