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

com.pulumi.azure.netapp.kotlin.outputs.GetSnapshotPolicyWeeklySchedule.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.netapp.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property daysOfWeeks List of the week days using English names when the snapshots will be created.
 * @property hour Hour of the day that the snapshots will be created.
 * @property minute Minute of the hour that the snapshots will be created.
 * @property snapshotsToKeep How many hourly snapshots to keep.
 */
public data class GetSnapshotPolicyWeeklySchedule(
    public val daysOfWeeks: 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.GetSnapshotPolicyWeeklySchedule): GetSnapshotPolicyWeeklySchedule = GetSnapshotPolicyWeeklySchedule(
            daysOfWeeks = javaType.daysOfWeeks().map({ args0 -> args0 }),
            hour = javaType.hour(),
            minute = javaType.minute(),
            snapshotsToKeep = javaType.snapshotsToKeep(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy