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

com.pulumi.azure.netapp.kotlin.outputs.SnapshotPolicyMonthlySchedule.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: 6.14.0.0
Show newest version
@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