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.cloudflare.kotlin.inputs.ZeroTrustAccessGroupExcludeArgs.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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustAccessGroupExcludeArgs.builder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property anyValidServiceToken Matches any valid Access service token.
* @property authContexts
* @property authMethod The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types.
* @property azures Matches an Azure group. Requires an Azure identity provider.
* @property certificate Matches any valid client certificate.
* @property commonName Matches a valid client certificate common name.
* @property commonNames Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field.
* @property devicePostures The ID of a device posture integration.
* @property emailDomains The email domain to match.
* @property emailLists The ID of a previously created email list.
* @property emails The email of the user.
* @property everyone Matches everyone.
* @property externalEvaluations Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.
* @property geos Matches a specific country.
* @property githubs Matches a Github organization. Requires a Github identity provider.
* @property groups The ID of a previously created Access group.
* @property gsuites Matches a group in Google Workspace. Requires a Google Workspace identity provider.
* @property ipLists The ID of a previously created IP list.
* @property ips An IPv4 or IPv6 CIDR block.
* @property loginMethods The ID of a configured identity provider.
* @property oktas Matches an Okta group. Requires an Okta identity provider.
* @property samls Matches a SAML group. Requires a SAML identity provider.
* @property serviceTokens The ID of an Access service token.
*/
public data class ZeroTrustAccessGroupExcludeArgs(
public val anyValidServiceToken: Output? = null,
public val authContexts: Output>? = null,
public val authMethod: Output? = null,
public val azures: Output>? = null,
public val certificate: Output? = null,
public val commonName: Output? = null,
public val commonNames: Output>? = null,
public val devicePostures: Output>? = null,
public val emailDomains: Output>? = null,
public val emailLists: Output>? = null,
public val emails: Output>? = null,
public val everyone: Output? = null,
public val externalEvaluations: Output>? =
null,
public val geos: Output>? = null,
public val githubs: Output>? = null,
public val groups: Output>? = null,
public val gsuites: Output>? = null,
public val ipLists: Output>? = null,
public val ips: Output>? = null,
public val loginMethods: Output>? = null,
public val oktas: Output>? = null,
public val samls: Output>? = null,
public val serviceTokens: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessGroupExcludeArgs =
com.pulumi.cloudflare.inputs.ZeroTrustAccessGroupExcludeArgs.builder()
.anyValidServiceToken(anyValidServiceToken?.applyValue({ args0 -> args0 }))
.authContexts(
authContexts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.authMethod(authMethod?.applyValue({ args0 -> args0 }))
.azures(azures?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.certificate(certificate?.applyValue({ args0 -> args0 }))
.commonName(commonName?.applyValue({ args0 -> args0 }))
.commonNames(commonNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.devicePostures(devicePostures?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.emailDomains(emailDomains?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.emailLists(emailLists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.emails(emails?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.everyone(everyone?.applyValue({ args0 -> args0 }))
.externalEvaluations(
externalEvaluations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.geos(geos?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.githubs(
githubs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.groups(groups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.gsuites(
gsuites?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.ipLists(ipLists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.ips(ips?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.loginMethods(loginMethods?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.oktas(oktas?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.samls(samls?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.serviceTokens(serviceTokens?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ZeroTrustAccessGroupExcludeArgs].
*/
@PulumiTagMarker
public class ZeroTrustAccessGroupExcludeArgsBuilder internal constructor() {
private var anyValidServiceToken: Output? = null
private var authContexts: Output>? = null
private var authMethod: Output? = null
private var azures: Output>? = null
private var certificate: Output? = null
private var commonName: Output? = null
private var commonNames: Output>? = null
private var devicePostures: Output>? = null
private var emailDomains: Output>? = null
private var emailLists: Output>? = null
private var emails: Output>? = null
private var everyone: Output? = null
private var externalEvaluations: Output>? =
null
private var geos: Output>? = null
private var githubs: Output>? = null
private var groups: Output>? = null
private var gsuites: Output>? = null
private var ipLists: Output>? = null
private var ips: Output>? = null
private var loginMethods: Output>? = null
private var oktas: Output>? = null
private var samls: Output>? = null
private var serviceTokens: Output>? = null
/**
* @param value Matches any valid Access service token.
*/
@JvmName("ybtgnitqpvwoidqm")
public suspend fun anyValidServiceToken(`value`: Output) {
this.anyValidServiceToken = value
}
/**
* @param value
*/
@JvmName("pvxxgtcdlwoxiumh")
public suspend fun authContexts(`value`: Output>) {
this.authContexts = value
}
@JvmName("krjacayyfodysyqd")
public suspend fun authContexts(vararg values: Output) {
this.authContexts = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("xmbijpfwbhujvtnv")
public suspend fun authContexts(values: List>) {
this.authContexts = Output.all(values)
}
/**
* @param value The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types.
*/
@JvmName("mnypviqtsmullpbs")
public suspend fun authMethod(`value`: Output) {
this.authMethod = value
}
/**
* @param value Matches an Azure group. Requires an Azure identity provider.
*/
@JvmName("kbqoagbyxhvcykwk")
public suspend fun azures(`value`: Output>) {
this.azures = value
}
@JvmName("pvbufghgryimdgps")
public suspend fun azures(vararg values: Output) {
this.azures = Output.all(values.asList())
}
/**
* @param values Matches an Azure group. Requires an Azure identity provider.
*/
@JvmName("opaowagcahwvlvht")
public suspend fun azures(values: List>) {
this.azures = Output.all(values)
}
/**
* @param value Matches any valid client certificate.
*/
@JvmName("osandbmfjwrtdlge")
public suspend fun certificate(`value`: Output) {
this.certificate = value
}
/**
* @param value Matches a valid client certificate common name.
*/
@JvmName("aabhfpjbujmxvbfw")
public suspend fun commonName(`value`: Output) {
this.commonName = value
}
/**
* @param value Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field.
*/
@JvmName("lbldklhjhrhlmivh")
public suspend fun commonNames(`value`: Output>) {
this.commonNames = value
}
@JvmName("crdjsexmgxbwpjjj")
public suspend fun commonNames(vararg values: Output) {
this.commonNames = Output.all(values.asList())
}
/**
* @param values Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field.
*/
@JvmName("uthjjgwspgyosupw")
public suspend fun commonNames(values: List>) {
this.commonNames = Output.all(values)
}
/**
* @param value The ID of a device posture integration.
*/
@JvmName("gtdijxutgoknvixt")
public suspend fun devicePostures(`value`: Output>) {
this.devicePostures = value
}
@JvmName("vsgdsncdcmgcifri")
public suspend fun devicePostures(vararg values: Output) {
this.devicePostures = Output.all(values.asList())
}
/**
* @param values The ID of a device posture integration.
*/
@JvmName("ewtwhdrkfgsjimdi")
public suspend fun devicePostures(values: List>) {
this.devicePostures = Output.all(values)
}
/**
* @param value The email domain to match.
*/
@JvmName("yoiuyjryosrgksdo")
public suspend fun emailDomains(`value`: Output>) {
this.emailDomains = value
}
@JvmName("gqwxnbndgynkmjcq")
public suspend fun emailDomains(vararg values: Output) {
this.emailDomains = Output.all(values.asList())
}
/**
* @param values The email domain to match.
*/
@JvmName("imvjgigykgmrbquq")
public suspend fun emailDomains(values: List>) {
this.emailDomains = Output.all(values)
}
/**
* @param value The ID of a previously created email list.
*/
@JvmName("axmwqecdeykihcop")
public suspend fun emailLists(`value`: Output>) {
this.emailLists = value
}
@JvmName("ggrbojlrbdjwvbdr")
public suspend fun emailLists(vararg values: Output) {
this.emailLists = Output.all(values.asList())
}
/**
* @param values The ID of a previously created email list.
*/
@JvmName("ecshhowoexuqvbxj")
public suspend fun emailLists(values: List>) {
this.emailLists = Output.all(values)
}
/**
* @param value The email of the user.
*/
@JvmName("tswfwpcaorpchydt")
public suspend fun emails(`value`: Output>) {
this.emails = value
}
@JvmName("nfsodlsrurlfahxc")
public suspend fun emails(vararg values: Output) {
this.emails = Output.all(values.asList())
}
/**
* @param values The email of the user.
*/
@JvmName("chyrnaivfqnvhnxf")
public suspend fun emails(values: List>) {
this.emails = Output.all(values)
}
/**
* @param value Matches everyone.
*/
@JvmName("sjhlcwgoifhprpfo")
public suspend fun everyone(`value`: Output) {
this.everyone = value
}
/**
* @param value Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.
*/
@JvmName("blqinnlxlrrmyutu")
public suspend fun externalEvaluations(`value`: Output>) {
this.externalEvaluations = value
}
@JvmName("xuxlmjneobotrcrg")
public suspend fun externalEvaluations(vararg values: Output) {
this.externalEvaluations = Output.all(values.asList())
}
/**
* @param values Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.
*/
@JvmName("ufpoaikevprfckqc")
public suspend fun externalEvaluations(values: List>) {
this.externalEvaluations = Output.all(values)
}
/**
* @param value Matches a specific country.
*/
@JvmName("rvdeommjmjjofjhs")
public suspend fun geos(`value`: Output>) {
this.geos = value
}
@JvmName("fnkgaxfwjbxvemwp")
public suspend fun geos(vararg values: Output) {
this.geos = Output.all(values.asList())
}
/**
* @param values Matches a specific country.
*/
@JvmName("uingxihnitbwkgcp")
public suspend fun geos(values: List>) {
this.geos = Output.all(values)
}
/**
* @param value Matches a Github organization. Requires a Github identity provider.
*/
@JvmName("ivumhswelxwlwuja")
public suspend fun githubs(`value`: Output>) {
this.githubs = value
}
@JvmName("bovfefpajvdhibie")
public suspend fun githubs(vararg values: Output) {
this.githubs = Output.all(values.asList())
}
/**
* @param values Matches a Github organization. Requires a Github identity provider.
*/
@JvmName("sjkepqbhlyvvasva")
public suspend fun githubs(values: List>) {
this.githubs = Output.all(values)
}
/**
* @param value The ID of a previously created Access group.
*/
@JvmName("gtjikpqcjesuobpx")
public suspend fun groups(`value`: Output>) {
this.groups = value
}
@JvmName("nlrhrebpkvkrbxyu")
public suspend fun groups(vararg values: Output) {
this.groups = Output.all(values.asList())
}
/**
* @param values The ID of a previously created Access group.
*/
@JvmName("hqryhpyhmmhxqsgb")
public suspend fun groups(values: List>) {
this.groups = Output.all(values)
}
/**
* @param value Matches a group in Google Workspace. Requires a Google Workspace identity provider.
*/
@JvmName("yankhvncdgohrsgo")
public suspend fun gsuites(`value`: Output>) {
this.gsuites = value
}
@JvmName("kavpmbulbxulhorx")
public suspend fun gsuites(vararg values: Output) {
this.gsuites = Output.all(values.asList())
}
/**
* @param values Matches a group in Google Workspace. Requires a Google Workspace identity provider.
*/
@JvmName("bkrialtrsopqjypd")
public suspend fun gsuites(values: List>) {
this.gsuites = Output.all(values)
}
/**
* @param value The ID of a previously created IP list.
*/
@JvmName("qphlaytuomhpiyao")
public suspend fun ipLists(`value`: Output>) {
this.ipLists = value
}
@JvmName("nkekwavkyxchbdbx")
public suspend fun ipLists(vararg values: Output) {
this.ipLists = Output.all(values.asList())
}
/**
* @param values The ID of a previously created IP list.
*/
@JvmName("vwbikjotqhcsclbk")
public suspend fun ipLists(values: List>) {
this.ipLists = Output.all(values)
}
/**
* @param value An IPv4 or IPv6 CIDR block.
*/
@JvmName("uwoflrtdrjdkdxxf")
public suspend fun ips(`value`: Output>) {
this.ips = value
}
@JvmName("jxahrndluhpwwmyu")
public suspend fun ips(vararg values: Output) {
this.ips = Output.all(values.asList())
}
/**
* @param values An IPv4 or IPv6 CIDR block.
*/
@JvmName("cqhfyxxhdqssoito")
public suspend fun ips(values: List>) {
this.ips = Output.all(values)
}
/**
* @param value The ID of a configured identity provider.
*/
@JvmName("rafatxxngmpotnjr")
public suspend fun loginMethods(`value`: Output>) {
this.loginMethods = value
}
@JvmName("vbepgbrtausblrrp")
public suspend fun loginMethods(vararg values: Output) {
this.loginMethods = Output.all(values.asList())
}
/**
* @param values The ID of a configured identity provider.
*/
@JvmName("ssoyillnhwsmukcx")
public suspend fun loginMethods(values: List>) {
this.loginMethods = Output.all(values)
}
/**
* @param value Matches an Okta group. Requires an Okta identity provider.
*/
@JvmName("ataskrlwjirptimm")
public suspend fun oktas(`value`: Output>) {
this.oktas = value
}
@JvmName("qcrlkdjiohevgkvk")
public suspend fun oktas(vararg values: Output) {
this.oktas = Output.all(values.asList())
}
/**
* @param values Matches an Okta group. Requires an Okta identity provider.
*/
@JvmName("ebrtqcxtibnbxjcg")
public suspend fun oktas(values: List>) {
this.oktas = Output.all(values)
}
/**
* @param value Matches a SAML group. Requires a SAML identity provider.
*/
@JvmName("uvsenumjpxcnlafx")
public suspend fun samls(`value`: Output>) {
this.samls = value
}
@JvmName("xbmysvxhvvbsudhy")
public suspend fun samls(vararg values: Output) {
this.samls = Output.all(values.asList())
}
/**
* @param values Matches a SAML group. Requires a SAML identity provider.
*/
@JvmName("snghqyjbgshhomof")
public suspend fun samls(values: List>) {
this.samls = Output.all(values)
}
/**
* @param value The ID of an Access service token.
*/
@JvmName("arxlmebqhodmvwtj")
public suspend fun serviceTokens(`value`: Output>) {
this.serviceTokens = value
}
@JvmName("waovuesxvqhtjifs")
public suspend fun serviceTokens(vararg values: Output) {
this.serviceTokens = Output.all(values.asList())
}
/**
* @param values The ID of an Access service token.
*/
@JvmName("qbhcejastayeuwyr")
public suspend fun serviceTokens(values: List>) {
this.serviceTokens = Output.all(values)
}
/**
* @param value Matches any valid Access service token.
*/
@JvmName("fleflldehonsqocn")
public suspend fun anyValidServiceToken(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.anyValidServiceToken = mapped
}
/**
* @param value
*/
@JvmName("moqelfmmoldxnuhg")
public suspend fun authContexts(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authContexts = mapped
}
/**
* @param argument
*/
@JvmName("sicjneinjblhropt")
public suspend fun authContexts(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeAuthContextArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.authContexts = mapped
}
/**
* @param argument
*/
@JvmName("avqaakqhrkidlbml")
public suspend fun authContexts(vararg argument: suspend ZeroTrustAccessGroupExcludeAuthContextArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeAuthContextArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.authContexts = mapped
}
/**
* @param argument
*/
@JvmName("xqnegbsbnpdobiny")
public suspend fun authContexts(argument: suspend ZeroTrustAccessGroupExcludeAuthContextArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ZeroTrustAccessGroupExcludeAuthContextArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.authContexts = mapped
}
/**
* @param values
*/
@JvmName("bxayhxcacdpldgft")
public suspend fun authContexts(vararg values: ZeroTrustAccessGroupExcludeAuthContextArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.authContexts = mapped
}
/**
* @param value The type of authentication method. Refer to https://datatracker.ietf.org/doc/html/rfc8176#section-2 for possible types.
*/
@JvmName("wsyeyjhyncjkrppp")
public suspend fun authMethod(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.authMethod = mapped
}
/**
* @param value Matches an Azure group. Requires an Azure identity provider.
*/
@JvmName("kyhbsdiwgdyongwo")
public suspend fun azures(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.azures = mapped
}
/**
* @param argument Matches an Azure group. Requires an Azure identity provider.
*/
@JvmName("ptcbpmpovlojebbi")
public suspend fun azures(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeAzureArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.azures = mapped
}
/**
* @param argument Matches an Azure group. Requires an Azure identity provider.
*/
@JvmName("rwhuwwvijeepuaep")
public suspend fun azures(vararg argument: suspend ZeroTrustAccessGroupExcludeAzureArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeAzureArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.azures = mapped
}
/**
* @param argument Matches an Azure group. Requires an Azure identity provider.
*/
@JvmName("uvvrhkovgymsjlea")
public suspend fun azures(argument: suspend ZeroTrustAccessGroupExcludeAzureArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ZeroTrustAccessGroupExcludeAzureArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.azures = mapped
}
/**
* @param values Matches an Azure group. Requires an Azure identity provider.
*/
@JvmName("ekdrvkekyifhjoxj")
public suspend fun azures(vararg values: ZeroTrustAccessGroupExcludeAzureArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.azures = mapped
}
/**
* @param value Matches any valid client certificate.
*/
@JvmName("sgjncsbnhkdpupmh")
public suspend fun certificate(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificate = mapped
}
/**
* @param value Matches a valid client certificate common name.
*/
@JvmName("swlqekyykkkmmfcs")
public suspend fun commonName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.commonName = mapped
}
/**
* @param value Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field.
*/
@JvmName("ooathunsmugolcjo")
public suspend fun commonNames(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.commonNames = mapped
}
/**
* @param values Overflow field if you need to have multiple common*name rules in a single policy. Use in place of the singular common*name field.
*/
@JvmName("nhicckwxeujihlbd")
public suspend fun commonNames(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.commonNames = mapped
}
/**
* @param value The ID of a device posture integration.
*/
@JvmName("idgxikwlfhgpktea")
public suspend fun devicePostures(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.devicePostures = mapped
}
/**
* @param values The ID of a device posture integration.
*/
@JvmName("jbdtmagpteneyupa")
public suspend fun devicePostures(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.devicePostures = mapped
}
/**
* @param value The email domain to match.
*/
@JvmName("aovrllruijprcile")
public suspend fun emailDomains(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailDomains = mapped
}
/**
* @param values The email domain to match.
*/
@JvmName("etieloyrpldhtave")
public suspend fun emailDomains(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.emailDomains = mapped
}
/**
* @param value The ID of a previously created email list.
*/
@JvmName("qyripwxrvnohkwfn")
public suspend fun emailLists(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emailLists = mapped
}
/**
* @param values The ID of a previously created email list.
*/
@JvmName("gfhtgmrejstfibaj")
public suspend fun emailLists(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.emailLists = mapped
}
/**
* @param value The email of the user.
*/
@JvmName("lekhpassbkrrhudv")
public suspend fun emails(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.emails = mapped
}
/**
* @param values The email of the user.
*/
@JvmName("bbkocfmvgxnotrey")
public suspend fun emails(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.emails = mapped
}
/**
* @param value Matches everyone.
*/
@JvmName("wbduferdhhffmfjo")
public suspend fun everyone(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.everyone = mapped
}
/**
* @param value Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.
*/
@JvmName("mgfswqqmlhrrofph")
public suspend fun externalEvaluations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.externalEvaluations = mapped
}
/**
* @param argument Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.
*/
@JvmName("jmoseowocvnkhvnr")
public suspend fun externalEvaluations(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeExternalEvaluationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.externalEvaluations = mapped
}
/**
* @param argument Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.
*/
@JvmName("pvhhpaumkennvdxc")
public suspend fun externalEvaluations(vararg argument: suspend ZeroTrustAccessGroupExcludeExternalEvaluationArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeExternalEvaluationArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.externalEvaluations = mapped
}
/**
* @param argument Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.
*/
@JvmName("cwpbvdturmoocdpv")
public suspend fun externalEvaluations(argument: suspend ZeroTrustAccessGroupExcludeExternalEvaluationArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ZeroTrustAccessGroupExcludeExternalEvaluationArgsBuilder().applySuspend
{ argument() }.build(),
)
val mapped = of(toBeMapped)
this.externalEvaluations = mapped
}
/**
* @param values Create Allow or Block policies which evaluate the user based on custom criteria. https://developers.cloudflare.com/cloudflare-one/policies/access/external-evaluation/.
*/
@JvmName("ngfqvjstgvtbljak")
public suspend fun externalEvaluations(vararg values: ZeroTrustAccessGroupExcludeExternalEvaluationArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.externalEvaluations = mapped
}
/**
* @param value Matches a specific country.
*/
@JvmName("efldagqqmlcqbprg")
public suspend fun geos(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.geos = mapped
}
/**
* @param values Matches a specific country.
*/
@JvmName("jvnlidobnnntgeek")
public suspend fun geos(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.geos = mapped
}
/**
* @param value Matches a Github organization. Requires a Github identity provider.
*/
@JvmName("eawufreiraaufbxb")
public suspend fun githubs(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.githubs = mapped
}
/**
* @param argument Matches a Github organization. Requires a Github identity provider.
*/
@JvmName("cfkdvaofkbdrygyp")
public suspend fun githubs(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeGithubArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.githubs = mapped
}
/**
* @param argument Matches a Github organization. Requires a Github identity provider.
*/
@JvmName("idkinhnmwcqwjkff")
public suspend fun githubs(vararg argument: suspend ZeroTrustAccessGroupExcludeGithubArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeGithubArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.githubs = mapped
}
/**
* @param argument Matches a Github organization. Requires a Github identity provider.
*/
@JvmName("ygcpbcgbxlxolbdn")
public suspend fun githubs(argument: suspend ZeroTrustAccessGroupExcludeGithubArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ZeroTrustAccessGroupExcludeGithubArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.githubs = mapped
}
/**
* @param values Matches a Github organization. Requires a Github identity provider.
*/
@JvmName("cxttwcpsmjnvywpo")
public suspend fun githubs(vararg values: ZeroTrustAccessGroupExcludeGithubArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.githubs = mapped
}
/**
* @param value The ID of a previously created Access group.
*/
@JvmName("rqrwtssjqkqutaux")
public suspend fun groups(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.groups = mapped
}
/**
* @param values The ID of a previously created Access group.
*/
@JvmName("mtkkjqebxhnxdhcr")
public suspend fun groups(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.groups = mapped
}
/**
* @param value Matches a group in Google Workspace. Requires a Google Workspace identity provider.
*/
@JvmName("rminesgejqrabbcn")
public suspend fun gsuites(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.gsuites = mapped
}
/**
* @param argument Matches a group in Google Workspace. Requires a Google Workspace identity provider.
*/
@JvmName("doksirkkccmkrssx")
public suspend fun gsuites(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeGsuiteArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.gsuites = mapped
}
/**
* @param argument Matches a group in Google Workspace. Requires a Google Workspace identity provider.
*/
@JvmName("stjftvaunssnjabs")
public suspend fun gsuites(vararg argument: suspend ZeroTrustAccessGroupExcludeGsuiteArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeGsuiteArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.gsuites = mapped
}
/**
* @param argument Matches a group in Google Workspace. Requires a Google Workspace identity provider.
*/
@JvmName("ktklkomemkugoqap")
public suspend fun gsuites(argument: suspend ZeroTrustAccessGroupExcludeGsuiteArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ZeroTrustAccessGroupExcludeGsuiteArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.gsuites = mapped
}
/**
* @param values Matches a group in Google Workspace. Requires a Google Workspace identity provider.
*/
@JvmName("rjaidjamwlmotfeq")
public suspend fun gsuites(vararg values: ZeroTrustAccessGroupExcludeGsuiteArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.gsuites = mapped
}
/**
* @param value The ID of a previously created IP list.
*/
@JvmName("vwotseroajaruaee")
public suspend fun ipLists(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipLists = mapped
}
/**
* @param values The ID of a previously created IP list.
*/
@JvmName("xhmilbatgbbhllky")
public suspend fun ipLists(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ipLists = mapped
}
/**
* @param value An IPv4 or IPv6 CIDR block.
*/
@JvmName("sryylwvvrrhxypkd")
public suspend fun ips(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ips = mapped
}
/**
* @param values An IPv4 or IPv6 CIDR block.
*/
@JvmName("rdxpodecdhiftojv")
public suspend fun ips(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.ips = mapped
}
/**
* @param value The ID of a configured identity provider.
*/
@JvmName("vcxkksfjdmltpoyy")
public suspend fun loginMethods(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.loginMethods = mapped
}
/**
* @param values The ID of a configured identity provider.
*/
@JvmName("wrxupiurdyqxdrdy")
public suspend fun loginMethods(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.loginMethods = mapped
}
/**
* @param value Matches an Okta group. Requires an Okta identity provider.
*/
@JvmName("nmwxwfuqyjqbqrvm")
public suspend fun oktas(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.oktas = mapped
}
/**
* @param argument Matches an Okta group. Requires an Okta identity provider.
*/
@JvmName("uhddkriamvgprenu")
public suspend fun oktas(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeOktaArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.oktas = mapped
}
/**
* @param argument Matches an Okta group. Requires an Okta identity provider.
*/
@JvmName("wnfuxcxtdwmvjvym")
public suspend fun oktas(vararg argument: suspend ZeroTrustAccessGroupExcludeOktaArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeOktaArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.oktas = mapped
}
/**
* @param argument Matches an Okta group. Requires an Okta identity provider.
*/
@JvmName("acjymwcmxnhqasxt")
public suspend fun oktas(argument: suspend ZeroTrustAccessGroupExcludeOktaArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ZeroTrustAccessGroupExcludeOktaArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.oktas = mapped
}
/**
* @param values Matches an Okta group. Requires an Okta identity provider.
*/
@JvmName("sriropcbfxnvilfc")
public suspend fun oktas(vararg values: ZeroTrustAccessGroupExcludeOktaArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.oktas = mapped
}
/**
* @param value Matches a SAML group. Requires a SAML identity provider.
*/
@JvmName("bwgwybhrtqxjwhdr")
public suspend fun samls(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.samls = mapped
}
/**
* @param argument Matches a SAML group. Requires a SAML identity provider.
*/
@JvmName("cddxltuennmiqxon")
public suspend fun samls(argument: List Unit>) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeSamlArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.samls = mapped
}
/**
* @param argument Matches a SAML group. Requires a SAML identity provider.
*/
@JvmName("ypjunjblwxqsigwl")
public suspend fun samls(vararg argument: suspend ZeroTrustAccessGroupExcludeSamlArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
ZeroTrustAccessGroupExcludeSamlArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.samls = mapped
}
/**
* @param argument Matches a SAML group. Requires a SAML identity provider.
*/
@JvmName("bbgxqxebubtgjtkj")
public suspend fun samls(argument: suspend ZeroTrustAccessGroupExcludeSamlArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
ZeroTrustAccessGroupExcludeSamlArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.samls = mapped
}
/**
* @param values Matches a SAML group. Requires a SAML identity provider.
*/
@JvmName("mkrlidsibanmnkps")
public suspend fun samls(vararg values: ZeroTrustAccessGroupExcludeSamlArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.samls = mapped
}
/**
* @param value The ID of an Access service token.
*/
@JvmName("sggqcibvwyiobemi")
public suspend fun serviceTokens(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceTokens = mapped
}
/**
* @param values The ID of an Access service token.
*/
@JvmName("qceypcejtxemcpau")
public suspend fun serviceTokens(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.serviceTokens = mapped
}
internal fun build(): ZeroTrustAccessGroupExcludeArgs = ZeroTrustAccessGroupExcludeArgs(
anyValidServiceToken = anyValidServiceToken,
authContexts = authContexts,
authMethod = authMethod,
azures = azures,
certificate = certificate,
commonName = commonName,
commonNames = commonNames,
devicePostures = devicePostures,
emailDomains = emailDomains,
emailLists = emailLists,
emails = emails,
everyone = everyone,
externalEvaluations = externalEvaluations,
geos = geos,
githubs = githubs,
groups = groups,
gsuites = gsuites,
ipLists = ipLists,
ips = ips,
loginMethods = loginMethods,
oktas = oktas,
samls = samls,
serviceTokens = serviceTokens,
)
}