Class: Aws::FSx::Types::CreateVolumeFromBackupRequest

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 CreateVolumeFromBackupRequest data as a hash:

{
  backup_id: "BackupId", # required
  client_request_token: "ClientRequestToken",
  name: "VolumeName", # required
  ontap_configuration: {
    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
    },
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#backup_idString

The ID of the source backup. Specifies the backup that you are copying.

Returns:

  • (String)


3092
3093
3094
3095
3096
3097
3098
3099
3100
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 3092

class CreateVolumeFromBackupRequest < Struct.new(
  :backup_id,
  :client_request_token,
  :name,
  :ontap_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


3092
3093
3094
3095
3096
3097
3098
3099
3100
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 3092

class CreateVolumeFromBackupRequest < Struct.new(
  :backup_id,
  :client_request_token,
  :name,
  :ontap_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the new volume you're creating.

Returns:

  • (String)


3092
3093
3094
3095
3096
3097
3098
3099
3100
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 3092

class CreateVolumeFromBackupRequest < Struct.new(
  :backup_id,
  :client_request_token,
  :name,
  :ontap_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#ontap_configurationTypes::CreateOntapVolumeConfiguration

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



3092
3093
3094
3095
3096
3097
3098
3099
3100
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 3092

class CreateVolumeFromBackupRequest < Struct.new(
  :backup_id,
  :client_request_token,
  :name,
  :ontap_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of Tag values, with a maximum of 50 elements.

Returns:



3092
3093
3094
3095
3096
3097
3098
3099
3100
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 3092

class CreateVolumeFromBackupRequest < Struct.new(
  :backup_id,
  :client_request_token,
  :name,
  :ontap_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end