Share via


IWithSource.WithSourceCustomImage Method

Definition

Overloads

WithSourceCustomImage(IVirtualMachineCustomImage)

Specifies that the provided custom image needs to be used as source of the image version.

WithSourceCustomImage(String)

Specifies that the provided custom image needs to be used as source of the image version.

WithSourceCustomImage(IVirtualMachineCustomImage)

Specifies that the provided custom image needs to be used as source of the image version.

public Microsoft.Azure.Management.Compute.Fluent.GalleryImageVersion.Definition.IWithCreate WithSourceCustomImage (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage customImage);
abstract member WithSourceCustomImage : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineCustomImage -> Microsoft.Azure.Management.Compute.Fluent.GalleryImageVersion.Definition.IWithCreate
Public Function WithSourceCustomImage (customImage As IVirtualMachineCustomImage) As IWithCreate

Parameters

customImage
IVirtualMachineCustomImage

The custom image.

Returns

Applies to

WithSourceCustomImage(String)

Specifies that the provided custom image needs to be used as source of the image version.

public Microsoft.Azure.Management.Compute.Fluent.GalleryImageVersion.Definition.IWithCreate WithSourceCustomImage (string customImageId);
abstract member WithSourceCustomImage : string -> Microsoft.Azure.Management.Compute.Fluent.GalleryImageVersion.Definition.IWithCreate
Public Function WithSourceCustomImage (customImageId As String) As IWithCreate

Parameters

customImageId
String

The ARM id of the custom image.

Returns

Applies to