[][src]Struct rusoto_storagegateway::AttachVolumeInput

pub struct AttachVolumeInput {
    pub disk_id: Option<String>,
    pub gateway_arn: String,
    pub network_interface_id: String,
    pub target_name: Option<String>,
    pub volume_arn: String,
}

AttachVolumeInput

Fields

disk_id: Option<String>

The unique device ID or other distinguishing data that identifies the local disk used to create the volume. This value is only required when you are attaching a stored volume.

gateway_arn: String

The Amazon Resource Name (ARN) of the gateway that you want to attach the volume to.

network_interface_id: String

The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use DescribeGatewayInformation to get a list of the network interfaces available on a gateway.

Valid Values: A valid IP address.

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: String

The Amazon Resource Name (ARN) of the volume to attach to the specified gateway.

Trait Implementations

impl Clone for AttachVolumeInput[src]

impl Debug for AttachVolumeInput[src]

impl Default for AttachVolumeInput[src]

impl PartialEq<AttachVolumeInput> for AttachVolumeInput[src]

impl Serialize for AttachVolumeInput[src]

impl StructuralPartialEq for AttachVolumeInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.