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

com.pulumi.azure.pim.kotlin.outputs.GetRoleManagementPolicyActivationRule.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property approvalStages An `approval_stage` block as defined below.
 * @property maximumDuration (String) The maximum length of time an activated role can be valid, in an ISO8601 Duration format.
 * @property requireApproval (Boolean) Is approval required for activation.
 * @property requireJustification (Boolean) Is a justification required to create new assignments.
 * @property requireMultifactorAuthentication (Boolean) Is multi-factor authentication required to create new assignments.
 * @property requireTicketInfo (Boolean) Is ticket information required to create new assignments.
 * @property requiredConditionalAccessAuthenticationContext (String) The Entra ID Conditional Access context that must be present for activation.
 */
public data class GetRoleManagementPolicyActivationRule(
    public val approvalStages: List,
    public val maximumDuration: String,
    public val requireApproval: Boolean,
    public val requireJustification: Boolean,
    public val requireMultifactorAuthentication: Boolean,
    public val requireTicketInfo: Boolean,
    public val requiredConditionalAccessAuthenticationContext: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.pim.outputs.GetRoleManagementPolicyActivationRule): GetRoleManagementPolicyActivationRule = GetRoleManagementPolicyActivationRule(
            approvalStages = javaType.approvalStages().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.pim.kotlin.outputs.GetRoleManagementPolicyActivationRuleApprovalStage.Companion.toKotlin(args0)
                })
            }),
            maximumDuration = javaType.maximumDuration(),
            requireApproval = javaType.requireApproval(),
            requireJustification = javaType.requireJustification(),
            requireMultifactorAuthentication = javaType.requireMultifactorAuthentication(),
            requireTicketInfo = javaType.requireTicketInfo(),
            requiredConditionalAccessAuthenticationContext = javaType.requiredConditionalAccessAuthenticationContext(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy