Struct rusoto_ec2::AllocateHostsRequest [−][src]
pub struct AllocateHostsRequest { pub auto_placement: Option<String>, pub availability_zone: String, pub client_token: Option<String>, pub instance_type: String, pub quantity: i64, }
Contains the parameters for AllocateHosts.
Fields
auto_placement: Option<String>
This is enabled by default. This property allows instances to be automatically placed onto available Dedicated Hosts, when you are launching instances without specifying a host ID.
Default: Enabled
availability_zone: String
The Availability Zone for the Dedicated Hosts.
client_token: Option<String>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide.
instance_type: String
Specify the instance type that you want your Dedicated Hosts to be configured for. When you specify the instance type, that is the only instance type that you can launch onto that host.
quantity: i64
The number of Dedicated Hosts you want to allocate to your account with these parameters.
Trait Implementations
impl Default for AllocateHostsRequest
[src]
impl Default for AllocateHostsRequest
fn default() -> AllocateHostsRequest
[src]
fn default() -> AllocateHostsRequest
Returns the "default value" for a type. Read more
impl Debug for AllocateHostsRequest
[src]
impl Debug for AllocateHostsRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AllocateHostsRequest
[src]
impl Clone for AllocateHostsRequest
fn clone(&self) -> AllocateHostsRequest
[src]
fn clone(&self) -> AllocateHostsRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for AllocateHostsRequest
[src]
impl PartialEq for AllocateHostsRequest
fn eq(&self, other: &AllocateHostsRequest) -> bool
[src]
fn eq(&self, other: &AllocateHostsRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AllocateHostsRequest) -> bool
[src]
fn ne(&self, other: &AllocateHostsRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for AllocateHostsRequest
impl Send for AllocateHostsRequest
impl Sync for AllocateHostsRequest
impl Sync for AllocateHostsRequest