共用方式為


IWithImageSource<ParentT>.FromSnapshot(String) Method

Definition

Specifies the source snapshot for the data disk image.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<ParentT> FromSnapshot (string sourceSnapshotId);
abstract member FromSnapshot : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<'ParentT>
Public Function FromSnapshot (sourceSnapshotId As String) As IWithAttach(Of ParentT)

Parameters

sourceSnapshotId
String

Source snapshot resource ID.

Returns

Applies to