Struct aws_sdk_ec2::model::ScheduledInstanceAvailability [−][src]
#[non_exhaustive]pub struct ScheduledInstanceAvailability {Show 13 fields
pub availability_zone: Option<String>,
pub available_instance_count: Option<i32>,
pub first_slot_start_time: Option<DateTime>,
pub hourly_price: Option<String>,
pub instance_type: Option<String>,
pub max_term_duration_in_days: Option<i32>,
pub min_term_duration_in_days: Option<i32>,
pub network_platform: Option<String>,
pub platform: Option<String>,
pub purchase_token: Option<String>,
pub recurrence: Option<ScheduledInstanceRecurrence>,
pub slot_duration_in_hours: Option<i32>,
pub total_scheduled_instance_hours: Option<i32>,
}
Expand description
Describes a schedule that is available for your Scheduled Instances.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.availability_zone: Option<String>
The Availability Zone.
available_instance_count: Option<i32>
The number of available instances.
first_slot_start_time: Option<DateTime>
The time period for the first schedule to start.
hourly_price: Option<String>
The hourly price for a single instance.
instance_type: Option<String>
The instance type. You can specify one of the C3, C4, M4, or R3 instance types.
max_term_duration_in_days: Option<i32>
The maximum term. The only possible value is 365 days.
min_term_duration_in_days: Option<i32>
The minimum term. The only possible value is 365 days.
network_platform: Option<String>
The network platform (EC2-Classic
or EC2-VPC
).
platform: Option<String>
The platform (Linux/UNIX
or Windows
).
purchase_token: Option<String>
The purchase token. This token expires in two hours.
recurrence: Option<ScheduledInstanceRecurrence>
The schedule recurrence.
slot_duration_in_hours: Option<i32>
The number of hours in the schedule.
total_scheduled_instance_hours: Option<i32>
The total number of hours for a single instance for the entire term.
Implementations
The Availability Zone.
The number of available instances.
The time period for the first schedule to start.
The hourly price for a single instance.
The instance type. You can specify one of the C3, C4, M4, or R3 instance types.
The maximum term. The only possible value is 365 days.
The minimum term. The only possible value is 365 days.
The network platform (EC2-Classic
or EC2-VPC
).
The purchase token. This token expires in two hours.
The schedule recurrence.
The number of hours in the schedule.
The total number of hours for a single instance for the entire term.
Creates a new builder-style object to manufacture ScheduledInstanceAvailability
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ScheduledInstanceAvailability
impl Sync for ScheduledInstanceAvailability
impl Unpin for ScheduledInstanceAvailability
impl UnwindSafe for ScheduledInstanceAvailability
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more