All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.pim.kotlin.outputs.RoleManagementPolicyNotificationRules.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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