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

com.pulumi.gcp.netapp.kotlin.outputs.VolumeBackupConfig.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.netapp.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 VolumeBackupConfig(
    public val backupPolicies: List? = null,
    public val backupVault: String? = null,
    public val scheduledBackupEnabled: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.netapp.outputs.VolumeBackupConfig): VolumeBackupConfig = VolumeBackupConfig(
            backupPolicies = javaType.backupPolicies().map({ args0 -> args0 }),
            backupVault = javaType.backupVault().map({ args0 -> args0 }).orElse(null),
            scheduledBackupEnabled = javaType.scheduledBackupEnabled().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy