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

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

package com.pulumi.azure.netapp.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property snapshotPolicyId Resource ID of the snapshot policy to apply to the volume.
 * A full example of the `data_protection_snapshot_policy` attribute usage can be found in the `./examples/netapp/nfsv3_volume_with_snapshot_policy` directory within the GitHub Repository
 * > **NOTE:** `data_protection_snapshot_policy` block can be used alone or with data_protection_replication in the primary volume only, if enabling it in the secondary, an error will be thrown.
 */
public data class VolumeDataProtectionSnapshotPolicy(
    public val snapshotPolicyId: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.netapp.outputs.VolumeDataProtectionSnapshotPolicy):
            VolumeDataProtectionSnapshotPolicy = VolumeDataProtectionSnapshotPolicy(
            snapshotPolicyId = javaType.snapshotPolicyId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy