aws.fsx.OntapVolume
Explore with Pulumi AI
Manages a FSx ONTAP Volume. See the FSx ONTAP User Guide for more information.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.fsx.OntapVolume("test", {
    name: "test",
    junctionPath: "/test",
    sizeInMegabytes: 1024,
    storageEfficiencyEnabled: true,
    storageVirtualMachineId: testAwsFsxOntapStorageVirtualMachine.id,
});
import pulumi
import pulumi_aws as aws
test = aws.fsx.OntapVolume("test",
    name="test",
    junction_path="/test",
    size_in_megabytes=1024,
    storage_efficiency_enabled=True,
    storage_virtual_machine_id=test_aws_fsx_ontap_storage_virtual_machine["id"])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fsx.NewOntapVolume(ctx, "test", &fsx.OntapVolumeArgs{
			Name:                     pulumi.String("test"),
			JunctionPath:             pulumi.String("/test"),
			SizeInMegabytes:          pulumi.Int(1024),
			StorageEfficiencyEnabled: pulumi.Bool(true),
			StorageVirtualMachineId:  pulumi.Any(testAwsFsxOntapStorageVirtualMachine.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = new Aws.Fsx.OntapVolume("test", new()
    {
        Name = "test",
        JunctionPath = "/test",
        SizeInMegabytes = 1024,
        StorageEfficiencyEnabled = true,
        StorageVirtualMachineId = testAwsFsxOntapStorageVirtualMachine.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.OntapVolume;
import com.pulumi.aws.fsx.OntapVolumeArgs;
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 OntapVolume("test", OntapVolumeArgs.builder()
            .name("test")
            .junctionPath("/test")
            .sizeInMegabytes(1024)
            .storageEfficiencyEnabled(true)
            .storageVirtualMachineId(testAwsFsxOntapStorageVirtualMachine.id())
            .build());
    }
}
resources:
  test:
    type: aws:fsx:OntapVolume
    properties:
      name: test
      junctionPath: /test
      sizeInMegabytes: 1024
      storageEfficiencyEnabled: true
      storageVirtualMachineId: ${testAwsFsxOntapStorageVirtualMachine.id}
Using Tiering Policy
Additional information on tiering policy with ONTAP Volumes can be found in the FSx ONTAP Guide.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.fsx.OntapVolume("test", {
    name: "test",
    junctionPath: "/test",
    sizeInMegabytes: 1024,
    storageEfficiencyEnabled: true,
    storageVirtualMachineId: testAwsFsxOntapStorageVirtualMachine.id,
    tieringPolicy: {
        name: "AUTO",
        coolingPeriod: 31,
    },
});
import pulumi
import pulumi_aws as aws
test = aws.fsx.OntapVolume("test",
    name="test",
    junction_path="/test",
    size_in_megabytes=1024,
    storage_efficiency_enabled=True,
    storage_virtual_machine_id=test_aws_fsx_ontap_storage_virtual_machine["id"],
    tiering_policy={
        "name": "AUTO",
        "cooling_period": 31,
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fsx.NewOntapVolume(ctx, "test", &fsx.OntapVolumeArgs{
			Name:                     pulumi.String("test"),
			JunctionPath:             pulumi.String("/test"),
			SizeInMegabytes:          pulumi.Int(1024),
			StorageEfficiencyEnabled: pulumi.Bool(true),
			StorageVirtualMachineId:  pulumi.Any(testAwsFsxOntapStorageVirtualMachine.Id),
			TieringPolicy: &fsx.OntapVolumeTieringPolicyArgs{
				Name:          pulumi.String("AUTO"),
				CoolingPeriod: pulumi.Int(31),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = new Aws.Fsx.OntapVolume("test", new()
    {
        Name = "test",
        JunctionPath = "/test",
        SizeInMegabytes = 1024,
        StorageEfficiencyEnabled = true,
        StorageVirtualMachineId = testAwsFsxOntapStorageVirtualMachine.Id,
        TieringPolicy = new Aws.Fsx.Inputs.OntapVolumeTieringPolicyArgs
        {
            Name = "AUTO",
            CoolingPeriod = 31,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.OntapVolume;
import com.pulumi.aws.fsx.OntapVolumeArgs;
import com.pulumi.aws.fsx.inputs.OntapVolumeTieringPolicyArgs;
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 OntapVolume("test", OntapVolumeArgs.builder()
            .name("test")
            .junctionPath("/test")
            .sizeInMegabytes(1024)
            .storageEfficiencyEnabled(true)
            .storageVirtualMachineId(testAwsFsxOntapStorageVirtualMachine.id())
            .tieringPolicy(OntapVolumeTieringPolicyArgs.builder()
                .name("AUTO")
                .coolingPeriod(31)
                .build())
            .build());
    }
}
resources:
  test:
    type: aws:fsx:OntapVolume
    properties:
      name: test
      junctionPath: /test
      sizeInMegabytes: 1024
      storageEfficiencyEnabled: true
      storageVirtualMachineId: ${testAwsFsxOntapStorageVirtualMachine.id}
      tieringPolicy:
        name: AUTO
        coolingPeriod: 31
Create OntapVolume Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OntapVolume(name: string, args: OntapVolumeArgs, opts?: CustomResourceOptions);@overload
def OntapVolume(resource_name: str,
                args: OntapVolumeArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def OntapVolume(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                storage_virtual_machine_id: Optional[str] = None,
                size_in_bytes: Optional[str] = None,
                final_backup_tags: Optional[Mapping[str, str]] = None,
                skip_final_backup: Optional[bool] = None,
                snaplock_configuration: Optional[OntapVolumeSnaplockConfigurationArgs] = None,
                name: Optional[str] = None,
                ontap_volume_type: Optional[str] = None,
                security_style: Optional[str] = None,
                aggregate_configuration: Optional[OntapVolumeAggregateConfigurationArgs] = None,
                volume_type: Optional[str] = None,
                copy_tags_to_backups: Optional[bool] = None,
                junction_path: Optional[str] = None,
                snapshot_policy: Optional[str] = None,
                storage_efficiency_enabled: Optional[bool] = None,
                bypass_snaplock_enterprise_retention: Optional[bool] = None,
                tags: Optional[Mapping[str, str]] = None,
                tiering_policy: Optional[OntapVolumeTieringPolicyArgs] = None,
                volume_style: Optional[str] = None,
                size_in_megabytes: Optional[int] = None)func NewOntapVolume(ctx *Context, name string, args OntapVolumeArgs, opts ...ResourceOption) (*OntapVolume, error)public OntapVolume(string name, OntapVolumeArgs args, CustomResourceOptions? opts = null)
public OntapVolume(String name, OntapVolumeArgs args)
public OntapVolume(String name, OntapVolumeArgs args, CustomResourceOptions options)
type: aws:fsx:OntapVolume
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OntapVolumeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OntapVolumeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OntapVolumeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OntapVolumeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OntapVolumeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ontapVolumeResource = new Aws.Fsx.OntapVolume("ontapVolumeResource", new()
{
    StorageVirtualMachineId = "string",
    SizeInBytes = "string",
    FinalBackupTags = 
    {
        { "string", "string" },
    },
    SkipFinalBackup = false,
    SnaplockConfiguration = new Aws.Fsx.Inputs.OntapVolumeSnaplockConfigurationArgs
    {
        SnaplockType = "string",
        AuditLogVolume = false,
        AutocommitPeriod = new Aws.Fsx.Inputs.OntapVolumeSnaplockConfigurationAutocommitPeriodArgs
        {
            Type = "string",
            Value = 0,
        },
        PrivilegedDelete = "string",
        RetentionPeriod = new Aws.Fsx.Inputs.OntapVolumeSnaplockConfigurationRetentionPeriodArgs
        {
            DefaultRetention = new Aws.Fsx.Inputs.OntapVolumeSnaplockConfigurationRetentionPeriodDefaultRetentionArgs
            {
                Type = "string",
                Value = 0,
            },
            MaximumRetention = new Aws.Fsx.Inputs.OntapVolumeSnaplockConfigurationRetentionPeriodMaximumRetentionArgs
            {
                Type = "string",
                Value = 0,
            },
            MinimumRetention = new Aws.Fsx.Inputs.OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs
            {
                Type = "string",
                Value = 0,
            },
        },
        VolumeAppendModeEnabled = false,
    },
    Name = "string",
    OntapVolumeType = "string",
    SecurityStyle = "string",
    AggregateConfiguration = new Aws.Fsx.Inputs.OntapVolumeAggregateConfigurationArgs
    {
        Aggregates = new[]
        {
            "string",
        },
        ConstituentsPerAggregate = 0,
        TotalConstituents = 0,
    },
    VolumeType = "string",
    CopyTagsToBackups = false,
    JunctionPath = "string",
    SnapshotPolicy = "string",
    StorageEfficiencyEnabled = false,
    BypassSnaplockEnterpriseRetention = false,
    Tags = 
    {
        { "string", "string" },
    },
    TieringPolicy = new Aws.Fsx.Inputs.OntapVolumeTieringPolicyArgs
    {
        CoolingPeriod = 0,
        Name = "string",
    },
    VolumeStyle = "string",
    SizeInMegabytes = 0,
});
example, err := fsx.NewOntapVolume(ctx, "ontapVolumeResource", &fsx.OntapVolumeArgs{
	StorageVirtualMachineId: pulumi.String("string"),
	SizeInBytes:             pulumi.String("string"),
	FinalBackupTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	SkipFinalBackup: pulumi.Bool(false),
	SnaplockConfiguration: &fsx.OntapVolumeSnaplockConfigurationArgs{
		SnaplockType:   pulumi.String("string"),
		AuditLogVolume: pulumi.Bool(false),
		AutocommitPeriod: &fsx.OntapVolumeSnaplockConfigurationAutocommitPeriodArgs{
			Type:  pulumi.String("string"),
			Value: pulumi.Int(0),
		},
		PrivilegedDelete: pulumi.String("string"),
		RetentionPeriod: &fsx.OntapVolumeSnaplockConfigurationRetentionPeriodArgs{
			DefaultRetention: &fsx.OntapVolumeSnaplockConfigurationRetentionPeriodDefaultRetentionArgs{
				Type:  pulumi.String("string"),
				Value: pulumi.Int(0),
			},
			MaximumRetention: &fsx.OntapVolumeSnaplockConfigurationRetentionPeriodMaximumRetentionArgs{
				Type:  pulumi.String("string"),
				Value: pulumi.Int(0),
			},
			MinimumRetention: &fsx.OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs{
				Type:  pulumi.String("string"),
				Value: pulumi.Int(0),
			},
		},
		VolumeAppendModeEnabled: pulumi.Bool(false),
	},
	Name:            pulumi.String("string"),
	OntapVolumeType: pulumi.String("string"),
	SecurityStyle:   pulumi.String("string"),
	AggregateConfiguration: &fsx.OntapVolumeAggregateConfigurationArgs{
		Aggregates: pulumi.StringArray{
			pulumi.String("string"),
		},
		ConstituentsPerAggregate: pulumi.Int(0),
		TotalConstituents:        pulumi.Int(0),
	},
	VolumeType:                        pulumi.String("string"),
	CopyTagsToBackups:                 pulumi.Bool(false),
	JunctionPath:                      pulumi.String("string"),
	SnapshotPolicy:                    pulumi.String("string"),
	StorageEfficiencyEnabled:          pulumi.Bool(false),
	BypassSnaplockEnterpriseRetention: pulumi.Bool(false),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TieringPolicy: &fsx.OntapVolumeTieringPolicyArgs{
		CoolingPeriod: pulumi.Int(0),
		Name:          pulumi.String("string"),
	},
	VolumeStyle:     pulumi.String("string"),
	SizeInMegabytes: pulumi.Int(0),
})
var ontapVolumeResource = new OntapVolume("ontapVolumeResource", OntapVolumeArgs.builder()
    .storageVirtualMachineId("string")
    .sizeInBytes("string")
    .finalBackupTags(Map.of("string", "string"))
    .skipFinalBackup(false)
    .snaplockConfiguration(OntapVolumeSnaplockConfigurationArgs.builder()
        .snaplockType("string")
        .auditLogVolume(false)
        .autocommitPeriod(OntapVolumeSnaplockConfigurationAutocommitPeriodArgs.builder()
            .type("string")
            .value(0)
            .build())
        .privilegedDelete("string")
        .retentionPeriod(OntapVolumeSnaplockConfigurationRetentionPeriodArgs.builder()
            .defaultRetention(OntapVolumeSnaplockConfigurationRetentionPeriodDefaultRetentionArgs.builder()
                .type("string")
                .value(0)
                .build())
            .maximumRetention(OntapVolumeSnaplockConfigurationRetentionPeriodMaximumRetentionArgs.builder()
                .type("string")
                .value(0)
                .build())
            .minimumRetention(OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs.builder()
                .type("string")
                .value(0)
                .build())
            .build())
        .volumeAppendModeEnabled(false)
        .build())
    .name("string")
    .ontapVolumeType("string")
    .securityStyle("string")
    .aggregateConfiguration(OntapVolumeAggregateConfigurationArgs.builder()
        .aggregates("string")
        .constituentsPerAggregate(0)
        .totalConstituents(0)
        .build())
    .volumeType("string")
    .copyTagsToBackups(false)
    .junctionPath("string")
    .snapshotPolicy("string")
    .storageEfficiencyEnabled(false)
    .bypassSnaplockEnterpriseRetention(false)
    .tags(Map.of("string", "string"))
    .tieringPolicy(OntapVolumeTieringPolicyArgs.builder()
        .coolingPeriod(0)
        .name("string")
        .build())
    .volumeStyle("string")
    .sizeInMegabytes(0)
    .build());
ontap_volume_resource = aws.fsx.OntapVolume("ontapVolumeResource",
    storage_virtual_machine_id="string",
    size_in_bytes="string",
    final_backup_tags={
        "string": "string",
    },
    skip_final_backup=False,
    snaplock_configuration={
        "snaplock_type": "string",
        "audit_log_volume": False,
        "autocommit_period": {
            "type": "string",
            "value": 0,
        },
        "privileged_delete": "string",
        "retention_period": {
            "default_retention": {
                "type": "string",
                "value": 0,
            },
            "maximum_retention": {
                "type": "string",
                "value": 0,
            },
            "minimum_retention": {
                "type": "string",
                "value": 0,
            },
        },
        "volume_append_mode_enabled": False,
    },
    name="string",
    ontap_volume_type="string",
    security_style="string",
    aggregate_configuration={
        "aggregates": ["string"],
        "constituents_per_aggregate": 0,
        "total_constituents": 0,
    },
    volume_type="string",
    copy_tags_to_backups=False,
    junction_path="string",
    snapshot_policy="string",
    storage_efficiency_enabled=False,
    bypass_snaplock_enterprise_retention=False,
    tags={
        "string": "string",
    },
    tiering_policy={
        "cooling_period": 0,
        "name": "string",
    },
    volume_style="string",
    size_in_megabytes=0)
const ontapVolumeResource = new aws.fsx.OntapVolume("ontapVolumeResource", {
    storageVirtualMachineId: "string",
    sizeInBytes: "string",
    finalBackupTags: {
        string: "string",
    },
    skipFinalBackup: false,
    snaplockConfiguration: {
        snaplockType: "string",
        auditLogVolume: false,
        autocommitPeriod: {
            type: "string",
            value: 0,
        },
        privilegedDelete: "string",
        retentionPeriod: {
            defaultRetention: {
                type: "string",
                value: 0,
            },
            maximumRetention: {
                type: "string",
                value: 0,
            },
            minimumRetention: {
                type: "string",
                value: 0,
            },
        },
        volumeAppendModeEnabled: false,
    },
    name: "string",
    ontapVolumeType: "string",
    securityStyle: "string",
    aggregateConfiguration: {
        aggregates: ["string"],
        constituentsPerAggregate: 0,
        totalConstituents: 0,
    },
    volumeType: "string",
    copyTagsToBackups: false,
    junctionPath: "string",
    snapshotPolicy: "string",
    storageEfficiencyEnabled: false,
    bypassSnaplockEnterpriseRetention: false,
    tags: {
        string: "string",
    },
    tieringPolicy: {
        coolingPeriod: 0,
        name: "string",
    },
    volumeStyle: "string",
    sizeInMegabytes: 0,
});
type: aws:fsx:OntapVolume
properties:
    aggregateConfiguration:
        aggregates:
            - string
        constituentsPerAggregate: 0
        totalConstituents: 0
    bypassSnaplockEnterpriseRetention: false
    copyTagsToBackups: false
    finalBackupTags:
        string: string
    junctionPath: string
    name: string
    ontapVolumeType: string
    securityStyle: string
    sizeInBytes: string
    sizeInMegabytes: 0
    skipFinalBackup: false
    snaplockConfiguration:
        auditLogVolume: false
        autocommitPeriod:
            type: string
            value: 0
        privilegedDelete: string
        retentionPeriod:
            defaultRetention:
                type: string
                value: 0
            maximumRetention:
                type: string
                value: 0
            minimumRetention:
                type: string
                value: 0
        snaplockType: string
        volumeAppendModeEnabled: false
    snapshotPolicy: string
    storageEfficiencyEnabled: false
    storageVirtualMachineId: string
    tags:
        string: string
    tieringPolicy:
        coolingPeriod: 0
        name: string
    volumeStyle: string
    volumeType: string
OntapVolume Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OntapVolume resource accepts the following input properties:
- StorageVirtual stringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- AggregateConfiguration OntapVolume Aggregate Configuration 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- BypassSnaplock boolEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- bool
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- Dictionary<string, string>
- A map of tags to apply to the volume's final backup.
- JunctionPath string
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- Name string
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- OntapVolume stringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- SecurityStyle string
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- SizeIn stringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- SizeIn intMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- SkipFinal boolBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- SnaplockConfiguration OntapVolume Snaplock Configuration 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- SnapshotPolicy string
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- StorageEfficiency boolEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- Dictionary<string, string>
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- TieringPolicy OntapVolume Tiering Policy 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- VolumeStyle string
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- VolumeType string
- The type of volume, currently the only valid value is ONTAP.
- StorageVirtual stringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- AggregateConfiguration OntapVolume Aggregate Configuration Args 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- BypassSnaplock boolEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- bool
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- map[string]string
- A map of tags to apply to the volume's final backup.
- JunctionPath string
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- Name string
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- OntapVolume stringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- SecurityStyle string
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- SizeIn stringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- SizeIn intMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- SkipFinal boolBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- SnaplockConfiguration OntapVolume Snaplock Configuration Args 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- SnapshotPolicy string
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- StorageEfficiency boolEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- map[string]string
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- TieringPolicy OntapVolume Tiering Policy Args 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- VolumeStyle string
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- VolumeType string
- The type of volume, currently the only valid value is ONTAP.
- storageVirtual StringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- aggregateConfiguration OntapVolume Aggregate Configuration 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- bypassSnaplock BooleanEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- Boolean
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- Map<String,String>
- A map of tags to apply to the volume's final backup.
- junctionPath String
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- name String
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- ontapVolume StringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- securityStyle String
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- sizeIn StringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- sizeIn IntegerMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- skipFinal BooleanBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- snaplockConfiguration OntapVolume Snaplock Configuration 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- snapshotPolicy String
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storageEfficiency BooleanEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- Map<String,String>
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tieringPolicy OntapVolume Tiering Policy 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- volumeStyle String
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- volumeType String
- The type of volume, currently the only valid value is ONTAP.
- storageVirtual stringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- aggregateConfiguration OntapVolume Aggregate Configuration 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- bypassSnaplock booleanEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- boolean
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- {[key: string]: string}
- A map of tags to apply to the volume's final backup.
- junctionPath string
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- name string
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- ontapVolume stringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- securityStyle string
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- sizeIn stringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- sizeIn numberMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- skipFinal booleanBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- snaplockConfiguration OntapVolume Snaplock Configuration 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- snapshotPolicy string
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storageEfficiency booleanEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- {[key: string]: string}
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tieringPolicy OntapVolume Tiering Policy 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- volumeStyle string
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- volumeType string
- The type of volume, currently the only valid value is ONTAP.
- storage_virtual_ strmachine_ id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- aggregate_configuration OntapVolume Aggregate Configuration Args 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- bypass_snaplock_ boolenterprise_ retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- bool
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- Mapping[str, str]
- A map of tags to apply to the volume's final backup.
- junction_path str
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- name str
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- ontap_volume_ strtype 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- security_style str
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- size_in_ strbytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- size_in_ intmegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- skip_final_ boolbackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- snaplock_configuration OntapVolume Snaplock Configuration Args 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- snapshot_policy str
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storage_efficiency_ boolenabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- Mapping[str, str]
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tiering_policy OntapVolume Tiering Policy Args 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- volume_style str
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- volume_type str
- The type of volume, currently the only valid value is ONTAP.
- storageVirtual StringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- aggregateConfiguration Property Map
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- bypassSnaplock BooleanEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- Boolean
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- Map<String>
- A map of tags to apply to the volume's final backup.
- junctionPath String
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- name String
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- ontapVolume StringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- securityStyle String
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- sizeIn StringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- sizeIn NumberMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- skipFinal BooleanBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- snaplockConfiguration Property Map
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- snapshotPolicy String
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storageEfficiency BooleanEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- Map<String>
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tieringPolicy Property Map
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- volumeStyle String
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- volumeType String
- The type of volume, currently the only valid value is ONTAP.
Outputs
All input properties are implicitly available as output properties. Additionally, the OntapVolume resource produces the following output properties:
- Arn string
- Amazon Resource Name of the volune.
- FileSystem stringId 
- Describes the file system for the volume, e.g. fs-12345679
- FlexcacheEndpoint stringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Uuid string
- The Volume's UUID (universally unique identifier).
- Arn string
- Amazon Resource Name of the volune.
- FileSystem stringId 
- Describes the file system for the volume, e.g. fs-12345679
- FlexcacheEndpoint stringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Uuid string
- The Volume's UUID (universally unique identifier).
- arn String
- Amazon Resource Name of the volune.
- fileSystem StringId 
- Describes the file system for the volume, e.g. fs-12345679
- flexcacheEndpoint StringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uuid String
- The Volume's UUID (universally unique identifier).
- arn string
- Amazon Resource Name of the volune.
- fileSystem stringId 
- Describes the file system for the volume, e.g. fs-12345679
- flexcacheEndpoint stringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uuid string
- The Volume's UUID (universally unique identifier).
- arn str
- Amazon Resource Name of the volune.
- file_system_ strid 
- Describes the file system for the volume, e.g. fs-12345679
- flexcache_endpoint_ strtype 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uuid str
- The Volume's UUID (universally unique identifier).
- arn String
- Amazon Resource Name of the volune.
- fileSystem StringId 
- Describes the file system for the volume, e.g. fs-12345679
- flexcacheEndpoint StringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- uuid String
- The Volume's UUID (universally unique identifier).
Look up Existing OntapVolume Resource
Get an existing OntapVolume resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OntapVolumeState, opts?: CustomResourceOptions): OntapVolume@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aggregate_configuration: Optional[OntapVolumeAggregateConfigurationArgs] = None,
        arn: Optional[str] = None,
        bypass_snaplock_enterprise_retention: Optional[bool] = None,
        copy_tags_to_backups: Optional[bool] = None,
        file_system_id: Optional[str] = None,
        final_backup_tags: Optional[Mapping[str, str]] = None,
        flexcache_endpoint_type: Optional[str] = None,
        junction_path: Optional[str] = None,
        name: Optional[str] = None,
        ontap_volume_type: Optional[str] = None,
        security_style: Optional[str] = None,
        size_in_bytes: Optional[str] = None,
        size_in_megabytes: Optional[int] = None,
        skip_final_backup: Optional[bool] = None,
        snaplock_configuration: Optional[OntapVolumeSnaplockConfigurationArgs] = None,
        snapshot_policy: Optional[str] = None,
        storage_efficiency_enabled: Optional[bool] = None,
        storage_virtual_machine_id: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        tiering_policy: Optional[OntapVolumeTieringPolicyArgs] = None,
        uuid: Optional[str] = None,
        volume_style: Optional[str] = None,
        volume_type: Optional[str] = None) -> OntapVolumefunc GetOntapVolume(ctx *Context, name string, id IDInput, state *OntapVolumeState, opts ...ResourceOption) (*OntapVolume, error)public static OntapVolume Get(string name, Input<string> id, OntapVolumeState? state, CustomResourceOptions? opts = null)public static OntapVolume get(String name, Output<String> id, OntapVolumeState state, CustomResourceOptions options)resources:  _:    type: aws:fsx:OntapVolume    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AggregateConfiguration OntapVolume Aggregate Configuration 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- Arn string
- Amazon Resource Name of the volune.
- BypassSnaplock boolEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- bool
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- FileSystem stringId 
- Describes the file system for the volume, e.g. fs-12345679
- Dictionary<string, string>
- A map of tags to apply to the volume's final backup.
- FlexcacheEndpoint stringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- JunctionPath string
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- Name string
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- OntapVolume stringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- SecurityStyle string
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- SizeIn stringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- SizeIn intMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- SkipFinal boolBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- SnaplockConfiguration OntapVolume Snaplock Configuration 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- SnapshotPolicy string
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- StorageEfficiency boolEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- StorageVirtual stringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- Dictionary<string, string>
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- TieringPolicy OntapVolume Tiering Policy 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- Uuid string
- The Volume's UUID (universally unique identifier).
- VolumeStyle string
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- VolumeType string
- The type of volume, currently the only valid value is ONTAP.
- AggregateConfiguration OntapVolume Aggregate Configuration Args 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- Arn string
- Amazon Resource Name of the volune.
- BypassSnaplock boolEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- bool
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- FileSystem stringId 
- Describes the file system for the volume, e.g. fs-12345679
- map[string]string
- A map of tags to apply to the volume's final backup.
- FlexcacheEndpoint stringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- JunctionPath string
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- Name string
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- OntapVolume stringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- SecurityStyle string
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- SizeIn stringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- SizeIn intMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- SkipFinal boolBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- SnaplockConfiguration OntapVolume Snaplock Configuration Args 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- SnapshotPolicy string
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- StorageEfficiency boolEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- StorageVirtual stringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- map[string]string
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- TieringPolicy OntapVolume Tiering Policy Args 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- Uuid string
- The Volume's UUID (universally unique identifier).
- VolumeStyle string
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- VolumeType string
- The type of volume, currently the only valid value is ONTAP.
- aggregateConfiguration OntapVolume Aggregate Configuration 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- arn String
- Amazon Resource Name of the volune.
- bypassSnaplock BooleanEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- Boolean
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- fileSystem StringId 
- Describes the file system for the volume, e.g. fs-12345679
- Map<String,String>
- A map of tags to apply to the volume's final backup.
- flexcacheEndpoint StringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- junctionPath String
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- name String
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- ontapVolume StringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- securityStyle String
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- sizeIn StringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- sizeIn IntegerMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- skipFinal BooleanBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- snaplockConfiguration OntapVolume Snaplock Configuration 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- snapshotPolicy String
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storageEfficiency BooleanEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- storageVirtual StringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- Map<String,String>
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tieringPolicy OntapVolume Tiering Policy 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- uuid String
- The Volume's UUID (universally unique identifier).
- volumeStyle String
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- volumeType String
- The type of volume, currently the only valid value is ONTAP.
- aggregateConfiguration OntapVolume Aggregate Configuration 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- arn string
- Amazon Resource Name of the volune.
- bypassSnaplock booleanEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- boolean
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- fileSystem stringId 
- Describes the file system for the volume, e.g. fs-12345679
- {[key: string]: string}
- A map of tags to apply to the volume's final backup.
- flexcacheEndpoint stringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- junctionPath string
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- name string
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- ontapVolume stringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- securityStyle string
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- sizeIn stringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- sizeIn numberMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- skipFinal booleanBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- snaplockConfiguration OntapVolume Snaplock Configuration 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- snapshotPolicy string
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storageEfficiency booleanEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- storageVirtual stringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- {[key: string]: string}
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tieringPolicy OntapVolume Tiering Policy 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- uuid string
- The Volume's UUID (universally unique identifier).
- volumeStyle string
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- volumeType string
- The type of volume, currently the only valid value is ONTAP.
- aggregate_configuration OntapVolume Aggregate Configuration Args 
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- arn str
- Amazon Resource Name of the volune.
- bypass_snaplock_ boolenterprise_ retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- bool
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- file_system_ strid 
- Describes the file system for the volume, e.g. fs-12345679
- Mapping[str, str]
- A map of tags to apply to the volume's final backup.
- flexcache_endpoint_ strtype 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- junction_path str
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- name str
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- ontap_volume_ strtype 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- security_style str
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- size_in_ strbytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- size_in_ intmegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- skip_final_ boolbackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- snaplock_configuration OntapVolume Snaplock Configuration Args 
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- snapshot_policy str
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storage_efficiency_ boolenabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- storage_virtual_ strmachine_ id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- Mapping[str, str]
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tiering_policy OntapVolume Tiering Policy Args 
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- uuid str
- The Volume's UUID (universally unique identifier).
- volume_style str
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- volume_type str
- The type of volume, currently the only valid value is ONTAP.
- aggregateConfiguration Property Map
- The Aggregate configuration only applies to FLEXGROUPvolumes. See [aggregate_configurationBlock] for details.
- arn String
- Amazon Resource Name of the volune.
- bypassSnaplock BooleanEnterprise Retention 
- Setting this to trueallows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults tofalse.
- Boolean
- A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false.
- fileSystem StringId 
- Describes the file system for the volume, e.g. fs-12345679
- Map<String>
- A map of tags to apply to the volume's final backup.
- flexcacheEndpoint StringType 
- Specifies the FlexCache endpoint type of the volume, Valid values are NONE,ORIGIN,CACHE. Default value isNONE. These can be set by the ONTAP CLI or API and are use with FlexCache feature.
- junctionPath String
- Specifies the location in the storage virtual machine's namespace where the volume is mounted. The junction_path must have a leading forward slash, such as /vol3
- name String
- The name of the Volume. You can use a maximum of 203 alphanumeric characters, plus the underscore (_) special character.
- ontapVolume StringType 
- Specifies the type of volume, valid values are RW,DP. Default value isRW. These can be set by the ONTAP CLI or API. This setting is used as part of migration and replication Migrating to Amazon FSx for NetApp ONTAP
- securityStyle String
- Specifies the volume security style, Valid values are UNIX,NTFS, andMIXED.
- sizeIn StringBytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Can be used for any size but required for volumes over 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- sizeIn NumberMegabytes 
- Specifies the size of the volume, in megabytes (MB), that you are creating. Supported when creating volumes under 2 PB. Either size_in_bytes or size_in_megabytes must be specified. Minimum size for FLEXGROUPvolumes are 100GiB per constituent.
- skipFinal BooleanBackup 
- When enabled, will skip the default final backup taken when the volume is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to false.
- snaplockConfiguration Property Map
- The SnapLock configuration for an FSx for ONTAP volume. See snaplock_configurationBlock for details.
- snapshotPolicy String
- Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storageEfficiency BooleanEnabled 
- Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- storageVirtual StringMachine Id 
- Specifies the storage virtual machine in which to create the volume. - The following arguments are optional: 
- Map<String>
- A map of tags to assign to the volume. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tieringPolicy Property Map
- The data tiering policy for an FSx for ONTAP volume. See tiering_policyBlock for details.
- uuid String
- The Volume's UUID (universally unique identifier).
- volumeStyle String
- Specifies the styles of volume, valid values are FLEXVOL,FLEXGROUP. Default value isFLEXVOL. FLEXGROUPS have a larger minimum and maximum size. See Volume Styles for more details. Volume Styles
- volumeType String
- The type of volume, currently the only valid value is ONTAP.
Supporting Types
OntapVolumeAggregateConfiguration, OntapVolumeAggregateConfigurationArgs        
- Aggregates List<string>
- Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
- ConstituentsPer intAggregate 
- Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is 8.
- TotalConstituents int
- The total amount of constituents for a FLEXGROUPvolume. This would equal constituents_per_aggregate x aggregates.
- Aggregates []string
- Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
- ConstituentsPer intAggregate 
- Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is 8.
- TotalConstituents int
- The total amount of constituents for a FLEXGROUPvolume. This would equal constituents_per_aggregate x aggregates.
- aggregates List<String>
- Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
- constituentsPer IntegerAggregate 
- Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is 8.
- totalConstituents Integer
- The total amount of constituents for a FLEXGROUPvolume. This would equal constituents_per_aggregate x aggregates.
- aggregates string[]
- Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
- constituentsPer numberAggregate 
- Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is 8.
- totalConstituents number
- The total amount of constituents for a FLEXGROUPvolume. This would equal constituents_per_aggregate x aggregates.
- aggregates Sequence[str]
- Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
- constituents_per_ intaggregate 
- Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is 8.
- total_constituents int
- The total amount of constituents for a FLEXGROUPvolume. This would equal constituents_per_aggregate x aggregates.
- aggregates List<String>
- Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
- constituentsPer NumberAggregate 
- Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is 8.
- totalConstituents Number
- The total amount of constituents for a FLEXGROUPvolume. This would equal constituents_per_aggregate x aggregates.
OntapVolumeSnaplockConfiguration, OntapVolumeSnaplockConfigurationArgs        
- SnaplockType string
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. Valid values: COMPLIANCE,ENTERPRISE.
- AuditLog boolVolume 
- Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is false.
- AutocommitPeriod OntapVolume Snaplock Configuration Autocommit Period 
- The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume. See autocommit_periodBlock for details.
- PrivilegedDelete string
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume. Valid values: DISABLED,ENABLED,PERMANENTLY_DISABLED. The default value isDISABLED.
- RetentionPeriod OntapVolume Snaplock Configuration Retention Period 
- The retention period of an FSx for ONTAP SnapLock volume. See retention_periodBlock for details.
- VolumeAppend boolMode Enabled 
- Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is false.
- SnaplockType string
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. Valid values: COMPLIANCE,ENTERPRISE.
- AuditLog boolVolume 
- Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is false.
- AutocommitPeriod OntapVolume Snaplock Configuration Autocommit Period 
- The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume. See autocommit_periodBlock for details.
- PrivilegedDelete string
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume. Valid values: DISABLED,ENABLED,PERMANENTLY_DISABLED. The default value isDISABLED.
- RetentionPeriod OntapVolume Snaplock Configuration Retention Period 
- The retention period of an FSx for ONTAP SnapLock volume. See retention_periodBlock for details.
- VolumeAppend boolMode Enabled 
- Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is false.
- snaplockType String
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. Valid values: COMPLIANCE,ENTERPRISE.
- auditLog BooleanVolume 
- Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is false.
- autocommitPeriod OntapVolume Snaplock Configuration Autocommit Period 
- The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume. See autocommit_periodBlock for details.
- privilegedDelete String
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume. Valid values: DISABLED,ENABLED,PERMANENTLY_DISABLED. The default value isDISABLED.
- retentionPeriod OntapVolume Snaplock Configuration Retention Period 
- The retention period of an FSx for ONTAP SnapLock volume. See retention_periodBlock for details.
- volumeAppend BooleanMode Enabled 
- Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is false.
- snaplockType string
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. Valid values: COMPLIANCE,ENTERPRISE.
- auditLog booleanVolume 
- Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is false.
- autocommitPeriod OntapVolume Snaplock Configuration Autocommit Period 
- The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume. See autocommit_periodBlock for details.
- privilegedDelete string
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume. Valid values: DISABLED,ENABLED,PERMANENTLY_DISABLED. The default value isDISABLED.
- retentionPeriod OntapVolume Snaplock Configuration Retention Period 
- The retention period of an FSx for ONTAP SnapLock volume. See retention_periodBlock for details.
- volumeAppend booleanMode Enabled 
- Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is false.
- snaplock_type str
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. Valid values: COMPLIANCE,ENTERPRISE.
- audit_log_ boolvolume 
- Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is false.
- autocommit_period OntapVolume Snaplock Configuration Autocommit Period 
- The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume. See autocommit_periodBlock for details.
- privileged_delete str
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume. Valid values: DISABLED,ENABLED,PERMANENTLY_DISABLED. The default value isDISABLED.
- retention_period OntapVolume Snaplock Configuration Retention Period 
- The retention period of an FSx for ONTAP SnapLock volume. See retention_periodBlock for details.
- volume_append_ boolmode_ enabled 
- Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is false.
- snaplockType String
- Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. Valid values: COMPLIANCE,ENTERPRISE.
- auditLog BooleanVolume 
- Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is false.
- autocommitPeriod Property Map
- The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume. See autocommit_periodBlock for details.
- privilegedDelete String
- Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock Enterprise volume. Valid values: DISABLED,ENABLED,PERMANENTLY_DISABLED. The default value isDISABLED.
- retentionPeriod Property Map
- The retention period of an FSx for ONTAP SnapLock volume. See retention_periodBlock for details.
- volumeAppend BooleanMode Enabled 
- Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is false.
OntapVolumeSnaplockConfigurationAutocommitPeriod, OntapVolumeSnaplockConfigurationAutocommitPeriodArgs            
- Type string
- The type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONEdisables autocommit. Valid values:MINUTES,HOURS,DAYS,MONTHS,YEARS,NONE.
- Value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- Type string
- The type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONEdisables autocommit. Valid values:MINUTES,HOURS,DAYS,MONTHS,YEARS,NONE.
- Value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type String
- The type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONEdisables autocommit. Valid values:MINUTES,HOURS,DAYS,MONTHS,YEARS,NONE.
- value Integer
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type string
- The type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONEdisables autocommit. Valid values:MINUTES,HOURS,DAYS,MONTHS,YEARS,NONE.
- value number
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type str
- The type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONEdisables autocommit. Valid values:MINUTES,HOURS,DAYS,MONTHS,YEARS,NONE.
- value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type String
- The type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. Setting this value to NONEdisables autocommit. Valid values:MINUTES,HOURS,DAYS,MONTHS,YEARS,NONE.
- value Number
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
OntapVolumeSnaplockConfigurationRetentionPeriod, OntapVolumeSnaplockConfigurationRetentionPeriodArgs            
- DefaultRetention OntapVolume Snaplock Configuration Retention Period Default Retention 
- The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period. See default_retentionBlock for details.
- MaximumRetention OntapVolume Snaplock Configuration Retention Period Maximum Retention 
- The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See maximum_retentionBlock for details.
- MinimumRetention OntapVolume Snaplock Configuration Retention Period Minimum Retention 
- The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See minimum_retentionBlock for details.
- DefaultRetention OntapVolume Snaplock Configuration Retention Period Default Retention 
- The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period. See default_retentionBlock for details.
- MaximumRetention OntapVolume Snaplock Configuration Retention Period Maximum Retention 
- The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See maximum_retentionBlock for details.
- MinimumRetention OntapVolume Snaplock Configuration Retention Period Minimum Retention 
- The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See minimum_retentionBlock for details.
- defaultRetention OntapVolume Snaplock Configuration Retention Period Default Retention 
- The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period. See default_retentionBlock for details.
- maximumRetention OntapVolume Snaplock Configuration Retention Period Maximum Retention 
- The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See maximum_retentionBlock for details.
- minimumRetention OntapVolume Snaplock Configuration Retention Period Minimum Retention 
- The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See minimum_retentionBlock for details.
- defaultRetention OntapVolume Snaplock Configuration Retention Period Default Retention 
- The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period. See default_retentionBlock for details.
- maximumRetention OntapVolume Snaplock Configuration Retention Period Maximum Retention 
- The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See maximum_retentionBlock for details.
- minimumRetention OntapVolume Snaplock Configuration Retention Period Minimum Retention 
- The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See minimum_retentionBlock for details.
- default_retention OntapVolume Snaplock Configuration Retention Period Default Retention 
- The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period. See default_retentionBlock for details.
- maximum_retention OntapVolume Snaplock Configuration Retention Period Maximum Retention 
- The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See maximum_retentionBlock for details.
- minimum_retention OntapVolume Snaplock Configuration Retention Period Minimum Retention 
- The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See minimum_retentionBlock for details.
- defaultRetention Property Map
- The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period. See default_retentionBlock for details.
- maximumRetention Property Map
- The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See maximum_retentionBlock for details.
- minimumRetention Property Map
- The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See minimum_retentionBlock for details.
OntapVolumeSnaplockConfigurationRetentionPeriodDefaultRetention, OntapVolumeSnaplockConfigurationRetentionPeriodDefaultRetentionArgs                
- Type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- Value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- Type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- Value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type String
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value Integer
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value number
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type str
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type String
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value Number
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
OntapVolumeSnaplockConfigurationRetentionPeriodMaximumRetention, OntapVolumeSnaplockConfigurationRetentionPeriodMaximumRetentionArgs                
- Type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- Value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- Type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- Value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type String
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value Integer
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value number
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type str
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type String
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value Number
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetention, OntapVolumeSnaplockConfigurationRetentionPeriodMinimumRetentionArgs                
- Type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- Value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- Type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- Value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type String
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value Integer
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type string
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value number
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type str
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value int
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
- type String
- The type of time for the retention period of an FSx for ONTAP SnapLock volume. Set it to one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it toUNSPECIFIED, the files are retained until you set an explicit retention period. Valid values:SECONDS,MINUTES,HOURS,DAYS,MONTHS,YEARS,INFINITE,UNSPECIFIED.
- value Number
- The amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
OntapVolumeTieringPolicy, OntapVolumeTieringPolicyArgs        
- CoolingPeriod int
- Specifies the number of days that user data in a volume must remain inactive before it is considered "cold" and moved to the capacity pool. Used with AUTOandSNAPSHOT_ONLYtiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTOand 2 days forSNAPSHOT_ONLY.
- Name string
- Specifies the tiering policy for the ONTAP volume for moving data to the capacity pool storage. Valid values are SNAPSHOT_ONLY,AUTO,ALL,NONE. Default value isSNAPSHOT_ONLY.
- CoolingPeriod int
- Specifies the number of days that user data in a volume must remain inactive before it is considered "cold" and moved to the capacity pool. Used with AUTOandSNAPSHOT_ONLYtiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTOand 2 days forSNAPSHOT_ONLY.
- Name string
- Specifies the tiering policy for the ONTAP volume for moving data to the capacity pool storage. Valid values are SNAPSHOT_ONLY,AUTO,ALL,NONE. Default value isSNAPSHOT_ONLY.
- coolingPeriod Integer
- Specifies the number of days that user data in a volume must remain inactive before it is considered "cold" and moved to the capacity pool. Used with AUTOandSNAPSHOT_ONLYtiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTOand 2 days forSNAPSHOT_ONLY.
- name String
- Specifies the tiering policy for the ONTAP volume for moving data to the capacity pool storage. Valid values are SNAPSHOT_ONLY,AUTO,ALL,NONE. Default value isSNAPSHOT_ONLY.
- coolingPeriod number
- Specifies the number of days that user data in a volume must remain inactive before it is considered "cold" and moved to the capacity pool. Used with AUTOandSNAPSHOT_ONLYtiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTOand 2 days forSNAPSHOT_ONLY.
- name string
- Specifies the tiering policy for the ONTAP volume for moving data to the capacity pool storage. Valid values are SNAPSHOT_ONLY,AUTO,ALL,NONE. Default value isSNAPSHOT_ONLY.
- cooling_period int
- Specifies the number of days that user data in a volume must remain inactive before it is considered "cold" and moved to the capacity pool. Used with AUTOandSNAPSHOT_ONLYtiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTOand 2 days forSNAPSHOT_ONLY.
- name str
- Specifies the tiering policy for the ONTAP volume for moving data to the capacity pool storage. Valid values are SNAPSHOT_ONLY,AUTO,ALL,NONE. Default value isSNAPSHOT_ONLY.
- coolingPeriod Number
- Specifies the number of days that user data in a volume must remain inactive before it is considered "cold" and moved to the capacity pool. Used with AUTOandSNAPSHOT_ONLYtiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTOand 2 days forSNAPSHOT_ONLY.
- name String
- Specifies the tiering policy for the ONTAP volume for moving data to the capacity pool storage. Valid values are SNAPSHOT_ONLY,AUTO,ALL,NONE. Default value isSNAPSHOT_ONLY.
Import
Using pulumi import, import FSx ONTAP volume using the id. For example:
$ pulumi import aws:fsx/ontapVolume:OntapVolume example fsvol-12345678abcdef123
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.