OpenZfsVolumeArgs

data class OpenZfsVolumeArgs(val copyTagsToSnapshots: Output<Boolean>? = null, val dataCompressionType: Output<String>? = null, val name: Output<String>? = null, val nfsExports: Output<OpenZfsVolumeNfsExportsArgs>? = null, val originSnapshot: Output<OpenZfsVolumeOriginSnapshotArgs>? = null, val parentVolumeId: Output<String>? = null, val readOnly: Output<Boolean>? = null, val recordSizeKib: Output<Int>? = null, val storageCapacityQuotaGib: Output<Int>? = null, val storageCapacityReservationGib: Output<Int>? = null, val tags: Output<Map<String, String>>? = null, val userAndGroupQuotas: Output<List<OpenZfsVolumeUserAndGroupQuotaArgs>>? = null, val volumeType: Output<String>? = null) : ConvertibleToJava<OpenZfsVolumeArgs>

Manages an Amazon FSx for OpenZFS volume. See the FSx OpenZFS User Guide for more information.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.OpenZfsVolume;
import com.pulumi.aws.fsx.OpenZfsVolumeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new OpenZfsVolume("test", OpenZfsVolumeArgs.builder()
.parentVolumeId(aws_fsx_openzfs_file_system.test().root_volume_id())
.build());
}
}

Import

FSx Volumes can be imported using the id, e.g.,

$ pulumi import aws:fsx/openZfsVolume:OpenZfsVolume example fsvol-543ab12b1ca672f33

Constructors

Link copied to clipboard
constructor(copyTagsToSnapshots: Output<Boolean>? = null, dataCompressionType: Output<String>? = null, name: Output<String>? = null, nfsExports: Output<OpenZfsVolumeNfsExportsArgs>? = null, originSnapshot: Output<OpenZfsVolumeOriginSnapshotArgs>? = null, parentVolumeId: Output<String>? = null, readOnly: Output<Boolean>? = null, recordSizeKib: Output<Int>? = null, storageCapacityQuotaGib: Output<Int>? = null, storageCapacityReservationGib: Output<Int>? = null, tags: Output<Map<String, String>>? = null, userAndGroupQuotas: Output<List<OpenZfsVolumeUserAndGroupQuotaArgs>>? = null, volumeType: Output<String>? = null)

Properties

Link copied to clipboard
val copyTagsToSnapshots: Output<Boolean>? = null

A boolean flag indicating whether tags for the file system should be copied to snapshots. The default value is false.

Link copied to clipboard
val dataCompressionType: Output<String>? = null

Method used to compress the data on the volume. Valid values are 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.

Link copied to clipboard
val name: Output<String>? = null

The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.

Link copied to clipboard

NFS export configuration for the root volume. Exactly 1 item. See NFS Exports Below.

Link copied to clipboard

The ARN of the source snapshot to create the volume from.

Link copied to clipboard
val parentVolumeId: Output<String>? = null

The volume id of volume that will be the parent volume for the volume being created, this could be the root volume created from the aws.fsx.OpenZfsFileSystem resource with the root_volume_id or the id property of another aws.fsx.OpenZfsVolume.

Link copied to clipboard
val readOnly: Output<Boolean>? = null

specifies whether the volume is read-only. Default is false.

Link copied to clipboard
val recordSizeKib: Output<Int>? = null

The record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB.

Link copied to clipboard
val storageCapacityQuotaGib: Output<Int>? = null

The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent.

Link copied to clipboard
val storageCapacityReservationGib: Output<Int>? = null

The amount of storage in gibibytes (GiB) to reserve from the parent volume.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the file system. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard

Specify how much storage users or groups can use on the volume. Maximum of 100 items. See User and Group Quotas Below.

Link copied to clipboard
val volumeType: Output<String>? = null

Functions

Link copied to clipboard
open override fun toJava(): OpenZfsVolumeArgs