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

Class: Aws::RDS::Types::ReservedDBInstance

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

Overview

This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions.

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

The currency code for the reserved DB instance.

Returns:

  • (String)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#db_instance_classString

The DB instance class for the reserved DB instance.

Returns:

  • (String)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#db_instance_countInteger

The number of reserved DB instances.

Returns:

  • (Integer)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#durationInteger

The duration of the reservation in seconds.

Returns:

  • (Integer)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#fixed_priceFloat

The fixed price charged for this reserved DB instance.

Returns:

  • (Float)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#multi_azBoolean

Indicates if the reservation applies to Multi-AZ deployments.

Returns:

  • (Boolean)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#offering_typeString

The offering type of this reserved DB instance.

Returns:

  • (String)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#product_descriptionString

The description of the reserved DB instance.

Returns:

  • (String)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#recurring_chargesArray<Types::RecurringCharge>

The recurring price charged to run this reserved DB instance.

Returns:



10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#reserved_db_instance_arnString

The Amazon Resource Name (ARN) for the reserved DB instance.

Returns:

  • (String)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#reserved_db_instance_idString

The unique identifier for the reservation.

Returns:

  • (String)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#reserved_db_instances_offering_idString

The offering identifier.

Returns:

  • (String)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#start_timeTime

The time the reservation started.

Returns:

  • (Time)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#stateString

The state of the reserved DB instance.

Returns:

  • (String)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end

#usage_priceFloat

The hourly price charged for this reserved DB instance.

Returns:

  • (Float)


10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 10622

class ReservedDBInstance < Struct.new(
  :reserved_db_instance_id,
  :reserved_db_instances_offering_id,
  :db_instance_class,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :db_instance_count,
  :product_description,
  :offering_type,
  :multi_az,
  :state,
  :recurring_charges,
  :reserved_db_instance_arn)
  include Aws::Structure
end