[][src]Struct rusoto_lightsail::CreateDiskSnapshotRequest

pub struct CreateDiskSnapshotRequest {
    pub disk_name: Option<String>,
    pub disk_snapshot_name: String,
    pub instance_name: Option<String>,
    pub tags: Option<Vec<Tag>>,
}

Fields

disk_name: Option<String>

The unique name of the source disk (e.g., Disk-Virginia-1).

This parameter cannot be defined together with the instance name parameter. The disk name and instance name parameters are mutually exclusive.

disk_snapshot_name: String

The name of the destination disk snapshot (e.g., my-disk-snapshot) based on the source disk.

instance_name: Option<String>

The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1). When this is defined, a snapshot of the instance's system volume is created.

This parameter cannot be defined together with the disk name parameter. The instance name and disk name parameters are mutually exclusive.

tags: Option<Vec<Tag>>

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Trait Implementations

impl Clone for CreateDiskSnapshotRequest[src]

impl Debug for CreateDiskSnapshotRequest[src]

impl Default for CreateDiskSnapshotRequest[src]

impl PartialEq<CreateDiskSnapshotRequest> for CreateDiskSnapshotRequest[src]

impl Serialize for CreateDiskSnapshotRequest[src]

impl StructuralPartialEq for CreateDiskSnapshotRequest[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.