Interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<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.UpdateDefinitionWithNewVhd<ParentT>
- Enclosing interface:
- VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages
public static interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT> extends VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithAttach<ParentT>
The stage that allows configure the disk based on new VHD.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT>storeAt(String storageAccountName, String containerName, String vhdName)Specifies where the VHD associated with the new blank data disk needs to be stored.VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT>withCaching(CachingTypes cachingType)Specifies the caching type for the data disk.VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT>withLun(Integer lun)Specifies the logical unit number for the data disk.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Attachable.InUpdate
attach
-
-
-
-
Method Detail
-
withLun
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<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.WithNewVhdDiskSettings<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.UpdateDefinitionStages.WithNewVhdDiskSettings<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
-
-