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

Class: Aws::CostExplorer::Types::CoverageHours

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

Overview

How long a running instance either used a reservation or was On-Demand.

Instance Attribute Summary collapse

Instance Attribute Details

#coverage_hours_percentageString

The percentage of instance hours that a reservation covered.

Returns:

  • (String)


105
106
107
108
109
110
111
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 105

class CoverageHours < Struct.new(
  :on_demand_hours,
  :reserved_hours,
  :total_running_hours,
  :coverage_hours_percentage)
  include Aws::Structure
end

#on_demand_hoursString

The number of instance running hours that On-Demand Instances covered.

Returns:

  • (String)


105
106
107
108
109
110
111
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 105

class CoverageHours < Struct.new(
  :on_demand_hours,
  :reserved_hours,
  :total_running_hours,
  :coverage_hours_percentage)
  include Aws::Structure
end

#reserved_hoursString

The number of instance running hours that reservations covered.

Returns:

  • (String)


105
106
107
108
109
110
111
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 105

class CoverageHours < Struct.new(
  :on_demand_hours,
  :reserved_hours,
  :total_running_hours,
  :coverage_hours_percentage)
  include Aws::Structure
end

#total_running_hoursString

The total instance usage, in hours.

Returns:

  • (String)


105
106
107
108
109
110
111
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 105

class CoverageHours < Struct.new(
  :on_demand_hours,
  :reserved_hours,
  :total_running_hours,
  :coverage_hours_percentage)
  include Aws::Structure
end