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.
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.azure.authorization.kotlin.inputs
import com.pulumi.azure.authorization.inputs.RoleDefinitionPermissionArgs.builder
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
/**
*
* @property actions One or more Allowed Actions, such as `*`, `Microsoft.Resources/subscriptions/resourceGroups/read`. See ['Azure Resource Manager resource provider operations'](https://docs.microsoft.com/azure/role-based-access-control/resource-provider-operations) for details.
* @property dataActions One or more Allowed Data Actions, such as `*`, `Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read`. See ['Azure Resource Manager resource provider operations'](https://docs.microsoft.com/azure/role-based-access-control/resource-provider-operations) for details.
* @property notActions One or more Disallowed Actions, such as `*`, `Microsoft.Resources/subscriptions/resourceGroups/read`. See ['Azure Resource Manager resource provider operations'](https://docs.microsoft.com/azure/role-based-access-control/resource-provider-operations) for details.
* @property notDataActions One or more Disallowed Data Actions, such as `*`, `Microsoft.Resources/subscriptions/resourceGroups/read`. See ['Azure Resource Manager resource provider operations'](https://docs.microsoft.com/azure/role-based-access-control/resource-provider-operations) for details.
*/
public data class RoleDefinitionPermissionArgs(
public val actions: Output>? = null,
public val dataActions: Output>? = null,
public val notActions: Output>? = null,
public val notDataActions: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.authorization.inputs.RoleDefinitionPermissionArgs =
com.pulumi.azure.authorization.inputs.RoleDefinitionPermissionArgs.builder()
.actions(actions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.dataActions(dataActions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.notActions(notActions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.notDataActions(notDataActions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [RoleDefinitionPermissionArgs].
*/
@PulumiTagMarker
public class RoleDefinitionPermissionArgsBuilder internal constructor() {
private var actions: Output>? = null
private var dataActions: Output>? = null
private var notActions: Output>? = null
private var notDataActions: Output>? = null
/**
* @param value One or more Allowed Actions, such as `*`, `Microsoft.Resources/subscriptions/resourceGroups/read`. See ['Azure Resource Manager resource provider operations'](https://docs.microsoft.com/azure/role-based-access-control/resource-provider-operations) for details.
*/
@JvmName("cgvkftpwshojdejd")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("vecvrwcbijoncqjl")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values One or more Allowed Actions, such as `*`, `Microsoft.Resources/subscriptions/resourceGroups/read`. See ['Azure Resource Manager resource provider operations'](https://docs.microsoft.com/azure/role-based-access-control/resource-provider-operations) for details.
*/
@JvmName("uwhevrtnopaxdxlb")
public suspend fun actions(values: List