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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.pim.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property expirationRequired (Boolean) Must an assignment have an expiry date.
 * @property expireAfter (String) The maximum length of time an assignment can be valid, as an ISO8601 duration.
 * @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.
 */
public data class GetRoleManagementPolicyActiveAssignmentRule(
    public val expirationRequired: Boolean,
    public val expireAfter: String,
    public val requireJustification: Boolean,
    public val requireMultifactorAuthentication: Boolean,
    public val requireTicketInfo: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.pim.outputs.GetRoleManagementPolicyActiveAssignmentRule): GetRoleManagementPolicyActiveAssignmentRule = GetRoleManagementPolicyActiveAssignmentRule(
            expirationRequired = javaType.expirationRequired(),
            expireAfter = javaType.expireAfter(),
            requireJustification = javaType.requireJustification(),
            requireMultifactorAuthentication = javaType.requireMultifactorAuthentication(),
            requireTicketInfo = javaType.requireTicketInfo(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy