com.pulumi.azure.lighthouse.kotlin.outputs.DefinitionAuthorization.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.lighthouse.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property delegatedRoleDefinitionIds The set of role definition ids which define all the permissions that the principal id can assign.
* @property principalDisplayName The display name of the security group/service principal/user that would be assigned permissions to the projected subscription.
* @property principalId Principal ID of the security group/service principal/user that would be assigned permissions to the projected subscription.
* @property roleDefinitionId The role definition identifier. This role will define the permissions that are granted to the principal. This cannot be an `Owner` role.
*/
public data class DefinitionAuthorization(
public val delegatedRoleDefinitionIds: List? = null,
public val principalDisplayName: String? = null,
public val principalId: String,
public val roleDefinitionId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.lighthouse.outputs.DefinitionAuthorization):
DefinitionAuthorization = DefinitionAuthorization(
delegatedRoleDefinitionIds = javaType.delegatedRoleDefinitionIds().map({ args0 -> args0 }),
principalDisplayName = javaType.principalDisplayName().map({ args0 -> args0 }).orElse(null),
principalId = javaType.principalId(),
roleDefinitionId = javaType.roleDefinitionId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy