Delen via


IWithDataDiskFromSnapshot.FromSnapshot Method

Definition

Overloads

FromSnapshot(ISnapshot)

Specifies the source data managed snapshot.

FromSnapshot(String)

Specifies the source data managed snapshot.

FromSnapshot(ISnapshot)

Specifies the source data managed snapshot.

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

Parameters

snapshot
ISnapshot

Snapshot resource.

Returns

Applies to

FromSnapshot(String)

Specifies the source data managed snapshot.

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

Parameters

snapshotId
String

Snapshot resource ID.

Returns

Applies to