
com.pulumi.gcp.netapp.kotlin.outputs.VolumeSnapshotPolicyDailySchedule.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.netapp.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property hour Set the hour to create the snapshot (0-23), defaults to midnight (0).
* @property minute Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
* @property snapshotsToKeep The maximum number of snapshots to keep for the daily schedule.
*/
public data class VolumeSnapshotPolicyDailySchedule(
public val hour: Int? = null,
public val minute: Int? = null,
public val snapshotsToKeep: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.netapp.outputs.VolumeSnapshotPolicyDailySchedule): VolumeSnapshotPolicyDailySchedule = VolumeSnapshotPolicyDailySchedule(
hour = javaType.hour().map({ args0 -> args0 }).orElse(null),
minute = javaType.minute().map({ args0 -> args0 }).orElse(null),
snapshotsToKeep = javaType.snapshotsToKeep(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy