Interface VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithImageSource<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
VirtualMachineCustomImage.CustomImageDataDisk.Definition<ParentT>
- Enclosing interface:
- VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages
public static interface VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithImageSource<ParentT>The stage of the image definition allowing to choose the source of the data disk image.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT>fromManagedDisk(Disk sourceManagedDisk)Specifies the source managed disk for the data disk image.VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT>fromManagedDisk(String sourceManagedDiskId)Specifies the source managed disk for the data disk image.VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT>fromSnapshot(String sourceSnapshotId)Specifies the source snapshot for the data disk image.VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT>fromVhd(String sourceVhdUrl)Specifies the source VHD for the data disk image.
-
-
-
Method Detail
-
fromVhd
VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT> fromVhd(String sourceVhdUrl)
Specifies the source VHD for the data disk image.- Parameters:
sourceVhdUrl- source virtual hard disk URL- Returns:
- the next stage of the definition
-
fromSnapshot
VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT> fromSnapshot(String sourceSnapshotId)
Specifies the source snapshot for the data disk image.- Parameters:
sourceSnapshotId- source snapshot resource ID- Returns:
- the next stage of the definition
-
fromManagedDisk
VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT> fromManagedDisk(String sourceManagedDiskId)
Specifies the source managed disk for the data disk image.- Parameters:
sourceManagedDiskId- source managed disk resource ID- Returns:
- the next stage of the definition
-
fromManagedDisk
VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithAttach<ParentT> fromManagedDisk(Disk sourceManagedDisk)
Specifies the source managed disk for the data disk image.- Parameters:
sourceManagedDisk- source managed disk- Returns:
- the next stage of the definition
-
-