com.pulumi.azure.netapp.kotlin.outputs.SnapshotPolicyMonthlySchedule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.netapp.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property daysOfMonths List of the days of the month when the snapshots will be created, valid range is from 1 to 30.
* @property hour Hour of the day that the snapshots will be created, valid range is from 0 to 23.
* @property minute Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
* @property snapshotsToKeep How many hourly snapshots to keep, valid range is from 0 to 255.
*/
public data class SnapshotPolicyMonthlySchedule(
public val daysOfMonths: List,
public val hour: Int,
public val minute: Int,
public val snapshotsToKeep: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.netapp.outputs.SnapshotPolicyMonthlySchedule):
SnapshotPolicyMonthlySchedule = SnapshotPolicyMonthlySchedule(
daysOfMonths = javaType.daysOfMonths().map({ args0 -> args0 }),
hour = javaType.hour(),
minute = javaType.minute(),
snapshotsToKeep = javaType.snapshotsToKeep(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy