Class: Aws::EC2::Types::HostReservation

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

Overview

Details about the Dedicated Host Reservation and associated Dedicated Hosts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#countInteger

The number of Dedicated Hosts the reservation is associated with.

Returns:

  • (Integer)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#currency_codeString

The currency in which the upfrontPrice and hourlyPrice amounts are specified. At this time, the only supported currency is USD.

Returns:

  • (String)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#durationInteger

The length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

Returns:

  • (Integer)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#endTime

The date and time that the reservation ends.

Returns:

  • (Time)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#host_id_setArray<String>

The IDs of the Dedicated Hosts associated with the reservation.

Returns:

  • (Array<String>)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#host_reservation_idString

The ID of the reservation that specifies the associated Dedicated Hosts.

Returns:

  • (String)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#hourly_priceString

The hourly price of the reservation.

Returns:

  • (String)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#instance_familyString

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Returns:

  • (String)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#offering_idString

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Returns:

  • (String)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#payment_optionString

The payment option selected for this reservation.

Returns:

  • (String)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#startTime

The date and time that the reservation started.

Returns:

  • (Time)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state of the reservation.

Returns:

  • (String)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the Dedicated Host Reservation.

Returns:



36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_priceString

The upfront price of the reservation.

Returns:

  • (String)


36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36971

class HostReservation < Struct.new(
  :count,
  :currency_code,
  :duration,
  :end,
  :host_id_set,
  :host_reservation_id,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :start,
  :state,
  :upfront_price,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end