![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.pim.kotlin.outputs.RoleManagementPolicyNotificationRules.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.pim.kotlin.outputs
import kotlin.Suppress
/**
*
* @property activeAssignments A `notification_target` block as defined below to configure notfications on active role assignments.
* @property eligibleActivations A `notification_target` block as defined below for configuring notifications on activation of eligible role.
* @property eligibleAssignments A `notification_target` block as defined below to configure notification on eligible role assignments.
* At least one `notification_target` block must be provided.
*/
public data class RoleManagementPolicyNotificationRules(
public val activeAssignments: RoleManagementPolicyNotificationRulesActiveAssignments? = null,
public val eligibleActivations: RoleManagementPolicyNotificationRulesEligibleActivations? = null,
public val eligibleAssignments: RoleManagementPolicyNotificationRulesEligibleAssignments? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.pim.outputs.RoleManagementPolicyNotificationRules): RoleManagementPolicyNotificationRules = RoleManagementPolicyNotificationRules(
activeAssignments = javaType.activeAssignments().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.pim.kotlin.outputs.RoleManagementPolicyNotificationRulesActiveAssignments.Companion.toKotlin(args0)
})
}).orElse(null),
eligibleActivations = javaType.eligibleActivations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.pim.kotlin.outputs.RoleManagementPolicyNotificationRulesEligibleActivations.Companion.toKotlin(args0)
})
}).orElse(null),
eligibleAssignments = javaType.eligibleAssignments().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.pim.kotlin.outputs.RoleManagementPolicyNotificationRulesEligibleAssignments.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy