[][src]Struct rusoto_lightsail::CreateInstancesRequest

pub struct CreateInstancesRequest {
    pub availability_zone: String,
    pub blueprint_id: String,
    pub bundle_id: String,
    pub instance_names: Vec<String>,
    pub key_pair_name: Option<String>,
    pub user_data: Option<String>,
}

Fields

The Availability Zone in which to create your instance. Use the following format: 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.

The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0). Use the get blueprints operation to return a list of available images (or blueprints).

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

The names to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]

The name of your key pair.

A launch script you can create that configures a server with additional user data. For example, you might want to run 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 Clone for CreateInstancesRequest
[src]

Performs copy-assignment from source. Read more

impl Default for CreateInstancesRequest
[src]

impl PartialEq<CreateInstancesRequest> for CreateInstancesRequest
[src]

impl Debug for CreateInstancesRequest
[src]

impl Serialize for CreateInstancesRequest
[src]

Auto Trait Implementations

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]

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

🔬 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, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

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

impl<T> Same for T

Should always be Self

impl<T> Erased for T