com.pulumi.azure.appservice.kotlin.outputs.AppServiceBackup.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.appservice.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Is this Backup enabled? Defaults to `true`.
* @property name Specifies the name for this Backup.
* @property schedule A `schedule` block as defined below.
* @property storageAccountUrl The SAS URL to a Storage Container where Backups should be saved.
*/
public data class AppServiceBackup(
public val enabled: Boolean? = null,
public val name: String,
public val schedule: AppServiceBackupSchedule,
public val storageAccountUrl: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.AppServiceBackup):
AppServiceBackup = AppServiceBackup(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
schedule = javaType.schedule().let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.AppServiceBackupSchedule.Companion.toKotlin(args0)
}),
storageAccountUrl = javaType.storageAccountUrl(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy