com.pulumi.azure.authorization.kotlin.outputs.GetRoleDefinitionPermission.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.authorization.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property actions A list of actions supported by this role.
* @property condition The conditions on this role definition, which limits the resources it can be assigned to.
* @property conditionVersion The version of the condition.
* @property dataActions A list of data actions allowed by this role.
* @property notActions A list of actions which are denied by this role.
* @property notDataActions A list of data actions which are denied by this role.
*/
public data class GetRoleDefinitionPermission(
public val actions: List,
public val condition: String,
public val conditionVersion: String,
public val dataActions: List? = null,
public val notActions: List,
public val notDataActions: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.authorization.outputs.GetRoleDefinitionPermission): GetRoleDefinitionPermission = GetRoleDefinitionPermission(
actions = javaType.actions().map({ args0 -> args0 }),
condition = javaType.condition(),
conditionVersion = javaType.conditionVersion(),
dataActions = javaType.dataActions().map({ args0 -> args0 }),
notActions = javaType.notActions().map({ args0 -> args0 }),
notDataActions = javaType.notDataActions().map({ args0 -> args0 }),
)
}
}