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

com.pulumi.gcp.osconfig.kotlin.outputs.PatchDeploymentRecurringScheduleMonthly.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.osconfig.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property monthDay One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month.
 * Months without the target day will be skipped. For example, a schedule to run "every month on the 31st"
 * will not run in February, April, June, etc.
 * @property weekDayOfMonth Week day in a month.
 * Structure is documented below.
 */
public data class PatchDeploymentRecurringScheduleMonthly(
    public val monthDay: Int? = null,
    public val weekDayOfMonth: PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.PatchDeploymentRecurringScheduleMonthly): PatchDeploymentRecurringScheduleMonthly = PatchDeploymentRecurringScheduleMonthly(
            monthDay = javaType.monthDay().map({ args0 -> args0 }).orElse(null),
            weekDayOfMonth = javaType.weekDayOfMonth().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.osconfig.kotlin.outputs.PatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy