Class: Aws::StorageGateway::Types::StorediSCSIVolume

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-storagegateway/types.rb

Overview

Describes an iSCSI stored volume.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_dateTime

The date the volume was created. Volumes created prior to March 28, 2017 don’t have this timestamp.

Returns:

  • (Time)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#kms_keyString

Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if ‘KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or `DsseKms`.

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#preserved_existing_dataBoolean

Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.

Valid Values: ‘true` | `false`

Returns:

  • (Boolean)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#source_snapshot_idString

If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#target_nameString

The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN. For example, specifying ‘TargetName` as myvolume results in the target ARN of `arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume`. The target name must be unique across all volumes on a gateway.

If you don’t specify a value, Storage Gateway uses the value that was previously used for this volume as the new target name.

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_arnString

The Amazon Resource Name (ARN) of the storage volume.

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_attachment_statusString

A value that indicates whether a storage volume is attached to, detached from, or is in the process of detaching from a gateway. For more information, see [Moving your volumes to a different gateway].

[1]: docs.aws.amazon.com/storagegateway/latest/userguide/managing-volumes.html#attach-detach-volume

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_disk_idString

The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_idString

The unique identifier of the volume, e.g., vol-AE4B946D.

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_iscsi_attributesTypes::VolumeiSCSIAttributes

An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.



6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_progressFloat

Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.

Returns:

  • (Float)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_size_in_bytesInteger

The size of the volume in bytes.

Returns:

  • (Integer)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_statusString

One of the VolumeStatus values that indicates the state of the storage volume.

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_typeString

One of the VolumeType enumeration values describing the type of the volume.

Returns:

  • (String)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end

#volume_used_in_bytesInteger

The size of the data stored on the volume in bytes. This value is calculated based on the number of blocks that are touched, instead of the actual amount of data written. This value can be useful for sequential write patterns but less accurate for random write patterns. ‘VolumeUsedInBytes` is different from the compressed size of the volume, which is the value that is used to calculate your bill.

<note markdown=“1”> This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.

</note>

Returns:

  • (Integer)


6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
# File 'lib/aws-sdk-storagegateway/types.rb', line 6253

class StorediSCSIVolume < Struct.new(
  :volume_arn,
  :volume_id,
  :volume_type,
  :volume_status,
  :volume_attachment_status,
  :volume_size_in_bytes,
  :volume_progress,
  :volume_disk_id,
  :source_snapshot_id,
  :preserved_existing_data,
  :volume_iscsi_attributes,
  :created_date,
  :volume_used_in_bytes,
  :kms_key,
  :target_name)
  SENSITIVE = []
  include Aws::Structure
end