
com.pulumi.azurenative.workloads.kotlin.inputs.PrometheusOSProviderInstancePropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.workloads.kotlin.inputs
import com.pulumi.azurenative.workloads.inputs.PrometheusOSProviderInstancePropertiesArgs.builder
import com.pulumi.azurenative.workloads.kotlin.enums.SslPreference
import com.pulumi.core.Either
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
/**
* Gets or sets the PrometheusOS provider properties.
* @property prometheusUrl URL of the Node Exporter endpoint
* @property providerType The provider type. For example, the value can be SapHana.
* Expected value is 'PrometheusOS'.
* @property sapSid Gets or sets the SAP System Identifier
* @property sslCertificateUri Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
* @property sslPreference Gets or sets certificate preference if secure communication is enabled.
*/
public data class PrometheusOSProviderInstancePropertiesArgs(
public val prometheusUrl: Output? = null,
public val providerType: Output,
public val sapSid: Output? = null,
public val sslCertificateUri: Output? = null,
public val sslPreference: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.workloads.inputs.PrometheusOSProviderInstancePropertiesArgs =
com.pulumi.azurenative.workloads.inputs.PrometheusOSProviderInstancePropertiesArgs.builder()
.prometheusUrl(prometheusUrl?.applyValue({ args0 -> args0 }))
.providerType(providerType.applyValue({ args0 -> args0 }))
.sapSid(sapSid?.applyValue({ args0 -> args0 }))
.sslCertificateUri(sslCertificateUri?.applyValue({ args0 -> args0 }))
.sslPreference(
sslPreference?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [PrometheusOSProviderInstancePropertiesArgs].
*/
@PulumiTagMarker
public class PrometheusOSProviderInstancePropertiesArgsBuilder internal constructor() {
private var prometheusUrl: Output? = null
private var providerType: Output? = null
private var sapSid: Output? = null
private var sslCertificateUri: Output? = null
private var sslPreference: Output>? = null
/**
* @param value URL of the Node Exporter endpoint
*/
@JvmName("nyuberhlqsplylqd")
public suspend fun prometheusUrl(`value`: Output) {
this.prometheusUrl = value
}
/**
* @param value The provider type. For example, the value can be SapHana.
* Expected value is 'PrometheusOS'.
*/
@JvmName("hvbemdagyiignwcr")
public suspend fun providerType(`value`: Output) {
this.providerType = value
}
/**
* @param value Gets or sets the SAP System Identifier
*/
@JvmName("eithrnqwynglbbum")
public suspend fun sapSid(`value`: Output) {
this.sapSid = value
}
/**
* @param value Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
*/
@JvmName("idqmniuwxedpyivx")
public suspend fun sslCertificateUri(`value`: Output) {
this.sslCertificateUri = value
}
/**
* @param value Gets or sets certificate preference if secure communication is enabled.
*/
@JvmName("xpbmxpiktyqwouga")
public suspend fun sslPreference(`value`: Output>) {
this.sslPreference = value
}
/**
* @param value URL of the Node Exporter endpoint
*/
@JvmName("nhcnunstcelyienn")
public suspend fun prometheusUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.prometheusUrl = mapped
}
/**
* @param value The provider type. For example, the value can be SapHana.
* Expected value is 'PrometheusOS'.
*/
@JvmName("swcypxckxekijyyd")
public suspend fun providerType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.providerType = mapped
}
/**
* @param value Gets or sets the SAP System Identifier
*/
@JvmName("atugfthwnkolmxug")
public suspend fun sapSid(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sapSid = mapped
}
/**
* @param value Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
*/
@JvmName("yoqsoylymhkylugg")
public suspend fun sslCertificateUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sslCertificateUri = mapped
}
/**
* @param value Gets or sets certificate preference if secure communication is enabled.
*/
@JvmName("jvfpyvioyippdixq")
public suspend fun sslPreference(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sslPreference = mapped
}
/**
* @param value Gets or sets certificate preference if secure communication is enabled.
*/
@JvmName("tvhtfxurhiamvdrl")
public fun sslPreference(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sslPreference = mapped
}
/**
* @param value Gets or sets certificate preference if secure communication is enabled.
*/
@JvmName("wtrecfsfstfjeini")
public fun sslPreference(`value`: SslPreference) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sslPreference = mapped
}
internal fun build(): PrometheusOSProviderInstancePropertiesArgs =
PrometheusOSProviderInstancePropertiesArgs(
prometheusUrl = prometheusUrl,
providerType = providerType ?: throw PulumiNullFieldException("providerType"),
sapSid = sapSid,
sslCertificateUri = sslCertificateUri,
sslPreference = sslPreference,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy