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

com.pulumi.azure.pim.kotlin.outputs.EligibleRoleAssignmentScheduleExpiration.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.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property durationDays The duration of the role assignment in days. Changing this forces a new resource to be created.
 * @property durationHours The duration of the role assignment in hours. Changing this forces a new resource to be created.
 * @property endDateTime The end date/time of the role assignment. Changing this forces a new resource to be created.
 * > Note: Only one of `duration_days`, `duration_hours` or `end_date_time` should be specified.
 */
public data class EligibleRoleAssignmentScheduleExpiration(
    public val durationDays: Int? = null,
    public val durationHours: Int? = null,
    public val endDateTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.pim.outputs.EligibleRoleAssignmentScheduleExpiration): EligibleRoleAssignmentScheduleExpiration = EligibleRoleAssignmentScheduleExpiration(
            durationDays = javaType.durationDays().map({ args0 -> args0 }).orElse(null),
            durationHours = javaType.durationHours().map({ args0 -> args0 }).orElse(null),
            endDateTime = javaType.endDateTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy