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

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

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

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property allowedClients A comma-sperated list of allowed client IPv4 addresses.
 * @property nfsv3Enabled Enables NFSv3. Please note that this cannot be enabled if volume has NFSv4.1 as its protocol.
 * @property nfsv41Enabled Enables NFSv4.1. Please note that this cannot be enabled if volume has NFSv3 as its protocol.
 * @property rootAccessEnabled Is root access permitted to this volume? Defaults to `true`.
 * @property ruleIndex The index number of the rule, must start at 1 and maximum 5.
 * @property unixReadOnly Is the file system on unix read only? Defaults to `false.
 * @property unixReadWrite Is the file system on unix read and write? Defaults to `true`.
 */
public data class VolumeGroupSapHanaVolumeExportPolicyRule(
    public val allowedClients: String,
    public val nfsv3Enabled: Boolean,
    public val nfsv41Enabled: Boolean,
    public val rootAccessEnabled: Boolean? = null,
    public val ruleIndex: Int,
    public val unixReadOnly: Boolean? = null,
    public val unixReadWrite: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.netapp.outputs.VolumeGroupSapHanaVolumeExportPolicyRule): VolumeGroupSapHanaVolumeExportPolicyRule = VolumeGroupSapHanaVolumeExportPolicyRule(
            allowedClients = javaType.allowedClients(),
            nfsv3Enabled = javaType.nfsv3Enabled(),
            nfsv41Enabled = javaType.nfsv41Enabled(),
            rootAccessEnabled = javaType.rootAccessEnabled().map({ args0 -> args0 }).orElse(null),
            ruleIndex = javaType.ruleIndex(),
            unixReadOnly = javaType.unixReadOnly().map({ args0 -> args0 }).orElse(null),
            unixReadWrite = javaType.unixReadWrite().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy