![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.pim.kotlin.outputs.GetRoleManagementPolicyResult.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getRoleManagementPolicy.
* @property activationRules An `activation_rules` block as defined below.
* @property activeAssignmentRules An `active_assignment_rules` block as defined below.
* @property description (String) The description of this policy.
* @property eligibleAssignmentRules An `eligible_assignment_rules` block as defined below.
* @property id The provider-assigned unique ID for this managed resource.
* @property name (String) The name of this policy, which is typically a UUID and may change over time.
* @property notificationRules A `notification_rules` block as defined below.
* @property roleDefinitionId
* @property scope
*/
public data class GetRoleManagementPolicyResult(
public val activationRules: List,
public val activeAssignmentRules: List,
public val description: String,
public val eligibleAssignmentRules: List,
public val id: String,
public val name: String,
public val notificationRules: List,
public val roleDefinitionId: String,
public val scope: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.pim.outputs.GetRoleManagementPolicyResult): GetRoleManagementPolicyResult = GetRoleManagementPolicyResult(
activationRules = javaType.activationRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.pim.kotlin.outputs.GetRoleManagementPolicyActivationRule.Companion.toKotlin(args0)
})
}),
activeAssignmentRules = javaType.activeAssignmentRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.pim.kotlin.outputs.GetRoleManagementPolicyActiveAssignmentRule.Companion.toKotlin(args0)
})
}),
description = javaType.description(),
eligibleAssignmentRules = javaType.eligibleAssignmentRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.pim.kotlin.outputs.GetRoleManagementPolicyEligibleAssignmentRule.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
name = javaType.name(),
notificationRules = javaType.notificationRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.pim.kotlin.outputs.GetRoleManagementPolicyNotificationRule.Companion.toKotlin(args0)
})
}),
roleDefinitionId = javaType.roleDefinitionId(),
scope = javaType.scope(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy