![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.blueprint.kotlin.inputs.AssignmentLockSettingsArgs.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.blueprint.kotlin.inputs
import com.pulumi.azurenative.blueprint.inputs.AssignmentLockSettingsArgs.builder
import com.pulumi.azurenative.blueprint.kotlin.enums.AssignmentLockMode
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.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* /*
* Defines how resources deployed by a blueprint assignment are locked.
* @property excludedActions List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
* @property excludedPrincipals List of AAD principals excluded from blueprint locks. Up to 5 principals are permitted.
* @property mode Lock mode.
*/
public data class AssignmentLockSettingsArgs(
public val excludedActions: Output>? = null,
public val excludedPrincipals: Output>? = null,
public val mode: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.blueprint.inputs.AssignmentLockSettingsArgs =
com.pulumi.azurenative.blueprint.inputs.AssignmentLockSettingsArgs.builder()
.excludedActions(excludedActions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.excludedPrincipals(excludedPrincipals?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.mode(
mode?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [AssignmentLockSettingsArgs].
*/
@PulumiTagMarker
public class AssignmentLockSettingsArgsBuilder internal constructor() {
private var excludedActions: Output>? = null
private var excludedPrincipals: Output>? = null
private var mode: Output>? = null
/**
* /*
* @param value List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
*/
@JvmName("tyxbymiappxlmvqk")
public suspend fun excludedActions(`value`: Output>) {
this.excludedActions = value
}
@JvmName("frliuqboxdsxvsji")
public suspend fun excludedActions(vararg values: Output) {
this.excludedActions = Output.all(values.asList())
}
/**
* /*
* @param values List of management operations that are excluded from blueprint locks. Up to 200 actions are permitted. If the lock mode is set to 'AllResourcesReadOnly', then the following actions are automatically appended to 'excludedActions': '*/read', 'Microsoft.Network/virtualNetworks/subnets/join/action' and 'Microsoft.Authorization/locks/delete'. If the lock mode is set to 'AllResourcesDoNotDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will get removed.
*/
@JvmName("hmbqlerefxdwvgrc")
public suspend fun excludedActions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy