[−][src]Struct rusoto_lightsail::CreateInstancesRequest
Fields
availability_zone: String
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.
blueprint_id: String
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).
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 to use for your new Lightsail instances. Separate multiple values using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]
key_pair_name: Option<String>
The name of your key pair.
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>
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 PartialEq<CreateInstancesRequest> for CreateInstancesRequest
[src]
fn eq(&self, other: &CreateInstancesRequest) -> bool
[src]
fn ne(&self, other: &CreateInstancesRequest) -> bool
[src]
impl Default for CreateInstancesRequest
[src]
fn default() -> CreateInstancesRequest
[src]
impl Clone for CreateInstancesRequest
[src]
fn clone(&self) -> CreateInstancesRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for CreateInstancesRequest
[src]
impl Serialize for CreateInstancesRequest
[src]
Auto Trait Implementations
impl Send for CreateInstancesRequest
impl Sync for CreateInstancesRequest
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self