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

com.pulumi.azure.postgresql.kotlin.outputs.FlexibleServerMaintenanceWindow.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.postgresql.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property dayOfWeek The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = `0`, Monday = `1`. Defaults to `0`.
 * @property startHour The start hour for maintenance window. Defaults to `0`.
 * @property startMinute The start minute for maintenance window. Defaults to `0`.
 * > **NOTE** The specified `maintenance_window` is always defined in UTC time. When unspecified, the maintenance window falls back to the default [system-managed](https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-maintenance-portal#specify-maintenance-schedule-options).
 */
public data class FlexibleServerMaintenanceWindow(
    public val dayOfWeek: Int? = null,
    public val startHour: Int? = null,
    public val startMinute: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.postgresql.outputs.FlexibleServerMaintenanceWindow): FlexibleServerMaintenanceWindow = FlexibleServerMaintenanceWindow(
            dayOfWeek = javaType.dayOfWeek().map({ args0 -> args0 }).orElse(null),
            startHour = javaType.startHour().map({ args0 -> args0 }).orElse(null),
            startMinute = javaType.startMinute().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy