Struct rusoto_lightsail::CreateInstancesFromSnapshotRequest
[−]
[src]
pub struct CreateInstancesFromSnapshotRequest { pub availability_zone: String, pub bundle_id: NonEmptyString, pub instance_names: StringList, pub instance_snapshot_name: ResourceName, pub key_pair_name: Option<ResourceName>, pub user_data: Option<String>, }
Fields
availability_zone: String
The Availability Zone where you want to create your instances. Use the following formatting: us-east-1a
(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: NonEmptyString
The bundle of specification information for your virtual private server (or instance), including the pricing plan (e.g., micro_1_0
).
instance_names: StringList
The names for your new instances.
instance_snapshot_name: ResourceName
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<ResourceName>
The name for your key pair.
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 Default for CreateInstancesFromSnapshotRequest
[src]
fn default() -> CreateInstancesFromSnapshotRequest
Returns the "default value" for a type. Read more
impl Debug for CreateInstancesFromSnapshotRequest
[src]
impl Clone for CreateInstancesFromSnapshotRequest
[src]
fn clone(&self) -> CreateInstancesFromSnapshotRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more