[][src]Struct rusoto_lightsail::CreateInstancesFromSnapshotRequest

pub struct CreateInstancesFromSnapshotRequest {
    pub attached_disk_mapping: Option<HashMap<String, Vec<DiskMap>>>,
    pub availability_zone: String,
    pub bundle_id: String,
    pub instance_names: Vec<String>,
    pub instance_snapshot_name: String,
    pub key_pair_name: Option<String>,
    pub tags: Option<Vec<Tag>>,
    pub user_data: Option<String>,
}

Fields

attached_disk_mapping: Option<HashMap<String, Vec<DiskMap>>>

An object containing information about one or more disk mappings.

availability_zone: String

The Availability Zone where you want to create your instances. Use the following formatting: us-east-2a (case sensitive). You can get a list of Availability Zones by using the get regions operation. Be sure to add the include Availability Zones parameter to your request.

bundle_id: String

The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0).

instance_names: Vec<String>

The names for your new instances.

instance_snapshot_name: String

The name of the instance snapshot on which you are basing your new instances. Use the get instance snapshots operation to return information about your existing snapshots.

key_pair_name: Option<String>

The name for your key pair.

tags: Option<Vec<Tag>>

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

To tag a resource after it has been created, see the tag resource operation.

user_data: Option<String>

You can create a launch script that configures a server with additional user data. For example, apt-get -y update.

Depending on the machine image you choose, the command to get software on your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide.

Trait Implementations

impl PartialEq<CreateInstancesFromSnapshotRequest> for CreateInstancesFromSnapshotRequest[src]

impl Default for CreateInstancesFromSnapshotRequest[src]

impl Clone for CreateInstancesFromSnapshotRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateInstancesFromSnapshotRequest[src]

impl Serialize for CreateInstancesFromSnapshotRequest[src]

Auto Trait Implementations

impl Send for CreateInstancesFromSnapshotRequest

impl Sync for CreateInstancesFromSnapshotRequest

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

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

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self