![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.backup.kotlin.inputs.PolicyFileShareBackupHourlyArgs.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.inputs
import com.pulumi.azure.backup.inputs.PolicyFileShareBackupHourlyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property interval Specifies the interval at which backup needs to be triggered. Possible values are `4`, `6`, `8` and `12`.
* @property startTime Specifies the start time of the hourly backup. The time format should be in 24-hour format. Times must be either on the hour or half hour (e.g. 12:00, 12:30, 13:00, etc.).
* @property windowDuration Species the duration of the backup window in hours. Details could be found [here](https://learn.microsoft.com/en-us/azure/backup/backup-azure-files-faq#what-does-the-duration-attribute-in-azure-files-backup-policy-signify-).
*/
public data class PolicyFileShareBackupHourlyArgs(
public val interval: Output,
public val startTime: Output,
public val windowDuration: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.backup.inputs.PolicyFileShareBackupHourlyArgs =
com.pulumi.azure.backup.inputs.PolicyFileShareBackupHourlyArgs.builder()
.interval(interval.applyValue({ args0 -> args0 }))
.startTime(startTime.applyValue({ args0 -> args0 }))
.windowDuration(windowDuration.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PolicyFileShareBackupHourlyArgs].
*/
@PulumiTagMarker
public class PolicyFileShareBackupHourlyArgsBuilder internal constructor() {
private var interval: Output? = null
private var startTime: Output? = null
private var windowDuration: Output? = null
/**
* @param value Specifies the interval at which backup needs to be triggered. Possible values are `4`, `6`, `8` and `12`.
*/
@JvmName("dcxdypjgqfwarxkg")
public suspend fun interval(`value`: Output) {
this.interval = value
}
/**
* @param value Specifies the start time of the hourly backup. The time format should be in 24-hour format. Times must be either on the hour or half hour (e.g. 12:00, 12:30, 13:00, etc.).
*/
@JvmName("dhswyammtjaobder")
public suspend fun startTime(`value`: Output) {
this.startTime = value
}
/**
* @param value Species the duration of the backup window in hours. Details could be found [here](https://learn.microsoft.com/en-us/azure/backup/backup-azure-files-faq#what-does-the-duration-attribute-in-azure-files-backup-policy-signify-).
*/
@JvmName("jvtxoanpqdponjqu")
public suspend fun windowDuration(`value`: Output) {
this.windowDuration = value
}
/**
* @param value Specifies the interval at which backup needs to be triggered. Possible values are `4`, `6`, `8` and `12`.
*/
@JvmName("saejywmansrhkpwa")
public suspend fun interval(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.interval = mapped
}
/**
* @param value Specifies the start time of the hourly backup. The time format should be in 24-hour format. Times must be either on the hour or half hour (e.g. 12:00, 12:30, 13:00, etc.).
*/
@JvmName("qsqmtguwfbruepub")
public suspend fun startTime(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.startTime = mapped
}
/**
* @param value Species the duration of the backup window in hours. Details could be found [here](https://learn.microsoft.com/en-us/azure/backup/backup-azure-files-faq#what-does-the-duration-attribute-in-azure-files-backup-policy-signify-).
*/
@JvmName("ohhpbxcphgnoqtbu")
public suspend fun windowDuration(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.windowDuration = mapped
}
internal fun build(): PolicyFileShareBackupHourlyArgs = PolicyFileShareBackupHourlyArgs(
interval = interval ?: throw PulumiNullFieldException("interval"),
startTime = startTime ?: throw PulumiNullFieldException("startTime"),
windowDuration = windowDuration ?: throw PulumiNullFieldException("windowDuration"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy