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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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:



31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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:



31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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)


31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31616

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