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

Class: Aws::EC2::Types::GetHostReservationPurchasePreviewResult

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

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

Returns:

  • (String)


15058
15059
15060
15061
15062
15063
15064
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15058

class GetHostReservationPurchasePreviewResult < Struct.new(
  :currency_code,
  :purchase,
  :total_hourly_price,
  :total_upfront_price)
  include Aws::Structure
end

#purchaseArray<Types::Purchase>

The purchase information of the Dedicated Host Reservation and the Dedicated Hosts associated with it.

Returns:



15058
15059
15060
15061
15062
15063
15064
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15058

class GetHostReservationPurchasePreviewResult < Struct.new(
  :currency_code,
  :purchase,
  :total_hourly_price,
  :total_upfront_price)
  include Aws::Structure
end

#total_hourly_priceString

The potential total hourly price of the reservation per hour.

Returns:

  • (String)


15058
15059
15060
15061
15062
15063
15064
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15058

class GetHostReservationPurchasePreviewResult < Struct.new(
  :currency_code,
  :purchase,
  :total_hourly_price,
  :total_upfront_price)
  include Aws::Structure
end

#total_upfront_priceString

The potential total upfront price. This is billed immediately.

Returns:

  • (String)


15058
15059
15060
15061
15062
15063
15064
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15058

class GetHostReservationPurchasePreviewResult < Struct.new(
  :currency_code,
  :purchase,
  :total_hourly_price,
  :total_upfront_price)
  include Aws::Structure
end