Open Zfs Volume Args
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());
}
}
Content copied to clipboard
Import
FSx Volumes can be imported using the id
, e.g.,
$ pulumi import aws:fsx/openZfsVolume:OpenZfsVolume example fsvol-543ab12b1ca672f33
Content copied to clipboard
Constructors
Link copied to clipboard
fun OpenZfsVolumeArgs(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)