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)


914
915
916
917
918
919
920
921
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 914

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)


914
915
916
917
918
919
920
921
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 914

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)


914
915
916
917
918
919
920
921
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 914

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)


914
915
916
917
918
919
920
921
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 914

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