com.pulumi.gcp.netapp.kotlin.outputs.VolumeExportPolicyRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.netapp.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property accessType Defines the access type for clients matching the `allowedClients` specification.
* Possible values are: `READ_ONLY`, `READ_WRITE`, `READ_NONE`.
* @property allowedClients Defines the client ingress specification (allowed clients) as a comma seperated list with IPv4 CIDRs or IPv4 host addresses.
* @property hasRootAccess If enabled, the root user (UID = 0) of the specified clients doesn't get mapped to nobody (UID = 65534). This is also known as no_root_squash.
* @property kerberos5ReadOnly If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode.
* @property kerberos5ReadWrite If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value is ignored if this is enabled.
* @property kerberos5iReadOnly If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode.
* @property kerberos5iReadWrite If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value is ignored if this is enabled.
* @property kerberos5pReadOnly If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode.
* @property kerberos5pReadWrite If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value is ignored if this is enabled.
* @property nfsv3 Enable to apply the export rule to NFSV3 clients.
* @property nfsv4 Enable to apply the export rule to NFSV4.1 clients.
*/
public data class VolumeExportPolicyRule(
public val accessType: String? = null,
public val allowedClients: String? = null,
public val hasRootAccess: String? = null,
public val kerberos5ReadOnly: Boolean? = null,
public val kerberos5ReadWrite: Boolean? = null,
public val kerberos5iReadOnly: Boolean? = null,
public val kerberos5iReadWrite: Boolean? = null,
public val kerberos5pReadOnly: Boolean? = null,
public val kerberos5pReadWrite: Boolean? = null,
public val nfsv3: Boolean? = null,
public val nfsv4: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.netapp.outputs.VolumeExportPolicyRule): VolumeExportPolicyRule = VolumeExportPolicyRule(
accessType = javaType.accessType().map({ args0 -> args0 }).orElse(null),
allowedClients = javaType.allowedClients().map({ args0 -> args0 }).orElse(null),
hasRootAccess = javaType.hasRootAccess().map({ args0 -> args0 }).orElse(null),
kerberos5ReadOnly = javaType.kerberos5ReadOnly().map({ args0 -> args0 }).orElse(null),
kerberos5ReadWrite = javaType.kerberos5ReadWrite().map({ args0 -> args0 }).orElse(null),
kerberos5iReadOnly = javaType.kerberos5iReadOnly().map({ args0 -> args0 }).orElse(null),
kerberos5iReadWrite = javaType.kerberos5iReadWrite().map({ args0 -> args0 }).orElse(null),
kerberos5pReadOnly = javaType.kerberos5pReadOnly().map({ args0 -> args0 }).orElse(null),
kerberos5pReadWrite = javaType.kerberos5pReadWrite().map({ args0 -> args0 }).orElse(null),
nfsv3 = javaType.nfsv3().map({ args0 -> args0 }).orElse(null),
nfsv4 = javaType.nfsv4().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy