![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.pim.kotlin.outputs.EligibleRoleAssignmentScheduleExpiration.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.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