class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricSpecificationV1
Metric specification version 1.
Attributes
@return [MetricAggregationType] Metric aggregation type. Possible values include: 'NotSpecified', 'None', 'Average', 'Minimum', 'Maximum', 'Total', 'Count'
@return [MetricCategory] Metric category. Possible values include: 'Capacity', 'Transaction'
@return [Array<MetricDimensionV1>] Metric dimensions, other than default dimension which is resource.
@return [String] Description of the metric to be displayed.
@return [String] Display name of the metric.
@return [Boolean] Set true to fill the gaps with zero.
@return [String] Name of the metric.
@return [String] Resource name override.
@return [Array<MetricAggregationType>] Support metric aggregation type.
@return [Array<TimeGrain>] Support granularity of metrics.
@return [MetricUnit] Metric units. Possible values include: 'NotSpecified', 'Percent', 'Count', 'Seconds', 'Milliseconds', 'Bytes', 'BytesPerSecond', 'CountPerSecond'
Private Class Methods
Mapper for MetricSpecificationV1
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_specification_v1.rb, line 59 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetricSpecification_V1', type: { name: 'Composite', class_name: 'MetricSpecificationV1', 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' } }, dimensions: { client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MetricDimensionV1ElementType', type: { name: 'Composite', class_name: 'MetricDimensionV1' } } } }, fill_gap_with_zero: { client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { name: 'Boolean' } }, category: { client_side_validation: true, required: false, serialized_name: 'category', type: { name: 'String' } }, resource_id_dimension_name_override: { client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { name: 'String' } }, supported_time_grain_types: { client_side_validation: true, required: false, serialized_name: 'supportedTimeGrainTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TimeGrainElementType', type: { name: 'String' } } } }, supported_aggregation_types: { client_side_validation: true, required: false, serialized_name: 'supportedAggregationTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MetricAggregationTypeElementType', type: { name: 'String' } } } } } } } end