com.pulumi.azure.batch.kotlin.outputs.PoolStorageImageReference.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.batch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property id Specifies the ID of the Custom Image which the virtual machines should be created from. Changing this forces a new resource to be created. See [official documentation](https://docs.microsoft.com/azure/batch/batch-custom-images) for more details.
* @property offer Specifies the offer of the image used to create the virtual machines. Changing this forces a new resource to be created.
* @property publisher Specifies the publisher of the image used to create the virtual machines. Changing this forces a new resource to be created.
* @property sku Specifies the SKU of the image used to create the virtual machines. Changing this forces a new resource to be created.
* @property version Specifies the version of the image used to create the virtual machines. Changing this forces a new resource to be created.
* To provision a Custom Image, the following fields are applicable:
*/
public data class PoolStorageImageReference(
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.batch.outputs.PoolStorageImageReference):
PoolStorageImageReference = PoolStorageImageReference(
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