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

com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppBackupSchedule.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.appservice.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property frequencyInterval How often the backup will be executed.
 * @property frequencyUnit The unit of time for how often the backup should take place.
 * @property keepAtLeastOneBackup Will the service keep at least one backup, regardless of age of backup.
 * @property lastExecutionTime The time of the last backup attempt.
 * @property retentionPeriodDays After how many days backups should be deleted.
 * @property startTime When the schedule should start in RFC-3339 format.
 */
public data class GetWindowsWebAppBackupSchedule(
    public val frequencyInterval: Int,
    public val frequencyUnit: String,
    public val keepAtLeastOneBackup: Boolean,
    public val lastExecutionTime: String,
    public val retentionPeriodDays: Int,
    public val startTime: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetWindowsWebAppBackupSchedule):
            GetWindowsWebAppBackupSchedule = GetWindowsWebAppBackupSchedule(
            frequencyInterval = javaType.frequencyInterval(),
            frequencyUnit = javaType.frequencyUnit(),
            keepAtLeastOneBackup = javaType.keepAtLeastOneBackup(),
            lastExecutionTime = javaType.lastExecutionTime(),
            retentionPeriodDays = javaType.retentionPeriodDays(),
            startTime = javaType.startTime(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy