Class: Aws::FSx::Types::CreateOntapVolumeConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb

Overview

Specifies the configuration of the ONTAP volume that you are creating.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aggregate_configurationTypes::CreateAggregateConfiguration

Use to specify configuration options for a volume’s storage aggregate or aggregates.



2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#copy_tags_to_backupsBoolean

A boolean flag indicating whether tags for the volume should be copied to backups. This value defaults to false. If it's set to true, all tags for the volume are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the volume, regardless of this value.

Returns:

  • (Boolean)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#junction_pathString

Specifies the location in the SVM's namespace where the volume is mounted. This parameter is required. The JunctionPath must have a leading forward slash, such as /vol3.

Returns:

  • (String)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#ontap_volume_typeString

Specifies the type of volume you are creating. Valid values are the following:

  • RW specifies a read/write volume. RW is the default.

  • DP specifies a data-protection volume. A DP volume is read-only and can be used as the destination of a NetApp SnapMirror relationship.

For more information, see Volume types in the Amazon FSx for NetApp ONTAP User Guide.

Returns:

  • (String)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#security_styleString

Specifies the security style for the volume. If a volume's security style is not specified, it is automatically set to the root volume's security style. The security style determines the type of permissions that FSx for ONTAP uses to control data access. Specify one of the following values:

  • UNIX if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.

  • NTFS if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account.

  • MIXED This is an advanced setting. For more information, see the topic What the security styles and their effects are in the NetApp Documentation Center.

For more information, see Volume security style in the FSx for ONTAP User Guide.

Returns:

  • (String)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#size_in_bytesInteger

Specifies the configured size of the volume, in bytes.

Returns:

  • (Integer)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#size_in_megabytesInteger

Use SizeInBytes instead. Specifies the size of the volume, in megabytes (MB), that you are creating.

Returns:

  • (Integer)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#snaplock_configurationTypes::CreateSnaplockConfiguration

Specifies the SnapLock configuration for an FSx for ONTAP volume.



2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_policyString

Specifies the snapshot policy for the volume. There are three built-in snapshot policies:

  • default: This is the default policy. A maximum of six hourly snapshots taken five minutes past the hour. A maximum of two daily snapshots taken Monday through Saturday at 10 minutes after midnight. A maximum of two weekly snapshots taken every Sunday at 15 minutes after midnight.

  • default-1weekly: This policy is the same as the default policy except that it only retains one snapshot from the weekly schedule.

  • none: This policy does not take any snapshots. This policy can be assigned to volumes to prevent automatic snapshots from being taken.

You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.

For more information, see Snapshot policies in the Amazon FSx for NetApp ONTAP User Guide.

Returns:

  • (String)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#storage_efficiency_enabledBoolean

Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume, or set to false to disable them.

StorageEfficiencyEnabled is required when creating a RW volume (OntapVolumeType set to RW).

Returns:

  • (Boolean)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#storage_virtual_machine_idString

Specifies the ONTAP SVM in which to create the volume.

Returns:

  • (String)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#tiering_policyTypes::TieringPolicy

Describes the data tiering policy for an ONTAP volume. When enabled, Amazon FSx for ONTAP's intelligent tiering automatically transitions a volume's data between the file system's primary storage and capacity pool storage based on your access patterns.

Valid tiering policies are the following:

  • SNAPSHOT_ONLY - (Default value) moves cold snapshots to the capacity pool storage tier.

^ ^

  • AUTO - moves cold user data and snapshots to the capacity pool storage tier based on your access patterns.

^ ^

  • ALL - moves all user data blocks in both the active file system and Snapshot copies to the storage pool tier.

^ ^

  • NONE - keeps a volume's data in the primary storage tier, preventing it from being moved to the capacity pool tier.

^



2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#volume_styleString

Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles of volumes that you can use for different purposes, FlexVol and FlexGroup volumes. For more information, see Volume styles in the Amazon FSx for NetApp ONTAP User Guide.

Returns:

  • (String)


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2965

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy,
  :ontap_volume_type,
  :snapshot_policy,
  :copy_tags_to_backups,
  :snaplock_configuration,
  :volume_style,
  :aggregate_configuration,
  :size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end