You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::ScheduledInstanceAvailability

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a schedule that is available for your Scheduled Instances.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone.

Returns:

  • (String)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#available_instance_countInteger

The number of available instances.

Returns:

  • (Integer)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#first_slot_start_timeTime

The time period for the first schedule to start.

Returns:

  • (Time)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#hourly_priceString

The hourly price for a single instance.

Returns:

  • (String)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#instance_typeString

The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

Returns:

  • (String)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#max_term_duration_in_daysInteger

The maximum term. The only possible value is 365 days.

Returns:

  • (Integer)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#min_term_duration_in_daysInteger

The minimum term. The only possible value is 365 days.

Returns:

  • (Integer)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#network_platformString

The network platform (EC2-Classic or EC2-VPC).

Returns:

  • (String)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#platformString

The platform (Linux/UNIX or Windows).

Returns:

  • (String)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#purchase_tokenString

The purchase token. This token expires in two hours.

Returns:

  • (String)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#recurrenceTypes::ScheduledInstanceRecurrence

The schedule recurrence.



25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#slot_duration_in_hoursInteger

The number of hours in the schedule.

Returns:

  • (Integer)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end

#total_scheduled_instance_hoursInteger

The total number of hours for a single instance for the entire term.

Returns:

  • (Integer)


25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25905

class ScheduledInstanceAvailability < Struct.new(
  :availability_zone,
  :available_instance_count,
  :first_slot_start_time,
  :hourly_price,
  :instance_type,
  :max_term_duration_in_days,
  :min_term_duration_in_days,
  :network_platform,
  :platform,
  :purchase_token,
  :recurrence,
  :slot_duration_in_hours,
  :total_scheduled_instance_hours)
  include Aws::Structure
end