class Azure::Signalr::Mgmt::V2018_10_01::Models::MetricSpecification
Specifications of the Metrics for Azure
Monitoring.
Attributes
@return [String] Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
@return [String] The name of the metric category that the metric belongs to. A metric can only belong to a single category.
@return [Array<Dimension>] The dimensions of the metrics.
@return [String] Localized friendly description of the metric.
@return [String] Localized friendly display name of the metric.
@return [String] Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. Ex. a metric that returns the number of times a particular error code was emitted. The error code may not appear often, instead of the RP publishing 0, Shoebox can auto fill in 0s for time periods where nothing was emitted.
@return [String] Name of the metric.
@return [String] The unit that makes sense for the metric.
Public Class Methods
Mapper for MetricSpecification
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-10-01/generated/azure_mgmt_signalr/models/metric_specification.rb, line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { name: 'Composite', class_name: 'MetricSpecification', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'displayName', type: { name: 'String' } }, display_description: { client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { name: 'String' } }, unit: { client_side_validation: true, required: false, serialized_name: 'unit', type: { name: 'String' } }, aggregation_type: { client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { name: 'String' } }, fill_gap_with_zero: { client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { name: 'String' } }, category: { client_side_validation: true, required: false, serialized_name: 'category', type: { name: 'String' } }, dimensions: { client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { name: 'Composite', class_name: 'Dimension' } } } } } } } end