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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#coverage_hours_percentageString

The percentage of instance hours that a reservation covered.

Returns:

  • (String)


995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 995

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

#on_demand_hoursString

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

Returns:

  • (String)


995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 995

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

#reserved_hoursString

The number of instance running hours that reservations covered.

Returns:

  • (String)


995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 995

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

#total_running_hoursString

The total instance usage, in hours.

Returns:

  • (String)


995
996
997
998
999
1000
1001
1002
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 995

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