com.pulumi.cloudflare.kotlin.ZeroTrustRiskBehaviorArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin
import com.pulumi.cloudflare.ZeroTrustRiskBehaviorArgs.builder
import com.pulumi.cloudflare.kotlin.inputs.ZeroTrustRiskBehaviorBehaviorArgs
import com.pulumi.cloudflare.kotlin.inputs.ZeroTrustRiskBehaviorBehaviorArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The [Risk Behavior](https://developers.cloudflare.com/cloudflare-one/insights/risk-score/) resource allows you to configure Cloudflare Risk Behaviors for an account.
* @property accountId The account identifier to target for the resource.
* @property behaviors Zero Trust risk behaviors configured on this account
*/
public data class ZeroTrustRiskBehaviorArgs(
public val accountId: Output? = null,
public val behaviors: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.ZeroTrustRiskBehaviorArgs =
com.pulumi.cloudflare.ZeroTrustRiskBehaviorArgs.builder()
.accountId(accountId?.applyValue({ args0 -> args0 }))
.behaviors(
behaviors?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ZeroTrustRiskBehaviorArgs].
*/
@PulumiTagMarker
public class ZeroTrustRiskBehaviorArgsBuilder internal constructor() {
private var accountId: Output? = null
private var behaviors: Output>? = null
/**
* @param value The account identifier to target for the resource.
*/
@JvmName("msajpmqeivqgeyrk")
public suspend fun accountId(`value`: Output) {
this.accountId = value
}
/**
* @param value Zero Trust risk behaviors configured on this account
*/
@JvmName("cgmxndgxkmlghcqt")
public suspend fun behaviors(`value`: Output>) {
this.behaviors = value
}
@JvmName("vgifscaxlerkpoms")
public suspend fun behaviors(vararg values: Output) {
this.behaviors = Output.all(values.asList())
}
/**
* @param values Zero Trust risk behaviors configured on this account
*/
@JvmName("suwmgfeijtosgukg")
public suspend fun behaviors(values: List