All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.compute.kotlin.outputs.VirtualMachineStorageImageReference.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property id Specifies the ID of the Custom Image which the Virtual Machine should be created from. Changing this forces a new resource to be created.
 * @property offer Specifies the offer of the image used to create the virtual machine. Changing this forces a new resource to be created.
 * @property publisher Specifies the publisher of the image used to create the virtual machine. Changing this forces a new resource to be created.
 * @property sku Specifies the SKU of the image used to create the virtual machine. Changing this forces a new resource to be created.
 * @property version Specifies the version of the image used to create the virtual machine. Changing this forces a new resource to be created.
 * To provision a Custom Image, the following fields are applicable:
 */
public data class VirtualMachineStorageImageReference(
    public val id: String? = null,
    public val offer: String? = null,
    public val publisher: String? = null,
    public val sku: String? = null,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.VirtualMachineStorageImageReference): VirtualMachineStorageImageReference = VirtualMachineStorageImageReference(
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            offer = javaType.offer().map({ args0 -> args0 }).orElse(null),
            publisher = javaType.publisher().map({ args0 -> args0 }).orElse(null),
            sku = javaType.sku().map({ args0 -> args0 }).orElse(null),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy