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

Class: Aws::EC2::Types::ReservedInstancesOffering

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

Overview

Describes a Reserved Instance offering.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone in which the Reserved Instance can be used.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#currency_codeString

The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#durationInteger

The duration of the Reserved Instance, in seconds.

Returns:

  • (Integer)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#fixed_priceFloat

The purchase price of the Reserved Instance.

Returns:

  • (Float)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#instance_tenancyString

The tenancy of the instance.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#instance_typeString

The instance type on which the Reserved Instance can be used.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#marketplaceBoolean

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

Returns:

  • (Boolean)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#offering_classString

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#offering_typeString

The Reserved Instance offering type.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#pricing_detailsArray<Types::PricingDetail>

The pricing details of the Reserved Instance offering.

Returns:



20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#product_descriptionString

The Reserved Instance product platform description.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#recurring_chargesArray<Types::RecurringCharge>

The recurring charge tag assigned to the resource.

Returns:



20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#reserved_instances_offering_idString

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#scopeString

Whether the Reserved Instance is applied to instances in a region or an Availability Zone.

Returns:

  • (String)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#usage_priceFloat

The usage price of the Reserved Instance, per hour.

Returns:

  • (Float)


20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20832

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end