getImage

suspend fun getImage(argument: GetImagePlainArgs): GetImageResult

Gets an image. Azure REST API version: 2023-03-01. Other available API versions: 2023-07-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.

See also

Parameters

expand

The expand expression to apply on the operation.

imageName

The name of the image.

resourceGroupName

The name of the resource group.


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.

See also

Parameters

argument

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