Class: Azure::Cosmosdb::Mgmt::V2021_01_15::Models::PercentileMetricValue

Inherits:
MetricValue
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb

Overview

Represents percentile metrics values.

Instance Attribute Summary collapse

Attributes inherited from MetricValue

#_count, #average, #maximum, #minimum, #timestamp, #total

Class Method Summary collapse

Instance Attribute Details

#p10Float



16
17
18
# File 'lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb', line 16

def p10
  @p10
end

#p25Float



19
20
21
# File 'lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb', line 19

def p25
  @p25
end

#p50Float



22
23
24
# File 'lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb', line 22

def p50
  @p50
end

#p75Float



25
26
27
# File 'lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb', line 25

def p75
  @p75
end

#p90Float



28
29
30
# File 'lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb', line 28

def p90
  @p90
end

#p95Float



31
32
33
# File 'lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb', line 31

def p95
  @p95
end

#p99Float



34
35
36
# File 'lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb', line 34

def p99
  @p99
end

Class Method Details

.mapperObject

Mapper for PercentileMetricValue class as Ruby Hash. This will be used for serialization/deserialization.



41
42
43
44
45
46
47
48
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
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
# File 'lib/2021-01-15/generated/azure_mgmt_cosmosdb/models/percentile_metric_value.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PercentileMetricValue',
    type: {
      name: 'Composite',
      class_name: 'PercentileMetricValue',
      model_properties: {
        _count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: '_count',
          type: {
            name: 'Double'
          }
        },
        average: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'average',
          type: {
            name: 'Double'
          }
        },
        maximum: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'maximum',
          type: {
            name: 'Double'
          }
        },
        minimum: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'minimum',
          type: {
            name: 'Double'
          }
        },
        timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'timestamp',
          type: {
            name: 'DateTime'
          }
        },
        total: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'total',
          type: {
            name: 'Double'
          }
        },
        p10: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'P10',
          type: {
            name: 'Double'
          }
        },
        p25: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'P25',
          type: {
            name: 'Double'
          }
        },
        p50: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'P50',
          type: {
            name: 'Double'
          }
        },
        p75: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'P75',
          type: {
            name: 'Double'
          }
        },
        p90: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'P90',
          type: {
            name: 'Double'
          }
        },
        p95: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'P95',
          type: {
            name: 'Double'
          }
        },
        p99: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'P99',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end