Interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<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.DefinitionWithNewVhd<ParentT>
- Enclosing interface:
- VirtualMachineUnmanagedDataDisk.DefinitionStages
public static interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<ParentT>
extends VirtualMachineUnmanagedDataDisk.DefinitionStages.WithAttach<ParentT>
The stage that allows configure the disk based on new VHD.
-
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.Specifies the logical unit number for the data disk.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Attachable.InDefinition
attach
-
Method Details
-
withLun
VirtualMachineUnmanagedDataDisk.DefinitionStages.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.DefinitionStages.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.DefinitionStages.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
-