@@ -36,6 +36,8 @@ class MetricSpecification(Model):
36
36
:param category: The name of the metric category that the metric belongs
37
37
to. A metric can only belong to a single category.
38
38
:type category: str
39
+ :param dimensions: The dimensions of the metrics.
40
+ :type dimensions: list[~azure.mgmt.signalr.models.Dimension]
39
41
"""
40
42
41
43
_attribute_map = {
@@ -46,9 +48,10 @@ class MetricSpecification(Model):
46
48
'aggregation_type' : {'key' : 'aggregationType' , 'type' : 'str' },
47
49
'fill_gap_with_zero' : {'key' : 'fillGapWithZero' , 'type' : 'str' },
48
50
'category' : {'key' : 'category' , 'type' : 'str' },
51
+ 'dimensions' : {'key' : 'dimensions' , 'type' : '[Dimension]' },
49
52
}
50
53
51
- def __init__ (self , * , name : str = None , display_name : str = None , display_description : str = None , unit : str = None , aggregation_type : str = None , fill_gap_with_zero : str = None , category : str = None , ** kwargs ) -> None :
54
+ def __init__ (self , * , name : str = None , display_name : str = None , display_description : str = None , unit : str = None , aggregation_type : str = None , fill_gap_with_zero : str = None , category : str = None , dimensions = None , ** kwargs ) -> None :
52
55
super (MetricSpecification , self ).__init__ (** kwargs )
53
56
self .name = name
54
57
self .display_name = display_name
@@ -57,3 +60,4 @@ def __init__(self, *, name: str=None, display_name: str=None, display_descriptio
57
60
self .aggregation_type = aggregation_type
58
61
self .fill_gap_with_zero = fill_gap_with_zero
59
62
self .category = category
63
+ self .dimensions = dimensions
0 commit comments