![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.DefaultAuthorizationPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.DefaultAuthorizationPolicyArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The configuration settings of the Azure Active Directory default authorization policy.
* @property allowedApplications The configuration settings of the Azure Active Directory allowed applications.
* @property allowedPrincipals The configuration settings of the Azure Active Directory allowed principals.
*/
public data class DefaultAuthorizationPolicyArgs(
public val allowedApplications: Output>? = null,
public val allowedPrincipals: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.DefaultAuthorizationPolicyArgs =
com.pulumi.azurenative.app.inputs.DefaultAuthorizationPolicyArgs.builder()
.allowedApplications(allowedApplications?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.allowedPrincipals(
allowedPrincipals?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DefaultAuthorizationPolicyArgs].
*/
@PulumiTagMarker
public class DefaultAuthorizationPolicyArgsBuilder internal constructor() {
private var allowedApplications: Output>? = null
private var allowedPrincipals: Output? = null
/**
* @param value The configuration settings of the Azure Active Directory allowed applications.
*/
@JvmName("ykcamalwyjrehxva")
public suspend fun allowedApplications(`value`: Output>) {
this.allowedApplications = value
}
@JvmName("ldouvfuxopduiaro")
public suspend fun allowedApplications(vararg values: Output) {
this.allowedApplications = Output.all(values.asList())
}
/**
* @param values The configuration settings of the Azure Active Directory allowed applications.
*/
@JvmName("pkpfmbjbngflgxmu")
public suspend fun allowedApplications(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy