![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.netapp.kotlin.outputs.VolumeSnapshotPolicyMonthlySchedule.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.netapp.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property daysOfMonth Set the day or days of the month to make a snapshot (1-31). Accepts a comma separated number of days. Defaults to '1'.
* @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 monthly schedule
*/
public data class VolumeSnapshotPolicyMonthlySchedule(
public val daysOfMonth: String? = null,
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.VolumeSnapshotPolicyMonthlySchedule): VolumeSnapshotPolicyMonthlySchedule = VolumeSnapshotPolicyMonthlySchedule(
daysOfMonth = javaType.daysOfMonth().map({ args0 -> args0 }).orElse(null),
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