com.pulumi.azure.redhatopenshift.kotlin.inputs.ClusterIngressProfileArgs.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.redhatopenshift.kotlin.inputs
import com.pulumi.azure.redhatopenshift.inputs.ClusterIngressProfileArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property ipAddress The IP Address the Ingress Profile is associated with.
* @property name The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.
* @property visibility Cluster Ingress visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
*/
public data class ClusterIngressProfileArgs(
public val ipAddress: Output? = null,
public val name: Output? = null,
public val visibility: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.redhatopenshift.inputs.ClusterIngressProfileArgs =
com.pulumi.azure.redhatopenshift.inputs.ClusterIngressProfileArgs.builder()
.ipAddress(ipAddress?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.visibility(visibility.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterIngressProfileArgs].
*/
@PulumiTagMarker
public class ClusterIngressProfileArgsBuilder internal constructor() {
private var ipAddress: Output? = null
private var name: Output? = null
private var visibility: Output? = null
/**
* @param value The IP Address the Ingress Profile is associated with.
*/
@JvmName("pnjnrwmuhpbomwyr")
public suspend fun ipAddress(`value`: Output) {
this.ipAddress = value
}
/**
* @param value The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.
*/
@JvmName("fwofjghbiaemmesf")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Cluster Ingress visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
*/
@JvmName("ohlukcsbfrupixva")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The IP Address the Ingress Profile is associated with.
*/
@JvmName("ulrjrlxxmufixemm")
public suspend fun ipAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipAddress = mapped
}
/**
* @param value The name of the Azure Red Hat OpenShift Cluster to create. Changing this forces a new resource to be created.
*/
@JvmName("mqesnahsoojdrobt")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Cluster Ingress visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
*/
@JvmName("lnjaavffbqujcofm")
public suspend fun visibility(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.visibility = mapped
}
internal fun build(): ClusterIngressProfileArgs = ClusterIngressProfileArgs(
ipAddress = ipAddress,
name = name,
visibility = visibility ?: throw PulumiNullFieldException("visibility"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy