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

Class: Aws::Redshift::Types::ReservedNode

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

Overview

Describes a reserved node. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings.

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

The currency code for the reserved cluster.

Returns:

  • (String)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#durationInteger

The duration of the node reservation in seconds.

Returns:

  • (Integer)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#fixed_priceFloat

The fixed cost Amazon Redshift charges you for this reserved node.

Returns:

  • (Float)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#node_countInteger

The number of reserved compute nodes.

Returns:

  • (Integer)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#node_typeString

The node type of the reserved node.

Returns:

  • (String)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#offering_typeString

The anticipated utilization of the reserved node, as defined in the reserved node offering.

Returns:

  • (String)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#recurring_chargesArray<Types::RecurringCharge>

The recurring charges for the reserved node.

Returns:



5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#reserved_node_idString

The unique identifier for the reservation.

Returns:

  • (String)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#reserved_node_offering_idString

The identifier for the reserved node offering.

Returns:

  • (String)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#start_timeTime

The time the reservation started. You purchase a reserved node offering for a duration. This is the start time of that duration.

Returns:

  • (Time)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#stateString

The state of the reserved compute node.

Possible Values:

  • pending-payment-This reserved node has recently been purchased, and the sale has been approved, but payment has not yet been confirmed.

  • active-This reserved node is owned by the caller and is available for use.

  • payment-failed-Payment failed for the purchase attempt.

Returns:

  • (String)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end

#usage_priceFloat

The hourly rate Amazon Redshift charges you for this reserved node.

Returns:

  • (Float)


5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 5349

class ReservedNode < Struct.new(
  :reserved_node_id,
  :reserved_node_offering_id,
  :node_type,
  :start_time,
  :duration,
  :fixed_price,
  :usage_price,
  :currency_code,
  :node_count,
  :state,
  :offering_type,
  :recurring_charges)
  include Aws::Structure
end