IWithOSSnapshotFromImage.FromImage Method

Definition

Overloads

FromImage(IVirtualMachineCustomImage)

Specifies a custom image containing an operating system.

FromImage(IVirtualMachineImage)

Specifies an image containing an operating system.

FromImage(String, OperatingSystemTypes)

Specifies an image containing an operating system.

FromImage(IVirtualMachineCustomImage)

Specifies a custom image containing an operating system.

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

Parameters

image
IVirtualMachineCustomImage

The image.

Returns

Applies to

FromImage(IVirtualMachineImage)

Specifies an image containing an operating system.

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

Parameters

image
IVirtualMachineImage

The image.

Returns

Applies to

FromImage(String, OperatingSystemTypes)

Specifies an image containing an operating system.

public Microsoft.Azure.Management.Compute.Fluent.Snapshot.Definition.IWithCreate 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.Snapshot.Definition.IWithCreate
Public Function FromImage (imageId As String, osType As OperatingSystemTypes) As IWithCreate

Parameters

imageId
String

Image resource ID.

osType
OperatingSystemTypes

Operating system type.

Returns

Applies to