Struct rusoto_opsworkscm::RestoreServerRequest
[−]
[src]
pub struct RestoreServerRequest { pub backup_id: String, pub instance_type: Option<String>, pub key_pair: Option<String>, pub server_name: String, }
Fields
backup_id: String
The ID of the backup that you want to use to restore a server.
instance_type: Option<String>
The type of the instance to create. Valid values must be specified in the following format: ^([cm][34]|t2).*
For example, m4.large
. Valid values are t2.medium
, m4.large
, and m4.2xlarge
. If you do not specify this parameter, RestoreServer uses the instance type from the specified backup.
key_pair: Option<String>
The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no longer has the SSH key.
server_name: String
The name of the server that you want to restore.
Trait Implementations
impl Default for RestoreServerRequest
[src]
fn default() -> RestoreServerRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for RestoreServerRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for RestoreServerRequest
[src]
fn clone(&self) -> RestoreServerRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more