com.pulumi.azure.netapp.kotlin.outputs.VolumeDataProtectionSnapshotPolicy.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.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