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 are covered by a reservation.

Returns:

  • (String)


70
71
72
73
74
75
76
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 70

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 are covered by On-Demand Instances.

Returns:

  • (String)


70
71
72
73
74
75
76
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 70

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 are covered by reservations.

Returns:

  • (String)


70
71
72
73
74
75
76
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 70

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)


70
71
72
73
74
75
76
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 70

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