Interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent update to return to after attaching this definition
- All Superinterfaces:
Attachable.InUpdate<ParentT>,VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithAttach<ParentT>
- All Known Subinterfaces:
VirtualMachineUnmanagedDataDisk.UpdateDefinitionWithExistingVhd<ParentT>
- Enclosing interface:
- VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages
public static interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT> extends VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithAttach<ParentT>
The stage that allows configure the disk based on existing VHD.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT>withCaching(CachingTypes cachingType)Specifies the caching type for the data disk.VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT>withLun(Integer lun)Specifies the logical unit number for the data disk.VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT>withSizeInGB(Integer sizeInGB)Specifies the size in GB the disk needs to be resized.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Attachable.InUpdate
attach
-
-
-
-
Method Detail
-
withSizeInGB
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.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.UpdateDefinitionStages.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.UpdateDefinitionStages.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
-
-