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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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:



24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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:



24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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)


24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24365

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