Class: Azure::Storage::Mgmt::V2017_06_01::Models::MetricSpecification
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2017_06_01::Models::MetricSpecification
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb
Overview
Metric specification of operation.
Instance Attribute Summary collapse
-
#aggregation_type ⇒ String
Aggregation type could be Average.
-
#category ⇒ String
could be Capacity.
-
#dimensions ⇒ Array<Dimension>
access tier.
-
#display_description ⇒ String
Display description of metric specification.
-
#display_name ⇒ String
Display name of metric specification.
-
#fill_gap_with_zero ⇒ Boolean
The property to decide fill gap with zero or not.
-
#name ⇒ String
Name of metric specification.
-
#resource_id_dimension_name_override ⇒ String
Account Resource Id.
-
#unit ⇒ String
Unit could be Bytes or Count.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MetricSpecification class as Ruby Hash.
Instance Attribute Details
#aggregation_type ⇒ String
Returns Aggregation type could be Average.
32 33 34 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 32 def aggregation_type @aggregation_type end |
#category ⇒ String
could be Capacity.
39 40 41 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 39 def category @category end |
#dimensions ⇒ Array<Dimension>
access tier.
29 30 31 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 29 def dimensions @dimensions end |
#display_description ⇒ String
Returns Display description of metric specification.
22 23 24 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 22 def display_description @display_description end |
#display_name ⇒ String
Returns Display name of metric specification.
19 20 21 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 19 def display_name @display_name end |
#fill_gap_with_zero ⇒ Boolean
Returns The property to decide fill gap with zero or not.
35 36 37 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 35 def fill_gap_with_zero @fill_gap_with_zero end |
#name ⇒ String
Returns Name of metric specification.
16 17 18 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 16 def name @name end |
#resource_id_dimension_name_override ⇒ String
Returns Account Resource Id.
42 43 44 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 42 def resource_id_dimension_name_override @resource_id_dimension_name_override end |
#unit ⇒ String
Returns Unit could be Bytes or Count.
25 26 27 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 25 def unit @unit end |
Class Method Details
.mapper ⇒ Object
Mapper for MetricSpecification class as Ruby Hash. This will be used for serialization/deserialization.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 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 |
# File 'lib/2017-06-01/generated/azure_mgmt_storage/models/metric_specification.rb', line 49 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' } }, 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' } } } }, 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: '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' } } } } } end |