Dela via


IWithOSDiskFromImage.FromImage Method

Definition

Overloads

FromImage(IVirtualMachineCustomImage)

Specifies a custom image containing the operating system.

FromImage(IVirtualMachineImage)

Specifies an image containing the operating system.

FromImage(String, OperatingSystemTypes)

Specifies the ID of an image containing the operating system.

FromImage(IVirtualMachineCustomImage)

Specifies a custom image containing the operating system.

public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize FromImage (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage image);
abstract member FromImage : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage -> Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize
Public Function FromImage (image As IVirtualMachineCustomImage) As IWithCreateAndSize

Parameters

image
IVirtualMachineCustomImage

The image.

Returns

Applies to

FromImage(IVirtualMachineImage)

Specifies an image containing the operating system.

public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize FromImage (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage image);
abstract member FromImage : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage -> Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize
Public Function FromImage (image As IVirtualMachineImage) As IWithCreateAndSize

Parameters

image
IVirtualMachineImage

The image.

Returns

Applies to

FromImage(String, OperatingSystemTypes)

Specifies the ID of an image containing the operating system.

public Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize FromImage (string imageId, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes osType);
abstract member FromImage : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes -> Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithCreateAndSize
Public Function FromImage (imageId As String, osType As OperatingSystemTypes) As IWithCreateAndSize

Parameters

imageId
String

Image resource ID.

osType
OperatingSystemTypes

Operating system type.

Returns

Applies to