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)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#durationInteger

The duration of the node reservation in seconds.

Returns:

  • (Integer)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#fixed_priceFloat

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

Returns:

  • (Float)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#node_countInteger

The number of reserved compute nodes.

Returns:

  • (Integer)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#node_typeString

The node type of the reserved node.

Returns:

  • (String)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#offering_typeString

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

Returns:

  • (String)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#recurring_chargesArray<Types::RecurringCharge>

The recurring charges for the reserved node.

Returns:



6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#reserved_node_idString

The unique identifier for the reservation.

Returns:

  • (String)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#reserved_node_offering_idString

The identifier for the reserved node offering.

Returns:

  • (String)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#reserved_node_offering_typeString

Returns:

  • (String)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  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)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  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.

  • retired-The reserved node is no longer available.

  • exchanging-The owner is exchanging the reserved node for another reserved node.

Returns:

  • (String)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end

#usage_priceFloat

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

Returns:

  • (Float)


6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 6966

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,
  :reserved_node_offering_type)
  include Aws::Structure
end