共用方式為


IWithLinuxDiskSource.WithLinuxFromSnapshot Method

Definition

Overloads

WithLinuxFromSnapshot(ISnapshot)

Specifies the source Linux OS managed snapshot.

WithLinuxFromSnapshot(String)

Specifies the source Linux OS managed snapshot.

WithLinuxFromSnapshot(ISnapshot)

Specifies the source Linux OS managed snapshot.

public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize WithLinuxFromSnapshot (Microsoft.Azure.Management.Compute.Fluent.ISnapshot sourceSnapshot);
abstract member WithLinuxFromSnapshot : Microsoft.Azure.Management.Compute.Fluent.ISnapshot -> Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize
Public Function WithLinuxFromSnapshot (sourceSnapshot As ISnapshot) As IWithCreateAndSize

Parameters

sourceSnapshot
ISnapshot

Source snapshot.

Returns

Applies to

WithLinuxFromSnapshot(String)

Specifies the source Linux OS managed snapshot.

public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize WithLinuxFromSnapshot (string sourceSnapshotId);
abstract member WithLinuxFromSnapshot : string -> Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize
Public Function WithLinuxFromSnapshot (sourceSnapshotId As String) As IWithCreateAndSize

Parameters

sourceSnapshotId
String

Snapshot resource ID.

Returns

Applies to