Class: Aws::DevOpsAgent::Types::UsageMetric

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-devopsagent/types.rb

Overview

Represents a usage metric with its configured limit and current usage value.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

Configured limit for this metric. A value of -1 indicates no limit is enforced.

Returns:

  • (Integer)


6142
6143
6144
6145
6146
6147
# File 'lib/aws-sdk-devopsagent/types.rb', line 6142

class UsageMetric < Struct.new(
  :limit,
  :usage)
  SENSITIVE = []
  include Aws::Structure
end

#usageFloat

Current usage for this metric

Returns:

  • (Float)


6142
6143
6144
6145
6146
6147
# File 'lib/aws-sdk-devopsagent/types.rb', line 6142

class UsageMetric < Struct.new(
  :limit,
  :usage)
  SENSITIVE = []
  include Aws::Structure
end