com.pulumi.gcp.redis.kotlin.outputs.GetInstanceMaintenancePolicyWeeklyMaintenanceWindow.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.redis.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property day Required. The day of week that maintenance updates occur.
* - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
* - MONDAY: Monday
* - TUESDAY: Tuesday
* - WEDNESDAY: Wednesday
* - THURSDAY: Thursday
* - FRIDAY: Friday
* - SATURDAY: Saturday
* - SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
* @property duration Output only. Duration of the maintenance window.
* The current window is fixed at 1 hour.
* A duration in seconds with up to nine fractional digits,
* terminated by 's'. Example: "3.5s".
* @property startTimes Required. Start time of the window in UTC time.
*/
public data class GetInstanceMaintenancePolicyWeeklyMaintenanceWindow(
public val day: String,
public val duration: String,
public val startTimes: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.redis.outputs.GetInstanceMaintenancePolicyWeeklyMaintenanceWindow): GetInstanceMaintenancePolicyWeeklyMaintenanceWindow =
GetInstanceMaintenancePolicyWeeklyMaintenanceWindow(
day = javaType.day(),
duration = javaType.duration(),
startTimes = javaType.startTimes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.redis.kotlin.outputs.GetInstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy