#[non_exhaustive]
pub struct StorediScsiVolume {
Show 15 fields pub volume_arn: Option<String>, pub volume_id: Option<String>, pub volume_type: Option<String>, pub volume_status: Option<String>, pub volume_attachment_status: Option<String>, pub volume_size_in_bytes: i64, pub volume_progress: Option<f64>, pub volume_disk_id: Option<String>, pub source_snapshot_id: Option<String>, pub preserved_existing_data: bool, pub volumei_scsi_attributes: Option<VolumeiScsiAttributes>, pub created_date: Option<DateTime>, pub volume_used_in_bytes: Option<i64>, pub kms_key: Option<String>, pub target_name: Option<String>,
}
Expand description

Describes an iSCSI stored volume.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
volume_arn: Option<String>

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

volume_id: Option<String>

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

volume_type: Option<String>

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

volume_status: Option<String>

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

volume_attachment_status: Option<String>

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.

volume_size_in_bytes: i64

The size of the volume in bytes.

volume_progress: Option<f64>

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.

volume_disk_id: Option<String>

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

source_snapshot_id: Option<String>

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.

preserved_existing_data: bool

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

Valid Values: true | false

volumei_scsi_attributes: Option<VolumeiScsiAttributes>

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

created_date: Option<DateTime>

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

volume_used_in_bytes: Option<i64>

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.

This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.

kms_key: Option<String>

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.

target_name: Option<String>

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.

Implementations

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

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

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

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

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.

The size of the volume in bytes.

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.

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

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.

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

Valid Values: true | false

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

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

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.

This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.

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.

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.

Creates a new builder-style object to manufacture StorediScsiVolume

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more