Class: Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb
Overview
Report data.
Instance Attribute Summary collapse
-
#api_id ⇒ String
API identifier path.
-
#api_region ⇒ String
API region identifier.
-
#api_time_avg ⇒ Float
Average time it took to process request.
-
#api_time_max ⇒ Float
Maximum time it took to process request.
-
#api_time_min ⇒ Float
Minimum time it took to process request.
-
#bandwidth ⇒ Integer
Bandwidth consumed.
-
#cache_hit_count ⇒ Integer
policy.
-
#cache_miss_count ⇒ Integer
Number of times content was fetched from backend.
-
#call_count_blocked ⇒ Integer
This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests.
-
#call_count_failed ⇒ Integer
errors.
-
#call_count_other ⇒ Integer
Number of other calls.
-
#call_count_success ⇒ Integer
returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect.
-
#call_count_total ⇒ Integer
Total number of calls.
-
#country ⇒ String
Country to which this record data is related.
-
#interval ⇒ String
multiple of 15 minutes and may not be zero.
-
#name ⇒ String
API, operation or developer name.
-
#operation_id ⇒ String
/apis/apiId/operations/operationId.
-
#product_id ⇒ String
Product identifier path.
-
#region ⇒ String
Country region to which this record data is related.
-
#service_time_avg ⇒ Float
Average time it took to process request on backend.
-
#service_time_max ⇒ Float
Maximum time it took to process request on backend.
-
#service_time_min ⇒ Float
Minimum time it took to process request on backend.
-
#subscription_id ⇒ String
/subscriptions/subscriptionId.
-
#timestamp ⇒ DateTime
the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
-
#user_id ⇒ String
User identifier path.
-
#zip ⇒ String
Zip code to which this record data is related.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReportRecordContract class as Ruby Hash.
Instance Attribute Details
#api_id ⇒ String
Returns API identifier path. /apis/apiId.
46 47 48 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 46 def api_id @api_id end |
#api_region ⇒ String
Returns API region identifier.
53 54 55 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 53 def api_region @api_region end |
#api_time_avg ⇒ Float
Returns Average time it took to process request.
91 92 93 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 91 def api_time_avg @api_time_avg end |
#api_time_max ⇒ Float
Returns Maximum time it took to process request.
97 98 99 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 97 def api_time_max @api_time_max end |
#api_time_min ⇒ Float
Returns Minimum time it took to process request.
94 95 96 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 94 def api_time_min @api_time_min end |
#bandwidth ⇒ Integer
Returns Bandwidth consumed.
81 82 83 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 81 def bandwidth @bandwidth end |
#cache_hit_count ⇒ Integer
policy.
85 86 87 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 85 def cache_hit_count @cache_hit_count end |
#cache_miss_count ⇒ Integer
Returns Number of times content was fetched from backend.
88 89 90 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 88 def cache_miss_count @cache_miss_count end |
#call_count_blocked ⇒ Integer
This includes calls returning HttpStatusCode.Unauthorized and HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests
67 68 69 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 67 def call_count_blocked @call_count_blocked end |
#call_count_failed ⇒ Integer
errors. This includes calls returning HttpStatusCode.BadRequest(400) and any Code between HttpStatusCode.InternalServerError (500) and 600
72 73 74 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 72 def call_count_failed @call_count_failed end |
#call_count_other ⇒ Integer
Returns Number of other calls.
75 76 77 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 75 def call_count_other @call_count_other end |
#call_count_success ⇒ Integer
returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect
62 63 64 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 62 def call_count_success @call_count_success end |
#call_count_total ⇒ Integer
Returns Total number of calls.
78 79 80 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 78 def call_count_total @call_count_total end |
#country ⇒ String
Returns Country to which this record data is related.
31 32 33 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 31 def country @country end |
#interval ⇒ String
multiple of 15 minutes and may not be zero. The value should be in ISO 8601 format (en.wikipedia.org/wiki/ISO_8601#Durations).
28 29 30 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 28 def interval @interval end |
#name ⇒ String
API, operation or developer name.
17 18 19 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 17 def name @name end |
#operation_id ⇒ String
/apis/apiId/operations/operationId
50 51 52 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 50 def operation_id @operation_id end |
#product_id ⇒ String
Returns Product identifier path. /products/productId.
43 44 45 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 43 def product_id @product_id end |
#region ⇒ String
Returns Country region to which this record data is related.
34 35 36 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 34 def region @region end |
#service_time_avg ⇒ Float
Returns Average time it took to process request on backend.
100 101 102 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 100 def service_time_avg @service_time_avg end |
#service_time_max ⇒ Float
Returns Maximum time it took to process request on backend.
106 107 108 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 106 def service_time_max @service_time_max end |
#service_time_min ⇒ Float
Returns Minimum time it took to process request on backend.
103 104 105 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 103 def service_time_min @service_time_min end |
#subscription_id ⇒ String
/subscriptions/subscriptionId
57 58 59 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 57 def subscription_id @subscription_id end |
#timestamp ⇒ DateTime
the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
23 24 25 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 23 def end |
#user_id ⇒ String
Returns User identifier path. /users/userId.
40 41 42 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 40 def user_id @user_id end |
#zip ⇒ String
Returns Zip code to which this record data is related.
37 38 39 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 37 def zip @zip end |
Class Method Details
.mapper ⇒ Object
Mapper for ReportRecordContract class as Ruby Hash. This will be used for serialization/deserialization.
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 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb', line 113 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReportRecordContract', type: { name: 'Composite', class_name: 'ReportRecordContract', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, timestamp: { client_side_validation: true, required: false, serialized_name: 'timestamp', type: { name: 'DateTime' } }, interval: { client_side_validation: true, required: false, serialized_name: 'interval', type: { name: 'String' } }, country: { client_side_validation: true, required: false, serialized_name: 'country', type: { name: 'String' } }, region: { client_side_validation: true, required: false, serialized_name: 'region', type: { name: 'String' } }, zip: { client_side_validation: true, required: false, serialized_name: 'zip', type: { name: 'String' } }, user_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'userId', type: { name: 'String' } }, product_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'productId', type: { name: 'String' } }, api_id: { client_side_validation: true, required: false, serialized_name: 'apiId', type: { name: 'String' } }, operation_id: { client_side_validation: true, required: false, serialized_name: 'operationId', type: { name: 'String' } }, api_region: { client_side_validation: true, required: false, serialized_name: 'apiRegion', type: { name: 'String' } }, subscription_id: { client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { name: 'String' } }, call_count_success: { client_side_validation: true, required: false, serialized_name: 'callCountSuccess', type: { name: 'Number' } }, call_count_blocked: { client_side_validation: true, required: false, serialized_name: 'callCountBlocked', type: { name: 'Number' } }, call_count_failed: { client_side_validation: true, required: false, serialized_name: 'callCountFailed', type: { name: 'Number' } }, call_count_other: { client_side_validation: true, required: false, serialized_name: 'callCountOther', type: { name: 'Number' } }, call_count_total: { client_side_validation: true, required: false, serialized_name: 'callCountTotal', type: { name: 'Number' } }, bandwidth: { client_side_validation: true, required: false, serialized_name: 'bandwidth', type: { name: 'Number' } }, cache_hit_count: { client_side_validation: true, required: false, serialized_name: 'cacheHitCount', type: { name: 'Number' } }, cache_miss_count: { client_side_validation: true, required: false, serialized_name: 'cacheMissCount', type: { name: 'Number' } }, api_time_avg: { client_side_validation: true, required: false, serialized_name: 'apiTimeAvg', type: { name: 'Double' } }, api_time_min: { client_side_validation: true, required: false, serialized_name: 'apiTimeMin', type: { name: 'Double' } }, api_time_max: { client_side_validation: true, required: false, serialized_name: 'apiTimeMax', type: { name: 'Double' } }, service_time_avg: { client_side_validation: true, required: false, serialized_name: 'serviceTimeAvg', type: { name: 'Double' } }, service_time_min: { client_side_validation: true, required: false, serialized_name: 'serviceTimeMin', type: { name: 'Double' } }, service_time_max: { client_side_validation: true, required: false, serialized_name: 'serviceTimeMax', type: { name: 'Double' } } } } } end |