com.pulumi.alicloud.dcdn.kotlin.inputs.ErEnvConfPresetCanaryYunnanArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-alicloud-kotlin Show documentation
Show all versions of pulumi-alicloud-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.alicloud.dcdn.kotlin.inputs
import com.pulumi.alicloud.dcdn.inputs.ErEnvConfPresetCanaryYunnanArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedHosts Allowed DCDN domain names.
* @property codeRev The version number of the code.
* @property specName The specification of the CPU time slice. Valid values: `5ms`, `50ms`, `100ms`.
*/
public data class ErEnvConfPresetCanaryYunnanArgs(
public val allowedHosts: Output>? = null,
public val codeRev: Output? = null,
public val specName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.alicloud.dcdn.inputs.ErEnvConfPresetCanaryYunnanArgs =
com.pulumi.alicloud.dcdn.inputs.ErEnvConfPresetCanaryYunnanArgs.builder()
.allowedHosts(allowedHosts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.codeRev(codeRev?.applyValue({ args0 -> args0 }))
.specName(specName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ErEnvConfPresetCanaryYunnanArgs].
*/
@PulumiTagMarker
public class ErEnvConfPresetCanaryYunnanArgsBuilder internal constructor() {
private var allowedHosts: Output>? = null
private var codeRev: Output? = null
private var specName: Output? = null
/**
* @param value Allowed DCDN domain names.
*/
@JvmName("pkgixghrbbwnmopq")
public suspend fun allowedHosts(`value`: Output>) {
this.allowedHosts = value
}
@JvmName("uipqcqghoovrhpfd")
public suspend fun allowedHosts(vararg values: Output) {
this.allowedHosts = Output.all(values.asList())
}
/**
* @param values Allowed DCDN domain names.
*/
@JvmName("ohwqnyhgtdtwbbhp")
public suspend fun allowedHosts(values: List