Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.gcp.oracledatabase.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.oracledatabase.inputs.CloudExadataInfrastructurePropertiesMaintenanceWindowArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property customActionTimeoutMins Determines the amount of time the system will wait before the start of each
* database server patching operation. Custom action timeout is in minutes and
* valid value is between 15 to 120 (inclusive).
* @property daysOfWeeks Days during the week when maintenance should be performed.
* @property hoursOfDays The window of hours during the day when maintenance should be performed.
* The window is a 4 hour slot. Valid values are:
* 0 - represents time slot 0:00 - 3:59 UTC
* 4 - represents time slot 4:00 - 7:59 UTC
* 8 - represents time slot 8:00 - 11:59 UTC
* 12 - represents time slot 12:00 - 15:59 UTC
* 16 - represents time slot 16:00 - 19:59 UTC
* 20 - represents time slot 20:00 - 23:59 UTC
* @property isCustomActionTimeoutEnabled If true, enables the configuration of a custom action timeout (waiting
* period) between database server patching operations.
* @property leadTimeWeek Lead time window allows user to set a lead time to prepare for a down time.
* The lead time is in weeks and valid value is between 1 to 4.
* @property months Months during the year when maintenance should be performed.
* @property patchingMode Cloud CloudExadataInfrastructure node patching method, either "ROLLING"
* or "NONROLLING". Default value is ROLLING.
* Possible values:
* PATCHING_MODE_UNSPECIFIED
* ROLLING
* NON_ROLLING
* @property preference The maintenance window scheduling preference.
* Possible values:
* MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED
* CUSTOM_PREFERENCE
* NO_PREFERENCE
* @property weeksOfMonths Weeks during the month when maintenance should be performed. Weeks start on
* the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7
* days. Weeks start and end based on calendar dates, not days of the week.
*/
public data class CloudExadataInfrastructurePropertiesMaintenanceWindowArgs(
public val customActionTimeoutMins: Output? = null,
public val daysOfWeeks: Output>? = null,
public val hoursOfDays: Output>? = null,
public val isCustomActionTimeoutEnabled: Output? = null,
public val leadTimeWeek: Output? = null,
public val months: Output>? = null,
public val patchingMode: Output? = null,
public val preference: Output? = null,
public val weeksOfMonths: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.oracledatabase.inputs.CloudExadataInfrastructurePropertiesMaintenanceWindowArgs =
com.pulumi.gcp.oracledatabase.inputs.CloudExadataInfrastructurePropertiesMaintenanceWindowArgs.builder()
.customActionTimeoutMins(customActionTimeoutMins?.applyValue({ args0 -> args0 }))
.daysOfWeeks(daysOfWeeks?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.hoursOfDays(hoursOfDays?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.isCustomActionTimeoutEnabled(isCustomActionTimeoutEnabled?.applyValue({ args0 -> args0 }))
.leadTimeWeek(leadTimeWeek?.applyValue({ args0 -> args0 }))
.months(months?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.patchingMode(patchingMode?.applyValue({ args0 -> args0 }))
.preference(preference?.applyValue({ args0 -> args0 }))
.weeksOfMonths(weeksOfMonths?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [CloudExadataInfrastructurePropertiesMaintenanceWindowArgs].
*/
@PulumiTagMarker
public class CloudExadataInfrastructurePropertiesMaintenanceWindowArgsBuilder internal constructor() {
private var customActionTimeoutMins: Output? = null
private var daysOfWeeks: Output>? = null
private var hoursOfDays: Output>? = null
private var isCustomActionTimeoutEnabled: Output? = null
private var leadTimeWeek: Output? = null
private var months: Output>? = null
private var patchingMode: Output? = null
private var preference: Output? = null
private var weeksOfMonths: Output>? = null
/**
* @param value Determines the amount of time the system will wait before the start of each
* database server patching operation. Custom action timeout is in minutes and
* valid value is between 15 to 120 (inclusive).
*/
@JvmName("wikflyvqhbmewekf")
public suspend fun customActionTimeoutMins(`value`: Output) {
this.customActionTimeoutMins = value
}
/**
* @param value Days during the week when maintenance should be performed.
*/
@JvmName("iahcqrpmcslgspjt")
public suspend fun daysOfWeeks(`value`: Output>) {
this.daysOfWeeks = value
}
@JvmName("evgkjedyqckumpqh")
public suspend fun daysOfWeeks(vararg values: Output) {
this.daysOfWeeks = Output.all(values.asList())
}
/**
* @param values Days during the week when maintenance should be performed.
*/
@JvmName("cmpbmuvkttmusudj")
public suspend fun daysOfWeeks(values: List