Udostępnij za pośrednictwem


IWithDataDiskImage.WithDataDiskImageFromSnapshot(String) Method

Definition

Adds a data disk image with an existing snapshot as the source.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithDataDiskImageFromSnapshot (string sourceSnapshotId);
abstract member WithDataDiskImageFromSnapshot : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithDataDiskImageFromSnapshot (sourceSnapshotId As String) As IWithCreateAndDataDiskImageOSDiskSettings

Parameters

sourceSnapshotId
String

Source snapshot resource ID.

Returns

Applies to