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

com.pulumi.azure.netapp.kotlin.outputs.VolumeDataProtectionReplication.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 endpointType The endpoint type, default value is `dst` for destination.
 * @property remoteVolumeLocation Location of the primary volume. Changing this forces a new resource to be created.
 * @property remoteVolumeResourceId Resource ID of the primary volume.
 * @property replicationFrequency Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
 * A full example of the `data_protection_replication` attribute can be found in the `./examples/netapp/volume_crr` directory within the GitHub Repository
 * > **NOTE:** `data_protection_replication` can be defined only once per secondary volume, adding a second instance of it is not supported.
 */
public data class VolumeDataProtectionReplication(
    public val endpointType: String? = null,
    public val remoteVolumeLocation: String,
    public val remoteVolumeResourceId: String,
    public val replicationFrequency: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.netapp.outputs.VolumeDataProtectionReplication):
            VolumeDataProtectionReplication = VolumeDataProtectionReplication(
            endpointType = javaType.endpointType().map({ args0 -> args0 }).orElse(null),
            remoteVolumeLocation = javaType.remoteVolumeLocation(),
            remoteVolumeResourceId = javaType.remoteVolumeResourceId(),
            replicationFrequency = javaType.replicationFrequency(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy