Share via


IWithDataSnapshotFromImage.FromImage Method

Definition

Overloads

FromImage(IVirtualMachineCustomImage, Int32)

Specifies a custom image containing a source data disk image.

FromImage(IVirtualMachineImage, Int32)

Specifies an image containing a source data disk image.

FromImage(String, Int32)

Specifies an image containing source data disk image.

FromImage(IVirtualMachineCustomImage, Int32)

Specifies a custom image containing a source data disk image.

public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate FromImage (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage image, int diskLun);
abstract member FromImage : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage * int -> Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate
Public Function FromImage (image As IVirtualMachineCustomImage, diskLun As Integer) As IWithCreate

Parameters

image
IVirtualMachineCustomImage

The image.

diskLun
Int32

LUN of the disk image.

Returns

Applies to

FromImage(IVirtualMachineImage, Int32)

Specifies an image containing a source data disk image.

public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate FromImage (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage image, int diskLun);
abstract member FromImage : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage * int -> Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate
Public Function FromImage (image As IVirtualMachineImage, diskLun As Integer) As IWithCreate

Parameters

image
IVirtualMachineImage

An image.

diskLun
Int32

LUN of the disk image.

Returns

Applies to

FromImage(String, Int32)

Specifies an image containing source data disk image.

public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate FromImage (string imageId, int diskLun);
abstract member FromImage : string * int -> Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate
Public Function FromImage (imageId As String, diskLun As Integer) As IWithCreate

Parameters

imageId
String

An image resource ID.

diskLun
Int32

LUN of the disk image.

Returns

Applies to