
com.pulumi.gcp.compute.kotlin.outputs.GetResourcePolicySnapshotSchedulePolicySchedule.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.compute.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property dailySchedules The policy will execute every nth day at the specified time.
* @property hourlySchedules The policy will execute every nth hour starting at the specified time.
* @property weeklySchedules Allows specifying a snapshot time for each day of the week.
*/
public data class GetResourcePolicySnapshotSchedulePolicySchedule(
public val dailySchedules: List,
public val hourlySchedules: List,
public val weeklySchedules: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetResourcePolicySnapshotSchedulePolicySchedule): GetResourcePolicySnapshotSchedulePolicySchedule =
GetResourcePolicySnapshotSchedulePolicySchedule(
dailySchedules = javaType.dailySchedules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.Companion.toKotlin(args0)
})
}),
hourlySchedules = javaType.hourlySchedules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.Companion.toKotlin(args0)
})
}),
weeklySchedules = javaType.weeklySchedules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy