Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::MetricSpecifications
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::MetricSpecifications
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb
Overview
The details of metric specifications.
Instance Attribute Summary collapse
-
#aggregation_type ⇒ String
The aggregation type of the metric specification.
-
#category ⇒ String
The category of the metric.
-
#delegate_metric_name_override ⇒ String
The override name of delegate metric.
-
#dimensions ⇒ Array<Dimension>
The dimensions of the metric specification.
-
#display_description ⇒ String
The display description of the metric specification.
-
#display_name ⇒ String
The display name of the metric specification.
-
#enable_regional_mdm_account ⇒ Boolean
account or not.
-
#fill_gap_with_zero ⇒ Boolean
The flag indicates whether filling gap with zero.
-
#is_internal ⇒ Boolean
not.
-
#metric_filter_pattern ⇒ String
The metric filter pattern.
-
#name ⇒ String
The name of the metric specification.
-
#resource_id_dimension_name_override ⇒ String
The override name of resource id dimension name.
-
#source_mdm_account ⇒ String
The source mdm account.
-
#source_mdm_namespace ⇒ String
The source mdm namespace.
-
#supported_aggregation_types ⇒ Array<String>
specification.
-
#supported_time_grain_types ⇒ Array<String>
specification.
-
#unit ⇒ String
The unit of the metric specification.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MetricSpecifications class as Ruby Hash.
Instance Attribute Details
#aggregation_type ⇒ String
Returns The aggregation type of the metric specification.
28 29 30 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 28 def aggregation_type @aggregation_type end |
#category ⇒ String
Returns The category of the metric.
55 56 57 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 55 def category @category end |
#delegate_metric_name_override ⇒ String
Returns The override name of delegate metric.
65 66 67 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 65 def delegate_metric_name_override @delegate_metric_name_override end |
#dimensions ⇒ Array<Dimension>
Returns The dimensions of the metric specification.
68 69 70 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 68 def dimensions @dimensions end |
#display_description ⇒ String
Returns The display description of the metric specification.
22 23 24 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 22 def display_description @display_description end |
#display_name ⇒ String
Returns The display name of the metric specification.
19 20 21 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 19 def display_name @display_name end |
#enable_regional_mdm_account ⇒ Boolean
account or not.
40 41 42 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 40 def enable_regional_mdm_account @enable_regional_mdm_account end |
#fill_gap_with_zero ⇒ Boolean
Returns The flag indicates whether filling gap with zero.
52 53 54 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 52 def fill_gap_with_zero @fill_gap_with_zero end |
#is_internal ⇒ Boolean
not.
62 63 64 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 62 def is_internal @is_internal end |
#metric_filter_pattern ⇒ String
Returns The metric filter pattern.
49 50 51 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 49 def metric_filter_pattern @metric_filter_pattern end |
#name ⇒ String
Returns The name of the metric specification.
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 16 def name @name end |
#resource_id_dimension_name_override ⇒ String
Returns The override name of resource id dimension name.
58 59 60 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 58 def resource_id_dimension_name_override @resource_id_dimension_name_override end |
#source_mdm_account ⇒ String
Returns The source mdm account.
43 44 45 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 43 def source_mdm_account @source_mdm_account end |
#source_mdm_namespace ⇒ String
Returns The source mdm namespace.
46 47 48 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 46 def source_mdm_namespace @source_mdm_namespace end |
#supported_aggregation_types ⇒ Array<String>
specification.
32 33 34 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 32 def supported_aggregation_types @supported_aggregation_types end |
#supported_time_grain_types ⇒ Array<String>
specification.
36 37 38 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 36 def supported_time_grain_types @supported_time_grain_types end |
#unit ⇒ String
Returns The unit of the metric specification.
25 26 27 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 25 def unit @unit end |
Class Method Details
.mapper ⇒ Object
Mapper for MetricSpecifications class as Ruby Hash. This will be used for serialization/deserialization.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb', line 75 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetricSpecifications', type: { name: 'Composite', class_name: 'MetricSpecifications', 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' } }, supported_aggregation_types: { client_side_validation: true, required: false, serialized_name: 'supportedAggregationTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', 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: 'StringElementType', type: { name: 'String' } } } }, enable_regional_mdm_account: { client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { name: 'Boolean' } }, source_mdm_account: { client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { name: 'String' } }, source_mdm_namespace: { client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { name: 'String' } }, metric_filter_pattern: { client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { name: 'String' } }, 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' } }, is_internal: { client_side_validation: true, required: false, serialized_name: 'isInternal', type: { name: 'Boolean' } }, delegate_metric_name_override: { client_side_validation: true, required: false, serialized_name: 'delegateMetricNameOverride', 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 |