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

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

Overview

Note:

When making an API call, you may pass CreateOntapVolumeConfiguration data as a hash:

{
  junction_path: "JunctionPath", # required
  security_style: "UNIX", # accepts UNIX, NTFS, MIXED
  size_in_megabytes: 1, # required
  storage_efficiency_enabled: false, # required
  storage_virtual_machine_id: "StorageVirtualMachineId", # required
  tiering_policy: {
    cooling_period: 1,
    name: "SNAPSHOT_ONLY", # accepts SNAPSHOT_ONLY, AUTO, ALL, NONE
  },
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#junction_pathString

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

Returns:

  • (String)


2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2604

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy)
  SENSITIVE = []
  include Aws::Structure
end

#security_styleString

The security style for the volume. 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. UNIX is the default.

  • 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 if the file system is managed by both UNIX and Windows administrators and users consist of both NFS and SMB clients.

Returns:

  • (String)


2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2604

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy)
  SENSITIVE = []
  include Aws::Structure
end

#size_in_megabytesInteger

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

Returns:

  • (Integer)


2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2604

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy)
  SENSITIVE = []
  include Aws::Structure
end

#storage_efficiency_enabledBoolean

Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.

Returns:

  • (Boolean)


2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2604

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy)
  SENSITIVE = []
  include Aws::Structure
end

#storage_virtual_machine_idString

Specifies the ONTAP SVM in which to create the volume.

Returns:

  • (String)


2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2604

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy)
  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.

^



2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 2604

class CreateOntapVolumeConfiguration < Struct.new(
  :junction_path,
  :security_style,
  :size_in_megabytes,
  :storage_efficiency_enabled,
  :storage_virtual_machine_id,
  :tiering_policy)
  SENSITIVE = []
  include Aws::Structure
end