VirtualMachineCustomImage.CustomImageDataDisk.DefinitionStages.WithImageSource<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public interface WithImageSource
The stage of the image definition allowing to choose the source of the data disk image.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
fromManagedDisk(Disk sourceManagedDisk)
Specifies the source managed disk for the data disk image. |
Virtual |
fromManagedDisk(String sourceManagedDiskId)
Specifies the source managed disk for the data disk image. |
Virtual |
fromSnapshot(String sourceSnapshotId)
Specifies the source snapshot for the data disk image. |
Virtual |
fromVhd(String sourceVhdUrl)
Specifies the source VHD for the data disk image. |
Method Details
fromManagedDisk
public WithAttach
Specifies the source managed disk for the data disk image.
Parameters:
Returns:
fromManagedDisk
public WithAttach
Specifies the source managed disk for the data disk image.
Parameters:
Returns:
fromSnapshot
public WithAttach
Specifies the source snapshot for the data disk image.
Parameters:
Returns:
fromVhd
public WithAttach
Specifies the source VHD for the data disk image.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for