All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.alicloud.yundun.kotlin.BastionHostInstanceArgs.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.alicloud.yundun.kotlin
import com.pulumi.alicloud.yundun.BastionHostInstanceArgs.builder
import com.pulumi.alicloud.yundun.kotlin.inputs.BastionHostInstanceAdAuthServerArgs
import com.pulumi.alicloud.yundun.kotlin.inputs.BastionHostInstanceAdAuthServerArgsBuilder
import com.pulumi.alicloud.yundun.kotlin.inputs.BastionHostInstanceLdapAuthServerArgs
import com.pulumi.alicloud.yundun.kotlin.inputs.BastionHostInstanceLdapAuthServerArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
*
* @property adAuthServers
* @property bandwidth
* @property description
* @property enablePublicAccess
* @property ldapAuthServers
* @property licenseCode
* @property period
* @property planCode
* @property publicWhiteLists
* @property renewPeriod
* @property renewalPeriodUnit
* @property renewalStatus
* @property resourceGroupId
* @property securityGroupIds
* @property storage
* @property tags
* @property vswitchId
*/
public data class BastionHostInstanceArgs(
public val adAuthServers: Output>? = null,
public val bandwidth: Output? = null,
public val description: Output? = null,
public val enablePublicAccess: Output? = null,
public val ldapAuthServers: Output>? = null,
public val licenseCode: Output? = null,
public val period: Output? = null,
public val planCode: Output? = null,
public val publicWhiteLists: Output>? = null,
public val renewPeriod: Output? = null,
public val renewalPeriodUnit: Output? = null,
public val renewalStatus: Output? = null,
public val resourceGroupId: Output? = null,
public val securityGroupIds: Output>? = null,
public val storage: Output? = null,
public val tags: Output>? = null,
public val vswitchId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.alicloud.yundun.BastionHostInstanceArgs =
com.pulumi.alicloud.yundun.BastionHostInstanceArgs.builder()
.adAuthServers(
adAuthServers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.bandwidth(bandwidth?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.enablePublicAccess(enablePublicAccess?.applyValue({ args0 -> args0 }))
.ldapAuthServers(
ldapAuthServers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.licenseCode(licenseCode?.applyValue({ args0 -> args0 }))
.period(period?.applyValue({ args0 -> args0 }))
.planCode(planCode?.applyValue({ args0 -> args0 }))
.publicWhiteLists(publicWhiteLists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.renewPeriod(renewPeriod?.applyValue({ args0 -> args0 }))
.renewalPeriodUnit(renewalPeriodUnit?.applyValue({ args0 -> args0 }))
.renewalStatus(renewalStatus?.applyValue({ args0 -> args0 }))
.resourceGroupId(resourceGroupId?.applyValue({ args0 -> args0 }))
.securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.storage(storage?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
.vswitchId(vswitchId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BastionHostInstanceArgs].
*/
@PulumiTagMarker
public class BastionHostInstanceArgsBuilder internal constructor() {
private var adAuthServers: Output>? = null
private var bandwidth: Output? = null
private var description: Output? = null
private var enablePublicAccess: Output? = null
private var ldapAuthServers: Output>? = null
private var licenseCode: Output? = null
private var period: Output? = null
private var planCode: Output? = null
private var publicWhiteLists: Output>? = null
private var renewPeriod: Output? = null
private var renewalPeriodUnit: Output? = null
private var renewalStatus: Output? = null
private var resourceGroupId: Output? = null
private var securityGroupIds: Output>? = null
private var storage: Output? = null
private var tags: Output>? = null
private var vswitchId: Output? = null
/**
* @param value
*/
@JvmName("efikceljmtiigdst")
public suspend fun adAuthServers(`value`: Output>) {
this.adAuthServers = value
}
@JvmName("ujltnlsbhbbpahua")
public suspend fun adAuthServers(vararg values: Output) {
this.adAuthServers = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("gifvvyrfmxlfqvsj")
public suspend fun adAuthServers(values: List>) {
this.adAuthServers = Output.all(values)
}
/**
* @param value
*/
@JvmName("ynlmrmfcdfiotffc")
public suspend fun bandwidth(`value`: Output) {
this.bandwidth = value
}
/**
* @param value
*/
@JvmName("tghecwjaqemexigx")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value
*/
@JvmName("hqaxcpdckukekota")
public suspend fun enablePublicAccess(`value`: Output) {
this.enablePublicAccess = value
}
/**
* @param value
*/
@JvmName("ojjvbpqvokxtomcw")
public suspend fun ldapAuthServers(`value`: Output>) {
this.ldapAuthServers = value
}
@JvmName("arpxeubhlxtoqrqe")
public suspend fun ldapAuthServers(vararg values: Output) {
this.ldapAuthServers = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("klrbcjqxpnrpfoit")
public suspend fun ldapAuthServers(values: List>) {
this.ldapAuthServers = Output.all(values)
}
/**
* @param value
*/
@JvmName("pamsvccxcjmqfhwr")
public suspend fun licenseCode(`value`: Output) {
this.licenseCode = value
}
/**
* @param value
*/
@JvmName("ynejsxgbaxvxctjy")
public suspend fun period(`value`: Output) {
this.period = value
}
/**
* @param value
*/
@JvmName("yjlqnbestvlequca")
public suspend fun planCode(`value`: Output) {
this.planCode = value
}
/**
* @param value
*/
@JvmName("devebdhnfnptbxkf")
public suspend fun publicWhiteLists(`value`: Output>) {
this.publicWhiteLists = value
}
@JvmName("pylocryjqrlypmfo")
public suspend fun publicWhiteLists(vararg values: Output) {
this.publicWhiteLists = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("rpuopmqgubcbljsi")
public suspend fun publicWhiteLists(values: List>) {
this.publicWhiteLists = Output.all(values)
}
/**
* @param value
*/
@JvmName("vsaiqxrjqboleyck")
public suspend fun renewPeriod(`value`: Output) {
this.renewPeriod = value
}
/**
* @param value
*/
@JvmName("gnfbfgkycvyeckkh")
public suspend fun renewalPeriodUnit(`value`: Output) {
this.renewalPeriodUnit = value
}
/**
* @param value
*/
@JvmName("sbmopynstovoppwm")
public suspend fun renewalStatus(`value`: Output) {
this.renewalStatus = value
}
/**
* @param value
*/
@JvmName("gajkbounhdjslbou")
public suspend fun resourceGroupId(`value`: Output) {
this.resourceGroupId = value
}
/**
* @param value
*/
@JvmName("ukexdqkxrgjmtsux")
public suspend fun securityGroupIds(`value`: Output>) {
this.securityGroupIds = value
}
@JvmName("ekhecfqpkokowifr")
public suspend fun securityGroupIds(vararg values: Output) {
this.securityGroupIds = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("muemktrmkxxwsamf")
public suspend fun securityGroupIds(values: List>) {
this.securityGroupIds = Output.all(values)
}
/**
* @param value
*/
@JvmName("nurslldboyrwebfp")
public suspend fun storage(`value`: Output) {
this.storage = value
}
/**
* @param value
*/
@JvmName("vnbvluikevvylvim")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
/**
* @param value
*/
@JvmName("hhwhxygrwrlagxeu")
public suspend fun vswitchId(`value`: Output) {
this.vswitchId = value
}
/**
* @param value
*/
@JvmName("hiqbcbitnshqhfyt")
public suspend fun adAuthServers(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.adAuthServers = mapped
}
/**
* @param argument
*/
@JvmName("dwhfolpxiycwdilk")
public suspend fun adAuthServers(argument: List Unit>) {
val toBeMapped = argument.toList().map {
BastionHostInstanceAdAuthServerArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.adAuthServers = mapped
}
/**
* @param argument
*/
@JvmName("qlbwetsocqigvgdq")
public suspend fun adAuthServers(vararg argument: suspend BastionHostInstanceAdAuthServerArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
BastionHostInstanceAdAuthServerArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.adAuthServers = mapped
}
/**
* @param argument
*/
@JvmName("ibmwrcfhuwbaqvdu")
public suspend fun adAuthServers(argument: suspend BastionHostInstanceAdAuthServerArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
BastionHostInstanceAdAuthServerArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.adAuthServers = mapped
}
/**
* @param values
*/
@JvmName("twxcykwdjrcpfxds")
public suspend fun adAuthServers(vararg values: BastionHostInstanceAdAuthServerArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.adAuthServers = mapped
}
/**
* @param value
*/
@JvmName("vcbdgvftuxtpvlwo")
public suspend fun bandwidth(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bandwidth = mapped
}
/**
* @param value
*/
@JvmName("erjrjvixnqmurada")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value
*/
@JvmName("vbxityscvirqsdlj")
public suspend fun enablePublicAccess(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enablePublicAccess = mapped
}
/**
* @param value
*/
@JvmName("qlcnaiawhdbshivm")
public suspend fun ldapAuthServers(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ldapAuthServers = mapped
}
/**
* @param argument
*/
@JvmName("qpyiwhlsygmjmcld")
public suspend fun ldapAuthServers(argument: List Unit>) {
val toBeMapped = argument.toList().map {
BastionHostInstanceLdapAuthServerArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.ldapAuthServers = mapped
}
/**
* @param argument
*/
@JvmName("ncmdbuhaudkxsoys")
public suspend fun ldapAuthServers(vararg argument: suspend BastionHostInstanceLdapAuthServerArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
BastionHostInstanceLdapAuthServerArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.ldapAuthServers = mapped
}
/**
* @param argument
*/
@JvmName("jeuycqdbdppyaqum")
public suspend fun ldapAuthServers(argument: suspend BastionHostInstanceLdapAuthServerArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
BastionHostInstanceLdapAuthServerArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.ldapAuthServers = mapped
}
/**
* @param values
*/
@JvmName("clxdpnsgevixoiic")
public suspend fun ldapAuthServers(vararg values: BastionHostInstanceLdapAuthServerArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ldapAuthServers = mapped
}
/**
* @param value
*/
@JvmName("jtkesyiucqkytqwv")
public suspend fun licenseCode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.licenseCode = mapped
}
/**
* @param value
*/
@JvmName("vnctfktetjtpgnhm")
public suspend fun period(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.period = mapped
}
/**
* @param value
*/
@JvmName("cststkhufyojvytm")
public suspend fun planCode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.planCode = mapped
}
/**
* @param value
*/
@JvmName("sgjkhoheaccvlkgv")
public suspend fun publicWhiteLists(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.publicWhiteLists = mapped
}
/**
* @param values
*/
@JvmName("aeiexstmmiacctjn")
public suspend fun publicWhiteLists(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publicWhiteLists = mapped
}
/**
* @param value
*/
@JvmName("aprlwawtxgcvokdt")
public suspend fun renewPeriod(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.renewPeriod = mapped
}
/**
* @param value
*/
@JvmName("gajcfdwxejplcfsg")
public suspend fun renewalPeriodUnit(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.renewalPeriodUnit = mapped
}
/**
* @param value
*/
@JvmName("finsohanbtqwyums")
public suspend fun renewalStatus(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.renewalStatus = mapped
}
/**
* @param value
*/
@JvmName("rtiodwsincewtbtj")
public suspend fun resourceGroupId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupId = mapped
}
/**
* @param value
*/
@JvmName("akygvtlvhmrglsgo")
public suspend fun securityGroupIds(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.securityGroupIds = mapped
}
/**
* @param values
*/
@JvmName("rjofxugwawytrxeh")
public suspend fun securityGroupIds(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.securityGroupIds = mapped
}
/**
* @param value
*/
@JvmName("aufbqcrjcvrjpfqw")
public suspend fun storage(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storage = mapped
}
/**
* @param value
*/
@JvmName("cyiudqehkwbpgcpc")
public suspend fun tags(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tags = mapped
}
/**
* @param values
*/
@JvmName("cfetpnmcmniqoskw")
public fun tags(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tags = mapped
}
/**
* @param value
*/
@JvmName("svagaqjlkeelvayy")
public suspend fun vswitchId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vswitchId = mapped
}
internal fun build(): BastionHostInstanceArgs = BastionHostInstanceArgs(
adAuthServers = adAuthServers,
bandwidth = bandwidth,
description = description,
enablePublicAccess = enablePublicAccess,
ldapAuthServers = ldapAuthServers,
licenseCode = licenseCode,
period = period,
planCode = planCode,
publicWhiteLists = publicWhiteLists,
renewPeriod = renewPeriod,
renewalPeriodUnit = renewalPeriodUnit,
renewalStatus = renewalStatus,
resourceGroupId = resourceGroupId,
securityGroupIds = securityGroupIds,
storage = storage,
tags = tags,
vswitchId = vswitchId,
)
}