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

com.pulumi.azure.appservice.kotlin.outputs.LinuxWebAppBackup.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.String
import kotlin.Suppress

/**
 *
 * @property enabled Should this backup job be enabled? Defaults to `true`.
 * @property name The name which should be used for this Backup.
 * @property schedule A `schedule` block as defined below.
 * @property storageAccountUrl The SAS URL to the container.
 */
public data class LinuxWebAppBackup(
    public val enabled: Boolean? = null,
    public val name: String,
    public val schedule: LinuxWebAppBackupSchedule,
    public val storageAccountUrl: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxWebAppBackup):
            LinuxWebAppBackup = LinuxWebAppBackup(
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            schedule = javaType.schedule().let({ args0 ->
                com.pulumi.azure.appservice.kotlin.outputs.LinuxWebAppBackupSchedule.Companion.toKotlin(args0)
            }),
            storageAccountUrl = javaType.storageAccountUrl(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy