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={
"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",
ontap_volume_type="string",
security_style="string",
aggregate_configuration={
"aggregates": ["string"],
"constituentsPerAggregate": 0,
"totalConstituents": 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={
"coolingPeriod": 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
The OntapVolume resource accepts the following input properties:
- Storage
Virtual stringMachine Id Specifies the storage virtual machine in which to create the volume.
The following arguments are optional:
- Aggregate
Configuration Pulumi.Aws. Fsx. Inputs. Ontap Volume Aggregate Configuration - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - Bypass
Snaplock boolEnterprise Retention - Setting this to
true
allows 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.
- Junction
Path 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.
- Ontap
Volume 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 - Security
Style string - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - Size
In 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
FLEXGROUP
volumes 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
FLEXGROUP
volumes 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 Pulumi.Aws. Fsx. Inputs. Ontap Volume Snaplock Configuration - The SnapLock configuration for an FSx for ONTAP volume. See
snaplock_configuration
Block for details. - Snapshot
Policy string - 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.
- Dictionary<string, string>
- A map of tags to assign to the volume. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Tiering
Policy Pulumi.Aws. Fsx. Inputs. Ontap Volume Tiering Policy - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - Volume
Style 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 - Volume
Type string - The type of volume, currently the only valid value is
ONTAP
.
- Storage
Virtual stringMachine 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
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - Bypass
Snaplock boolEnterprise Retention - Setting this to
true
allows 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.
- Junction
Path 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.
- Ontap
Volume 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 - Security
Style string - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - Size
In 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
FLEXGROUP
volumes 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
FLEXGROUP
volumes 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_configuration
Block for details. - Snapshot
Policy string - 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.
- map[string]string
- A map of tags to assign to the volume. If configured with a provider
default_tags
configuration 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_policy
Block for details. - Volume
Style 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 - Volume
Type string - The type of volume, currently the only valid value is
ONTAP
.
- storage
Virtual StringMachine Id Specifies the storage virtual machine in which to create the volume.
The following arguments are optional:
- aggregate
Configuration OntapVolume Aggregate Configuration - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - bypass
Snaplock BooleanEnterprise Retention - Setting this to
true
allows 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.
- junction
Path 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.
- ontap
Volume 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 - security
Style String - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - skip
Final 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
. - snaplock
Configuration OntapVolume Snaplock Configuration - The SnapLock configuration for an FSx for ONTAP volume. See
snaplock_configuration
Block for details. - snapshot
Policy String - Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storage
Efficiency 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - tiering
Policy OntapVolume Tiering Policy - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - volume
Style 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 - volume
Type String - The type of volume, currently the only valid value is
ONTAP
.
- storage
Virtual stringMachine Id Specifies the storage virtual machine in which to create the volume.
The following arguments are optional:
- aggregate
Configuration OntapVolume Aggregate Configuration - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - bypass
Snaplock booleanEnterprise Retention - Setting this to
true
allows 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.
- junction
Path 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.
- ontap
Volume 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 - security
Style string - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - skip
Final 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
. - snaplock
Configuration OntapVolume Snaplock Configuration - The SnapLock configuration for an FSx for ONTAP volume. See
snaplock_configuration
Block for details. - snapshot
Policy string - Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storage
Efficiency 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - tiering
Policy OntapVolume Tiering Policy - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - volume
Style 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 - volume
Type 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
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - bypass_
snaplock_ boolenterprise_ retention - Setting this to
true
allows 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
FLEXGROUP
volumes 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
FLEXGROUP
volumes 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_configuration
Block 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_tags
configuration 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_policy
Block 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
.
- storage
Virtual StringMachine Id Specifies the storage virtual machine in which to create the volume.
The following arguments are optional:
- aggregate
Configuration Property Map - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - bypass
Snaplock BooleanEnterprise Retention - Setting this to
true
allows 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.
- junction
Path 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.
- ontap
Volume 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 - security
Style String - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - skip
Final 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
. - snaplock
Configuration Property Map - The SnapLock configuration for an FSx for ONTAP volume. See
snaplock_configuration
Block for details. - snapshot
Policy String - Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storage
Efficiency 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - tiering
Policy Property Map - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - volume
Style 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 - volume
Type 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.
- File
System stringId - Describes the file system for the volume, e.g.
fs-12345679
- Flexcache
Endpoint 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_tags
configuration block. - Uuid string
- The Volume's UUID (universally unique identifier).
- Arn string
- Amazon Resource Name of the volune.
- File
System stringId - Describes the file system for the volume, e.g.
fs-12345679
- Flexcache
Endpoint 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_tags
configuration block. - Uuid string
- The Volume's UUID (universally unique identifier).
- arn String
- Amazon Resource Name of the volune.
- file
System StringId - Describes the file system for the volume, e.g.
fs-12345679
- flexcache
Endpoint 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_tags
configuration block. - uuid String
- The Volume's UUID (universally unique identifier).
- arn string
- Amazon Resource Name of the volune.
- file
System stringId - Describes the file system for the volume, e.g.
fs-12345679
- flexcache
Endpoint 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_tags
configuration 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_tags
configuration block. - uuid str
- The Volume's UUID (universally unique identifier).
- arn String
- Amazon Resource Name of the volune.
- file
System StringId - Describes the file system for the volume, e.g.
fs-12345679
- flexcache
Endpoint 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_tags
configuration 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) -> OntapVolume
func 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)
Resource lookup is not supported in YAML
- 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.
- Aggregate
Configuration Pulumi.Aws. Fsx. Inputs. Ontap Volume Aggregate Configuration - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - Arn string
- Amazon Resource Name of the volune.
- Bypass
Snaplock boolEnterprise Retention - Setting this to
true
allows 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 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.
- Flexcache
Endpoint 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. - Junction
Path 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.
- Ontap
Volume 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 - Security
Style string - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - Size
In 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
FLEXGROUP
volumes 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
FLEXGROUP
volumes 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 Pulumi.Aws. Fsx. Inputs. Ontap Volume Snaplock Configuration - The SnapLock configuration for an FSx for ONTAP volume. See
snaplock_configuration
Block for details. - Snapshot
Policy string - 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 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_tags
configuration 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_tags
configuration block. - Tiering
Policy Pulumi.Aws. Fsx. Inputs. Ontap Volume Tiering Policy - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - Uuid string
- The Volume's UUID (universally unique identifier).
- Volume
Style 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 - Volume
Type string - The type of volume, currently the only valid value is
ONTAP
.
- Aggregate
Configuration OntapVolume Aggregate Configuration Args - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - Arn string
- Amazon Resource Name of the volune.
- Bypass
Snaplock boolEnterprise Retention - Setting this to
true
allows 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 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.
- Flexcache
Endpoint 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. - Junction
Path 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.
- Ontap
Volume 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 - Security
Style string - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - Size
In 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
FLEXGROUP
volumes 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
FLEXGROUP
volumes 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_configuration
Block for details. - Snapshot
Policy string - 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 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_tags
configuration 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_tags
configuration block. - Tiering
Policy OntapVolume Tiering Policy Args - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - Uuid string
- The Volume's UUID (universally unique identifier).
- Volume
Style 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 - Volume
Type string - The type of volume, currently the only valid value is
ONTAP
.
- aggregate
Configuration OntapVolume Aggregate Configuration - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - arn String
- Amazon Resource Name of the volune.
- bypass
Snaplock BooleanEnterprise Retention - Setting this to
true
allows 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
. - file
System 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.
- flexcache
Endpoint 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. - junction
Path 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.
- ontap
Volume 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 - security
Style String - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - skip
Final 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
. - snaplock
Configuration OntapVolume Snaplock Configuration - The SnapLock configuration for an FSx for ONTAP volume. See
snaplock_configuration
Block for details. - snapshot
Policy String - Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storage
Efficiency BooleanEnabled - Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- storage
Virtual 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_tags
configuration 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_tags
configuration block. - tiering
Policy OntapVolume Tiering Policy - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - uuid String
- The Volume's UUID (universally unique identifier).
- volume
Style 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 - volume
Type String - The type of volume, currently the only valid value is
ONTAP
.
- aggregate
Configuration OntapVolume Aggregate Configuration - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - arn string
- Amazon Resource Name of the volune.
- bypass
Snaplock booleanEnterprise Retention - Setting this to
true
allows 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
. - file
System 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.
- flexcache
Endpoint 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. - junction
Path 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.
- ontap
Volume 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 - security
Style string - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - skip
Final 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
. - snaplock
Configuration OntapVolume Snaplock Configuration - The SnapLock configuration for an FSx for ONTAP volume. See
snaplock_configuration
Block for details. - snapshot
Policy string - Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storage
Efficiency booleanEnabled - Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- storage
Virtual 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_tags
configuration 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_tags
configuration block. - tiering
Policy OntapVolume Tiering Policy - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - uuid string
- The Volume's UUID (universally unique identifier).
- volume
Style 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 - volume
Type string - The type of volume, currently the only valid value is
ONTAP
.
- aggregate_
configuration OntapVolume Aggregate Configuration Args - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - arn str
- Amazon Resource Name of the volune.
- bypass_
snaplock_ boolenterprise_ retention - Setting this to
true
allows 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
FLEXGROUP
volumes 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
FLEXGROUP
volumes 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_configuration
Block 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_tags
configuration 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_tags
configuration block. - tiering_
policy OntapVolume Tiering Policy Args - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block 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
.
- aggregate
Configuration Property Map - The Aggregate configuration only applies to
FLEXGROUP
volumes. See [aggregate_configuration
Block] for details. - arn String
- Amazon Resource Name of the volune.
- bypass
Snaplock BooleanEnterprise Retention - Setting this to
true
allows 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
. - file
System 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.
- flexcache
Endpoint 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. - junction
Path 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.
- ontap
Volume 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 - security
Style String - Specifies the volume security style, Valid values are
UNIX
,NTFS
, andMIXED
. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - size
In 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
FLEXGROUP
volumes are 100GiB per constituent. - skip
Final 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
. - snaplock
Configuration Property Map - The SnapLock configuration for an FSx for ONTAP volume. See
snaplock_configuration
Block for details. - snapshot
Policy String - Specifies the snapshot policy for the volume. See snapshot policies in the Amazon FSx ONTAP User Guide
- storage
Efficiency BooleanEnabled - Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
- storage
Virtual 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_tags
configuration 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_tags
configuration block. - tiering
Policy Property Map - The data tiering policy for an FSx for ONTAP volume. See
tiering_policy
Block for details. - uuid String
- The Volume's UUID (universally unique identifier).
- volume
Style 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 - volume
Type 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.
- 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
FLEXGROUP
volume. 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.
- 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
FLEXGROUP
volume. 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.
- constituents
Per IntegerAggregate - Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is
8
. - total
Constituents Integer - The total amount of constituents for a
FLEXGROUP
volume. 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.
- constituents
Per numberAggregate - Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is
8
. - total
Constituents number - The total amount of constituents for a
FLEXGROUP
volume. 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
FLEXGROUP
volume. 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.
- constituents
Per NumberAggregate - Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is
8
. - total
Constituents Number - The total amount of constituents for a
FLEXGROUP
volume. This would equal constituents_per_aggregate x aggregates.
OntapVolumeSnaplockConfiguration, OntapVolumeSnaplockConfigurationArgs
- Snaplock
Type 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
. - Audit
Log boolVolume - Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is
false
. - Autocommit
Period Pulumi.Aws. Fsx. Inputs. Ontap Volume Snaplock Configuration Autocommit Period - The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume. See
autocommit_period
Block for details. - Privileged
Delete 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
. - Retention
Period Pulumi.Aws. Fsx. Inputs. Ontap Volume Snaplock Configuration Retention Period - The retention period of an FSx for ONTAP SnapLock volume. See
retention_period
Block for details. - Volume
Append boolMode Enabled - Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is
false
.
- Snaplock
Type 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
. - 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_period
Block for details. - Privileged
Delete 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
. - Retention
Period OntapVolume Snaplock Configuration Retention Period - The retention period of an FSx for ONTAP SnapLock volume. See
retention_period
Block for details. - Volume
Append boolMode Enabled - Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is
false
.
- snaplock
Type 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
. - audit
Log BooleanVolume - 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_period
Block for details. - privileged
Delete 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
. - retention
Period OntapVolume Snaplock Configuration Retention Period - The retention period of an FSx for ONTAP SnapLock volume. See
retention_period
Block for details. - volume
Append BooleanMode Enabled - Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is
false
.
- snaplock
Type 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
. - audit
Log booleanVolume - 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_period
Block for details. - privileged
Delete 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
. - retention
Period OntapVolume Snaplock Configuration Retention Period - The retention period of an FSx for ONTAP SnapLock volume. See
retention_period
Block for details. - volume
Append 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_period
Block 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_period
Block for details. - volume_
append_ boolmode_ enabled - Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. The default value is
false
.
- snaplock
Type 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
. - audit
Log BooleanVolume - Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The default value is
false
. - autocommit
Period Property Map - The configuration object for setting the autocommit period of files in an FSx for ONTAP SnapLock volume. See
autocommit_period
Block for details. - privileged
Delete 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
. - retention
Period Property Map - The retention period of an FSx for ONTAP SnapLock volume. See
retention_period
Block for details. - volume
Append 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
NONE
disables 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
NONE
disables 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
NONE
disables 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
NONE
disables 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
NONE
disables 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
NONE
disables 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
- Default
Retention Pulumi.Aws. Fsx. Inputs. Ontap Volume 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_retention
Block for details. - Maximum
Retention Pulumi.Aws. Fsx. Inputs. Ontap Volume 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_retention
Block for details. - Minimum
Retention Pulumi.Aws. Fsx. Inputs. Ontap Volume 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block 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_retention
Block for details.
- default
Retention 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_retention
Block for details. - maximum
Retention Property Map - The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See
maximum_retention
Block for details. - minimum
Retention Property Map - The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume. See
minimum_retention
Block 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
- 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
AUTO
andSNAPSHOT_ONLY
tiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTO
and 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
AUTO
andSNAPSHOT_ONLY
tiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTO
and 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 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
AUTO
andSNAPSHOT_ONLY
tiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTO
and 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 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
AUTO
andSNAPSHOT_ONLY
tiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTO
and 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
AUTO
andSNAPSHOT_ONLY
tiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTO
and 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
.
- cooling
Period 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
AUTO
andSNAPSHOT_ONLY
tiering policies only. Valid values are whole numbers between 2 and 183. Default values are 31 days forAUTO
and 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
aws
Terraform Provider.