![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.inputs.GalleryApplicationVersionTargetRegionArgs.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.compute.kotlin.inputs
import com.pulumi.azure.compute.inputs.GalleryApplicationVersionTargetRegionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property excludeFromLatest Specifies whether this Gallery Application Version should be excluded from the `latest` filter. If set to `true`, this Gallery Application Version won't be returned for the `latest` version. Defaults to `false`.
* @property name The Azure Region in which the Gallery Application Version exists.
* @property regionalReplicaCount The number of replicas of the Gallery Application Version to be created per region. Possible values are between `1` and `10`.
* @property storageAccountType The storage account type for the Gallery Application Version. Possible values are `Standard_LRS`, `Premium_LRS` and `Standard_ZRS`. Defaults to `Standard_LRS`.
*/
public data class GalleryApplicationVersionTargetRegionArgs(
public val excludeFromLatest: Output? = null,
public val name: Output,
public val regionalReplicaCount: Output,
public val storageAccountType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.GalleryApplicationVersionTargetRegionArgs =
com.pulumi.azure.compute.inputs.GalleryApplicationVersionTargetRegionArgs.builder()
.excludeFromLatest(excludeFromLatest?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.regionalReplicaCount(regionalReplicaCount.applyValue({ args0 -> args0 }))
.storageAccountType(storageAccountType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GalleryApplicationVersionTargetRegionArgs].
*/
@PulumiTagMarker
public class GalleryApplicationVersionTargetRegionArgsBuilder internal constructor() {
private var excludeFromLatest: Output? = null
private var name: Output? = null
private var regionalReplicaCount: Output? = null
private var storageAccountType: Output? = null
/**
* @param value Specifies whether this Gallery Application Version should be excluded from the `latest` filter. If set to `true`, this Gallery Application Version won't be returned for the `latest` version. Defaults to `false`.
*/
@JvmName("egtgssiqcmjeqdpw")
public suspend fun excludeFromLatest(`value`: Output) {
this.excludeFromLatest = value
}
/**
* @param value The Azure Region in which the Gallery Application Version exists.
*/
@JvmName("hvtoicsxtkktosle")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The number of replicas of the Gallery Application Version to be created per region. Possible values are between `1` and `10`.
*/
@JvmName("ttjykrwvspacaanu")
public suspend fun regionalReplicaCount(`value`: Output) {
this.regionalReplicaCount = value
}
/**
* @param value The storage account type for the Gallery Application Version. Possible values are `Standard_LRS`, `Premium_LRS` and `Standard_ZRS`. Defaults to `Standard_LRS`.
*/
@JvmName("ihcijmtstciutopj")
public suspend fun storageAccountType(`value`: Output) {
this.storageAccountType = value
}
/**
* @param value Specifies whether this Gallery Application Version should be excluded from the `latest` filter. If set to `true`, this Gallery Application Version won't be returned for the `latest` version. Defaults to `false`.
*/
@JvmName("fgvlhfpoimpwpqle")
public suspend fun excludeFromLatest(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.excludeFromLatest = mapped
}
/**
* @param value The Azure Region in which the Gallery Application Version exists.
*/
@JvmName("diuxijbjwvodgkii")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The number of replicas of the Gallery Application Version to be created per region. Possible values are between `1` and `10`.
*/
@JvmName("dwxkwpeixtnmoicf")
public suspend fun regionalReplicaCount(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.regionalReplicaCount = mapped
}
/**
* @param value The storage account type for the Gallery Application Version. Possible values are `Standard_LRS`, `Premium_LRS` and `Standard_ZRS`. Defaults to `Standard_LRS`.
*/
@JvmName("elwotjtucjfnesdk")
public suspend fun storageAccountType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageAccountType = mapped
}
internal fun build(): GalleryApplicationVersionTargetRegionArgs =
GalleryApplicationVersionTargetRegionArgs(
excludeFromLatest = excludeFromLatest,
name = name ?: throw PulumiNullFieldException("name"),
regionalReplicaCount = regionalReplicaCount ?: throw
PulumiNullFieldException("regionalReplicaCount"),
storageAccountType = storageAccountType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy