[−][src]Struct rusoto_lightsail::CreateInstancesRequest
Fields
add_ons: Option<Vec<AddOnRequest>>
An array of objects representing the add-ons to enable for the new instance.
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., appwordpress44
or applamp70
). Use the get blueprints
operation to return a list of available images (or blueprints).
Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
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 Clone for CreateInstancesRequest
[src]
pub fn clone(&self) -> CreateInstancesRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreateInstancesRequest
[src]
impl Default for CreateInstancesRequest
[src]
pub fn default() -> CreateInstancesRequest
[src]
impl PartialEq<CreateInstancesRequest> for CreateInstancesRequest
[src]
pub fn eq(&self, other: &CreateInstancesRequest) -> bool
[src]
pub fn ne(&self, other: &CreateInstancesRequest) -> bool
[src]
impl Serialize for CreateInstancesRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CreateInstancesRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateInstancesRequest
[src]
impl Send for CreateInstancesRequest
[src]
impl Sync for CreateInstancesRequest
[src]
impl Unpin for CreateInstancesRequest
[src]
impl UnwindSafe for CreateInstancesRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,