class Aws::StorageGateway::Types::CachediSCSIVolume

Describes an iSCSI cached volume.

@!attribute [rw] volume_arn

The Amazon Resource Name (ARN) of the storage volume.
@return [String]

@!attribute [rw] volume_id

The unique identifier of the volume, e.g., vol-AE4B946D.
@return [String]

@!attribute [rw] volume_type

One of the VolumeType enumeration values that describes the type of
the volume.
@return [String]

@!attribute [rw] volume_status

One of the VolumeStatus values that indicates the state of the
storage volume.
@return [String]

@!attribute [rw] volume_attachment_status

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

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

@!attribute [rw] volume_size_in_bytes

The size, in bytes, of the volume capacity.
@return [Integer]

@!attribute [rw] volume_progress

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 cached volume is not
restoring or bootstrapping.
@return [Float]

@!attribute [rw] source_snapshot_id

If the cached volume was created from a snapshot, this field
contains the snapshot ID used, e.g., snap-78e22663. Otherwise, this
field is not included.
@return [String]

@!attribute [rw] volume_iscsi_attributes

An VolumeiSCSIAttributes object that represents a collection of
iSCSI attributes for one stored volume.
@return [Types::VolumeiSCSIAttributes]

@!attribute [rw] created_date

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

@!attribute [rw] volume_used_in_bytes

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>
@return [Integer]

@!attribute [rw] kms_key

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 can only be set when
`KMSEncrypted` is `true`. Optional.
@return [String]

@!attribute [rw] target_name

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.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CachediSCSIVolume AWS API Documentation

Constants

SENSITIVE