
com.pulumi.aws.fsx.kotlin.inputs.OpenZfsFileSystemRootVolumeConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.fsx.kotlin.inputs
import com.pulumi.aws.fsx.inputs.OpenZfsFileSystemRootVolumeConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property copyTagsToSnapshots A boolean flag indicating whether tags for the file system should be copied to snapshots. The default value is false.
* @property dataCompressionType Method used to compress the data on the volume. Valid values are `LZ4`, `NONE` or `ZSTD`. Child volumes that don't specify compression option will inherit from parent volume. This option on file system applies to the root volume.
* @property nfsExports NFS export configuration for the root volume. Exactly 1 item. See `nfs_exports` Block for details.
* @property readOnly specifies whether the volume is read-only. Default is false.
* @property recordSizeKib Specifies the record size of an OpenZFS root volume, in kibibytes (KiB). Valid values are `4`, `8`, `16`, `32`, `64`, `128`, `256`, `512`, or `1024` KiB. The default is `128` KiB.
* @property userAndGroupQuotas Specify how much storage users or groups can use on the volume. Maximum of 100 items. See `user_and_group_quotas` Block for details.
*/
public data class OpenZfsFileSystemRootVolumeConfigurationArgs(
public val copyTagsToSnapshots: Output? = null,
public val dataCompressionType: Output? = null,
public val nfsExports: Output? = null,
public val readOnly: Output? = null,
public val recordSizeKib: Output? = null,
public val userAndGroupQuotas: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.fsx.inputs.OpenZfsFileSystemRootVolumeConfigurationArgs =
com.pulumi.aws.fsx.inputs.OpenZfsFileSystemRootVolumeConfigurationArgs.builder()
.copyTagsToSnapshots(copyTagsToSnapshots?.applyValue({ args0 -> args0 }))
.dataCompressionType(dataCompressionType?.applyValue({ args0 -> args0 }))
.nfsExports(nfsExports?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.readOnly(readOnly?.applyValue({ args0 -> args0 }))
.recordSizeKib(recordSizeKib?.applyValue({ args0 -> args0 }))
.userAndGroupQuotas(
userAndGroupQuotas?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [OpenZfsFileSystemRootVolumeConfigurationArgs].
*/
@PulumiTagMarker
public class OpenZfsFileSystemRootVolumeConfigurationArgsBuilder internal constructor() {
private var copyTagsToSnapshots: Output? = null
private var dataCompressionType: Output? = null
private var nfsExports: Output? = null
private var readOnly: Output? = null
private var recordSizeKib: Output? = null
private var userAndGroupQuotas:
Output>? = null
/**
* @param value A boolean flag indicating whether tags for the file system should be copied to snapshots. The default value is false.
*/
@JvmName("usavubnrgaapqoip")
public suspend fun copyTagsToSnapshots(`value`: Output) {
this.copyTagsToSnapshots = value
}
/**
* @param value Method used to compress the data on the volume. Valid values are `LZ4`, `NONE` or `ZSTD`. Child volumes that don't specify compression option will inherit from parent volume. This option on file system applies to the root volume.
*/
@JvmName("bqxbthenwbmduaty")
public suspend fun dataCompressionType(`value`: Output) {
this.dataCompressionType = value
}
/**
* @param value NFS export configuration for the root volume. Exactly 1 item. See `nfs_exports` Block for details.
*/
@JvmName("vshurrdnyixelbgl")
public suspend fun nfsExports(`value`: Output) {
this.nfsExports = value
}
/**
* @param value specifies whether the volume is read-only. Default is false.
*/
@JvmName("lvvovynmkrmydeli")
public suspend fun readOnly(`value`: Output) {
this.readOnly = value
}
/**
* @param value Specifies the record size of an OpenZFS root volume, in kibibytes (KiB). Valid values are `4`, `8`, `16`, `32`, `64`, `128`, `256`, `512`, or `1024` KiB. The default is `128` KiB.
*/
@JvmName("xuyidvibdhtagqvj")
public suspend fun recordSizeKib(`value`: Output) {
this.recordSizeKib = value
}
/**
* @param value Specify how much storage users or groups can use on the volume. Maximum of 100 items. See `user_and_group_quotas` Block for details.
*/
@JvmName("xuimxmuunbioxshh")
public suspend fun userAndGroupQuotas(`value`: Output>) {
this.userAndGroupQuotas = value
}
@JvmName("yrwycglbtkmkxmcu")
public suspend fun userAndGroupQuotas(vararg values: Output) {
this.userAndGroupQuotas = Output.all(values.asList())
}
/**
* @param values Specify how much storage users or groups can use on the volume. Maximum of 100 items. See `user_and_group_quotas` Block for details.
*/
@JvmName("lpijbitgfsqcigue")
public suspend fun userAndGroupQuotas(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy