![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.backup.kotlin.outputs.PolicyFileShareBackup.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.backup.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property frequency Sets the backup frequency. Possible values are `Daily` and `Hourly`.
* > **NOTE:** This argument is made available for consistency with VM backup policies and to allow for potential future support of weekly backups
* @property hourly A `hourly` block defined as below. This is required when `frequency` is set to `Hourly`.
* @property time The time of day to perform the backup in 24-hour format. Times must be either on the hour or half hour (e.g. 12:00, 12:30, 13:00, etc.)
* > **NOTE:** `time` is required when `frequency` is set to `Daily`.
*/
public data class PolicyFileShareBackup(
public val frequency: String,
public val hourly: PolicyFileShareBackupHourly? = null,
public val time: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.backup.outputs.PolicyFileShareBackup): PolicyFileShareBackup = PolicyFileShareBackup(
frequency = javaType.frequency(),
hourly = javaType.hourly().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.backup.kotlin.outputs.PolicyFileShareBackupHourly.Companion.toKotlin(args0)
})
}).orElse(null),
time = javaType.time().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy