Open Zfs File System Args
data class OpenZfsFileSystemArgs(val automaticBackupRetentionDays: Output<Int>? = null, val backupId: Output<String>? = null, val copyTagsToBackups: Output<Boolean>? = null, val copyTagsToVolumes: Output<Boolean>? = null, val dailyAutomaticBackupStartTime: Output<String>? = null, val deploymentType: Output<String>? = null, val diskIopsConfiguration: Output<OpenZfsFileSystemDiskIopsConfigurationArgs>? = null, val kmsKeyId: Output<String>? = null, val rootVolumeConfiguration: Output<OpenZfsFileSystemRootVolumeConfigurationArgs>? = null, val securityGroupIds: Output<List<String>>? = null, val storageCapacity: Output<Int>? = null, val storageType: Output<String>? = null, val subnetIds: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val throughputCapacity: Output<Int>? = null, val weeklyMaintenanceStartTime: Output<String>? = null) : ConvertibleToJava<OpenZfsFileSystemArgs>
Manages an Amazon FSx for OpenZFS file system. 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.OpenZfsFileSystem;
import com.pulumi.aws.fsx.OpenZfsFileSystemArgs;
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 OpenZfsFileSystem("test", OpenZfsFileSystemArgs.builder()
.storageCapacity(64)
.subnetIds(aws_subnet.test1().id())
.deploymentType("SINGLE_AZ_1")
.throughputCapacity(64)
.build());
}
}
Content copied to clipboard
Import
FSx File Systems can be imported using the id
, e.g.,
$ pulumi import aws:fsx/openZfsFileSystem:OpenZfsFileSystem example fs-543ab12b1ca672f33
Content copied to clipboard
Certain resource arguments, like security_group_ids
, do not have a FSx API method for reading the information after creation. If the argument is set in the provider configuration on an imported resource, the provider will always show a difference. To workaround this behavior, either omit the argument from the provider configuration or use ignore_changes
to hide the difference, e.g., terraform resource "aws_fsx_openzfs_file_system" "example" {
... other configuration ...
security_group_ids = aws_security_group.example.id
There is no FSx API for reading security_group_ids
lifecycle { ignore_changes = security_group_ids } }
Constructors
Link copied to clipboard
fun OpenZfsFileSystemArgs(automaticBackupRetentionDays: Output<Int>? = null, backupId: Output<String>? = null, copyTagsToBackups: Output<Boolean>? = null, copyTagsToVolumes: Output<Boolean>? = null, dailyAutomaticBackupStartTime: Output<String>? = null, deploymentType: Output<String>? = null, diskIopsConfiguration: Output<OpenZfsFileSystemDiskIopsConfigurationArgs>? = null, kmsKeyId: Output<String>? = null, rootVolumeConfiguration: Output<OpenZfsFileSystemRootVolumeConfigurationArgs>? = null, securityGroupIds: Output<List<String>>? = null, storageCapacity: Output<Int>? = null, storageType: Output<String>? = null, subnetIds: Output<String>? = null, tags: Output<Map<String, String>>? = null, throughputCapacity: Output<Int>? = null, weeklyMaintenanceStartTime: Output<String>? = null)