Interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<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.DefinitionWithImage<ParentT>
- Enclosing interface:
- VirtualMachineUnmanagedDataDisk.DefinitionStages
public static interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> extends VirtualMachineUnmanagedDataDisk.DefinitionStages.WithAttach<ParentT>
The stage that allows configure the disk based on an image.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT>storeAt(String storageAccountName, String containerName, String vhdName)Specifies where the VHD associated with the new blank data disk needs to be stored.VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT>withCaching(CachingTypes cachingType)Specifies the caching type for the data disk.VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<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.InDefinition
attach
-
-
-
-
Method Detail
-
withSizeInGB
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<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
-
withCaching
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<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.WithFromImageDiskSettings<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
-
-