IWithDataDiskFromImage.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 source data disk image. |
FromImage(String, Int32) |
Specifies the ID of 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.Disk.Definition.IWithCreateAndSize 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.Disk.Definition.IWithCreateAndSize
Public Function FromImage (image As IVirtualMachineCustomImage, diskLun As Integer) As IWithCreateAndSize
Parameters
The image.
- diskLun
- Int32
LUN of the disk image.
Returns
Applies to
FromImage(IVirtualMachineImage, Int32)
Specifies an image containing source data disk image.
public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize 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.Disk.Definition.IWithCreateAndSize
Public Function FromImage (image As IVirtualMachineImage, diskLun As Integer) As IWithCreateAndSize
Parameters
- image
- IVirtualMachineImage
The image.
- diskLun
- Int32
LUN of the disk image.
Returns
Applies to
FromImage(String, Int32)
Specifies the ID of an image containing source data disk image.
public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize FromImage (string imageId, int diskLun);
abstract member FromImage : string * int -> Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize
Public Function FromImage (imageId As String, diskLun As Integer) As IWithCreateAndSize
Parameters
- imageId
- String
Image resource ID.
- diskLun
- Int32
LUN of the disk image.