Ontap File System Args
data class OntapFileSystemArgs(val automaticBackupRetentionDays: Output<Int>? = null, val dailyAutomaticBackupStartTime: Output<String>? = null, val deploymentType: Output<String>? = null, val diskIopsConfiguration: Output<OntapFileSystemDiskIopsConfigurationArgs>? = null, val endpointIpAddressRange: Output<String>? = null, val fsxAdminPassword: Output<String>? = null, val kmsKeyId: Output<String>? = null, val preferredSubnetId: Output<String>? = null, val routeTableIds: Output<List<String>>? = null, val securityGroupIds: Output<List<String>>? = null, val storageCapacity: Output<Int>? = null, val storageType: Output<String>? = null, val subnetIds: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val throughputCapacity: Output<Int>? = null, val weeklyMaintenanceStartTime: Output<String>? = null) : ConvertibleToJava<OntapFileSystemArgs>
Manages an Amazon FSx for NetApp ONTAP file system. See the FSx ONTAP 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.OntapFileSystem;
import com.pulumi.aws.fsx.OntapFileSystemArgs;
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 OntapFileSystem("test", OntapFileSystemArgs.builder()
.storageCapacity(1024)
.subnetIds(
aws_subnet.test1().id(),
aws_subnet.test2().id())
.deploymentType("MULTI_AZ_1")
.throughputCapacity(512)
.preferredSubnetId(aws_subnet.test1().id())
.build());
}
}
Content copied to clipboard
Import
FSx File Systems can be imported using the id
, e.g.,
$ pulumi import aws:fsx/ontapFileSystem:OntapFileSystem 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 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_ontap_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 OntapFileSystemArgs(automaticBackupRetentionDays: Output<Int>? = null, dailyAutomaticBackupStartTime: Output<String>? = null, deploymentType: Output<String>? = null, diskIopsConfiguration: Output<OntapFileSystemDiskIopsConfigurationArgs>? = null, endpointIpAddressRange: Output<String>? = null, fsxAdminPassword: Output<String>? = null, kmsKeyId: Output<String>? = null, preferredSubnetId: Output<String>? = null, routeTableIds: Output<List<String>>? = null, securityGroupIds: Output<List<String>>? = null, storageCapacity: Output<Int>? = null, storageType: Output<String>? = null, subnetIds: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null, throughputCapacity: Output<Int>? = null, weeklyMaintenanceStartTime: Output<String>? = null)
Functions
Properties
Link copied to clipboard