IWithDataSnapshotFromImage.FromImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Azure SDK for .NET