![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.netapp.kotlin.inputs.VolumeBackupConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.netapp.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.netapp.inputs.VolumeBackupConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property backupPolicies Specify a single backup policy ID for scheduled backups. Format: `projects/{{projectId}}/locations/{{location}}/backupPolicies/{{backupPolicyName}}`
* @property backupVault ID of the backup vault to use. A backup vault is reqired to create manual or scheduled backups.
* Format: `projects/{{projectId}}/locations/{{location}}/backupVaults/{{backupVaultName}}`
* @property scheduledBackupEnabled When set to true, scheduled backup is enabled on the volume. Omit if no backup_policy is specified.
*/
public data class VolumeBackupConfigArgs(
public val backupPolicies: Output>? = null,
public val backupVault: Output? = null,
public val scheduledBackupEnabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.netapp.inputs.VolumeBackupConfigArgs =
com.pulumi.gcp.netapp.inputs.VolumeBackupConfigArgs.builder()
.backupPolicies(backupPolicies?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.backupVault(backupVault?.applyValue({ args0 -> args0 }))
.scheduledBackupEnabled(scheduledBackupEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VolumeBackupConfigArgs].
*/
@PulumiTagMarker
public class VolumeBackupConfigArgsBuilder internal constructor() {
private var backupPolicies: Output>? = null
private var backupVault: Output? = null
private var scheduledBackupEnabled: Output? = null
/**
* @param value Specify a single backup policy ID for scheduled backups. Format: `projects/{{projectId}}/locations/{{location}}/backupPolicies/{{backupPolicyName}}`
*/
@JvmName("twsdgqacxhskxdal")
public suspend fun backupPolicies(`value`: Output>) {
this.backupPolicies = value
}
@JvmName("oxguvgaekxtoxwtm")
public suspend fun backupPolicies(vararg values: Output) {
this.backupPolicies = Output.all(values.asList())
}
/**
* @param values Specify a single backup policy ID for scheduled backups. Format: `projects/{{projectId}}/locations/{{location}}/backupPolicies/{{backupPolicyName}}`
*/
@JvmName("ipoaranqvddulplx")
public suspend fun backupPolicies(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy