Class: Azure::Service::Metrics
- Inherits:
-
Object
- Object
- Azure::Service::Metrics
- Defined in:
- lib/azure/service/metrics.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#include_apis ⇒ Object
Returns the value of attribute include_apis.
-
#retention_policy ⇒ Object
Returns the value of attribute retention_policy.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Metrics
constructor
A new instance of Metrics.
Constructor Details
#initialize {|_self| ... } ⇒ Metrics
Returns a new instance of Metrics.
20 21 22 23 |
# File 'lib/azure/service/metrics.rb', line 20 def initialize @retention_policy = RetentionPolicy.new yield self if block_given? end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
26 27 28 |
# File 'lib/azure/service/metrics.rb', line 26 def enabled @enabled end |
#include_apis ⇒ Object
Returns the value of attribute include_apis.
27 28 29 |
# File 'lib/azure/service/metrics.rb', line 27 def include_apis @include_apis end |
#retention_policy ⇒ Object
Returns the value of attribute retention_policy.
28 29 30 |
# File 'lib/azure/service/metrics.rb', line 28 def retention_policy @retention_policy end |
#version ⇒ Object
Returns the value of attribute version.
25 26 27 |
# File 'lib/azure/service/metrics.rb', line 25 def version @version end |