com.pulumi.azure.maintenance.kotlin.outputs.ConfigurationWindow.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.maintenance.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property duration The duration of the maintenance window in HH:mm format.
* @property expirationDateTime Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format.
* @property recurEvery The rate at which a maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules.
* @property startDateTime Effective start date of the maintenance window in YYYY-MM-DD hh:mm format.
* @property timeZone The time zone for the maintenance window. A list of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell.
*/
public data class ConfigurationWindow(
public val duration: String? = null,
public val expirationDateTime: String? = null,
public val recurEvery: String? = null,
public val startDateTime: String,
public val timeZone: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.maintenance.outputs.ConfigurationWindow):
ConfigurationWindow = ConfigurationWindow(
duration = javaType.duration().map({ args0 -> args0 }).orElse(null),
expirationDateTime = javaType.expirationDateTime().map({ args0 -> args0 }).orElse(null),
recurEvery = javaType.recurEvery().map({ args0 -> args0 }).orElse(null),
startDateTime = javaType.startDateTime(),
timeZone = javaType.timeZone(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy