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

com.pulumi.googlenative.container.v1.kotlin.outputs.MaintenanceWindowResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.container.v1.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * MaintenanceWindow defines the maintenance window to be used for the cluster.
 * @property dailyMaintenanceWindow DailyMaintenanceWindow specifies a daily maintenance operation window.
 * @property maintenanceExclusions Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.
 * @property recurringWindow RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.
 */
public data class MaintenanceWindowResponse(
    public val dailyMaintenanceWindow: DailyMaintenanceWindowResponse,
    public val maintenanceExclusions: Map,
    public val recurringWindow: RecurringTimeWindowResponse,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.container.v1.outputs.MaintenanceWindowResponse): MaintenanceWindowResponse = MaintenanceWindowResponse(
            dailyMaintenanceWindow = javaType.dailyMaintenanceWindow().let({ args0 ->
                com.pulumi.googlenative.container.v1.kotlin.outputs.DailyMaintenanceWindowResponse.Companion.toKotlin(args0)
            }),
            maintenanceExclusions = javaType.maintenanceExclusions().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
            recurringWindow = javaType.recurringWindow().let({ args0 ->
                com.pulumi.googlenative.container.v1.kotlin.outputs.RecurringTimeWindowResponse.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy