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

com.pulumi.azure.compute.kotlin.outputs.SharedImageVersionTargetRegion.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property diskEncryptionSetId The ID of the Disk Encryption Set to encrypt the Image Version in the target region. Changing this forces a new resource to be created.
 * @property excludeFromLatestEnabled Specifies whether this Shared Image Version should be excluded when querying for the `latest` version. Defaults to `false`.
 * @property name The Azure Region in which this Image Version should exist.
 * @property regionalReplicaCount The number of replicas of the Image Version to be created per region.
 * @property storageAccountType The storage account type for the image version. Possible values are `Standard_LRS`, `Premium_LRS` and `Standard_ZRS`. Defaults to `Standard_LRS`. You can store all of your image version replicas in Zone Redundant Storage by specifying `Standard_ZRS`.
 */
public data class SharedImageVersionTargetRegion(
    public val diskEncryptionSetId: String? = null,
    public val excludeFromLatestEnabled: Boolean? = null,
    public val name: String,
    public val regionalReplicaCount: Int,
    public val storageAccountType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.SharedImageVersionTargetRegion):
            SharedImageVersionTargetRegion = SharedImageVersionTargetRegion(
            diskEncryptionSetId = javaType.diskEncryptionSetId().map({ args0 -> args0 }).orElse(null),
            excludeFromLatestEnabled = javaType.excludeFromLatestEnabled().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            regionalReplicaCount = javaType.regionalReplicaCount(),
            storageAccountType = javaType.storageAccountType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy