getImage

suspend fun getImage(argument: GetImagePlainArgs): GetImageResult

Gets an image. Uses Azure REST API version 2023-03-01. Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01, 2024-11-01.

Return

The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.

Parameters

argument

null


suspend fun getImage(expand: String? = null, imageName: String, resourceGroupName: String): GetImageResult

Return

The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.

Parameters

expand

The expand expression to apply on the operation.

imageName

The name of the image.

resourceGroupName

The name of the resource group.

See also


suspend fun getImage(argument: suspend GetImagePlainArgsBuilder.() -> Unit): GetImageResult

Return

The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.

Parameters

argument

Builder for com.pulumi.azurenative.compute.kotlin.inputs.GetImagePlainArgs.

See also