Struct rusoto_storagegateway::StorediSCSIVolume
source · [−]pub struct StorediSCSIVolume {Show 15 fields
pub created_date: Option<f64>,
pub kms_key: Option<String>,
pub preserved_existing_data: Option<bool>,
pub source_snapshot_id: Option<String>,
pub target_name: Option<String>,
pub volume_arn: Option<String>,
pub volume_attachment_status: Option<String>,
pub volume_disk_id: Option<String>,
pub volume_id: Option<String>,
pub volume_progress: Option<f64>,
pub volume_size_in_bytes: Option<i64>,
pub volume_status: Option<String>,
pub volume_type: Option<String>,
pub volume_used_in_bytes: Option<i64>,
pub volumei_scsi_attributes: Option<VolumeiSCSIAttributes>,
}
Expand description
Describes an iSCSI stored volume.
Fields
created_date: Option<f64>
The date the volume was created. Volumes created prior to March 28, 2017 don’t have this timestamp.
kms_key: Option<String>
preserved_existing_data: Option<bool>
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
Valid Values: true
| false
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.
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.
volume_arn: Option<String>
The Amazon Resource Name (ARN) 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_disk_id: Option<String>
The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
volume_id: Option<String>
The unique identifier of the volume, e.g., vol-AE4B946D.
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_size_in_bytes: Option<i64>
The size of the volume in bytes.
volume_status: Option<String>
One of the VolumeStatus values that indicates the state of the storage volume.
volume_type: Option<String>
One of the VolumeType enumeration values describing the type of the volume.
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.
volumei_scsi_attributes: Option<VolumeiSCSIAttributes>
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
Trait Implementations
sourceimpl Clone for StorediSCSIVolume
impl Clone for StorediSCSIVolume
sourcefn clone(&self) -> StorediSCSIVolume
fn clone(&self) -> StorediSCSIVolume
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StorediSCSIVolume
impl Debug for StorediSCSIVolume
sourceimpl Default for StorediSCSIVolume
impl Default for StorediSCSIVolume
sourcefn default() -> StorediSCSIVolume
fn default() -> StorediSCSIVolume
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StorediSCSIVolume
impl<'de> Deserialize<'de> for StorediSCSIVolume
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<StorediSCSIVolume> for StorediSCSIVolume
impl PartialEq<StorediSCSIVolume> for StorediSCSIVolume
sourcefn eq(&self, other: &StorediSCSIVolume) -> bool
fn eq(&self, other: &StorediSCSIVolume) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StorediSCSIVolume) -> bool
fn ne(&self, other: &StorediSCSIVolume) -> bool
This method tests for !=
.
impl StructuralPartialEq for StorediSCSIVolume
Auto Trait Implementations
impl RefUnwindSafe for StorediSCSIVolume
impl Send for StorediSCSIVolume
impl Sync for StorediSCSIVolume
impl Unpin for StorediSCSIVolume
impl UnwindSafe for StorediSCSIVolume
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more