-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
swagger.json
1022 lines (1022 loc) · 33 KB
/
swagger.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"swagger": "2.0",
"info": {
"version": "2020-09-15_Preview",
"title": "ApplicationInsightsClient",
"description": "This document describes the protocol for client requests and responses to the data collection endpoint."
},
"x-ms-parameterized-host": {
"hostTemplate": "{Host}/v2",
"useSchemePrefix": false,
"parameters": [
{
"$ref": "#/parameters/Host"
}
]
},
"paths": {
"/track": {
"post": {
"summary": "Track telemetry events",
"description": "This operation sends a sequence of telemetry events that will be monitored by Azure Monitor.",
"operationId": "track",
"parameters": [
{
"name": "body",
"in": "body",
"description": "The list of telemetry events to track.",
"required": true,
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/TelemetryEnvelope"
}
}
}
],
"consumes": [
"application/json",
"x-json-stream"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "All of the telemetry items were accepted and processed.",
"schema": {
"$ref": "#/definitions/TrackResponse"
}
},
"206": {
"description": "Partial success. Some of the telemetry items were accepted and processed.",
"schema": {
"$ref": "#/definitions/TrackResponse"
}
},
"400": {
"description": "Bad Request",
"x-ms-error-response": true,
"schema": {
"$ref": "#/definitions/TrackResponse"
}
},
"402": {
"description": "Payment Required",
"x-ms-error-response": true,
"schema": {
"$ref": "#/definitions/TrackResponse"
}
},
"429": {
"description": "Too Many Requests",
"x-ms-error-response": true,
"schema": {
"$ref": "#/definitions/TrackResponse"
}
},
"500": {
"description": "Internal Server Error",
"x-ms-error-response": true,
"schema": {
"$ref": "#/definitions/TrackResponse"
}
},
"503": {
"description": "Service Unavailable",
"x-ms-error-response": true,
"schema": {
"$ref": "#/definitions/TrackResponse"
}
}
},
"x-ms-examples": {
"Track examples": {
"$ref": "examples/track.json"
}
}
}
}
},
"definitions": {
"AvailabilityData": {
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "Instances of AvailabilityData represent the result of executing an availability test.",
"required": [
"id",
"name",
"duration",
"success"
],
"properties": {
"id": {
"type": "string",
"description": "Identifier of a test run. Use it to correlate steps of test run and telemetry generated by the service.",
"maxLength": 512
},
"name": {
"type": "string",
"description": "Name of the test that these availability results represent.",
"maxLength": 1024
},
"duration": {
"type": "string",
"description": "Duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days."
},
"success": {
"type": "boolean",
"x-nullable": false,
"description": "Success flag."
},
"runLocation": {
"type": "string",
"description": "Name of the location where the test was run from.",
"maxLength": 1024
},
"message": {
"type": "string",
"description": "Diagnostic message for the result.",
"maxLength": 8192
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
},
"measurements": {
"type": "object",
"description": "Collection of custom measurements.",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
}
]
},
"Base": {
"x-ms-client-name": "MonitorBase",
"type": "object",
"description": "Data struct to contain only C section with custom fields.",
"properties": {
"baseType": {
"type": "string",
"description": "Name of item (B section) if any. If telemetry data is derived straight from this, this should be null."
},
"baseData": {
"$ref": "#/definitions/Domain",
"description": "The data payload for the telemetry request"
}
}
},
"DataPoint": {
"x-ms-client-name": "MetricDataPoint",
"type": "object",
"description": "Metric data single measurement.",
"required": [
"name",
"value"
],
"properties": {
"ns": {
"x-ms-client-name": "namespace",
"type": "string",
"description": "Namespace of the metric.",
"maxLength": 256
},
"name": {
"type": "string",
"description": "Name of the metric.",
"maxLength": 1024
},
"kind": {
"x-ms-client-name": "dataPointType",
"$ref": "#/definitions/DataPointType",
"description": "Metric type. Single measurement or the aggregated value."
},
"value": {
"type": "number",
"description": "Single value for measurement. Sum of individual measurements for the aggregation.",
"format": "double"
},
"count": {
"type": "number",
"format": "int32",
"description": "Metric weight of the aggregated metric. Should not be set for a measurement.",
"x-nullable": true
},
"min": {
"type": "number",
"format": "double",
"description": "Minimum value of the aggregated metric. Should not be set for a measurement.",
"x-nullable": true
},
"max": {
"type": "number",
"format": "double",
"description": "Maximum value of the aggregated metric. Should not be set for a measurement.",
"x-nullable": true
},
"stdDev": {
"type": "number",
"format": "double",
"description": "Standard deviation of the aggregated metric. Should not be set for a measurement.",
"x-nullable": true
}
}
},
"DataPointType": {
"type": "string",
"description": "Type of the metric data measurement.",
"enum": [
"Measurement",
"Aggregation"
]
},
"Domain": {
"x-ms-client-name": "MonitorDomain",
"type": "object",
"description": "The abstract common base of all domains.",
"required": [
"ver"
],
"additionalProperties": true,
"properties": {
"ver": {
"x-ms-client-name": "version",
"type": "integer",
"format": "int32",
"description": "Schema version",
"default": 2
}
}
},
"EventData": {
"x-ms-client-name": "TelemetryEventData",
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "Instances of Event represent structured event records that can be grouped and searched by their properties. Event data item also creates a metric of event count by name.",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Event name. Keep it low cardinality to allow proper grouping and useful metrics.",
"maxLength": 512
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
},
"measurements": {
"type": "object",
"description": "Collection of custom measurements.",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
}
]
},
"ExceptionData": {
"x-ms-client-name": "TelemetryExceptionData",
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "An instance of Exception represents a handled or unhandled exception that occurred during execution of the monitored application.",
"required": [
"exceptions"
],
"properties": {
"exceptions": {
"type": "array",
"description": "Exception chain - list of inner exceptions.",
"items": {
"$ref": "#/definitions/ExceptionDetails"
}
},
"severityLevel": {
"x-nullable": true,
"description": "Severity level. Mostly used to indicate exception severity level when it is reported by logging library.",
"$ref": "#/definitions/SeverityLevel"
},
"problemId": {
"type": "string",
"description": "Identifier of where the exception was thrown in code. Used for exceptions grouping. Typically a combination of exception type and a function from the call stack.",
"maxLength": 1024
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
},
"measurements": {
"type": "object",
"description": "Collection of custom measurements.",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
}
]
},
"ExceptionDetails": {
"x-ms-client-name": "TelemetryExceptionDetails",
"type": "object",
"description": "Exception details of the exception in a chain.",
"required": [
"message"
],
"properties": {
"id": {
"type": "number",
"format": "int32",
"description": "In case exception is nested (outer exception contains inner one), the id and outerId properties are used to represent the nesting."
},
"outerId": {
"type": "number",
"format": "int32",
"description": "The value of outerId is a reference to an element in ExceptionDetails that represents the outer exception"
},
"typeName": {
"type": "string",
"description": "Exception type name.",
"maxLength": 1024
},
"message": {
"type": "string",
"description": "Exception message.",
"maxLength": 32768
},
"hasFullStack": {
"type": "boolean",
"default": true,
"description": "Indicates if full exception stack is provided in the exception. The stack may be trimmed, such as in the case of a StackOverflow exception."
},
"stack": {
"type": "string",
"description": "Text describing the stack. Either stack or parsedStack should have a value.",
"maxLength": 32768
},
"parsedStack": {
"type": "array",
"description": "List of stack frames. Either stack or parsedStack should have a value.",
"items": {
"$ref": "#/definitions/StackFrame"
}
}
}
},
"MessageData": {
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "Instances of Message represent printf-like trace statements that are text-searched. Log4Net, NLog and other text-based log file entries are translated into instances of this type. The message does not have measurements.",
"required": [
"message"
],
"properties": {
"message": {
"type": "string",
"description": "Trace message",
"maxLength": 32768
},
"severityLevel": {
"$ref": "#/definitions/SeverityLevel",
"description": "Trace severity level."
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
},
"measurements": {
"type": "object",
"description": "Collection of custom measurements.",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
}
]
},
"MetricsData": {
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "An instance of the Metric item is a list of measurements (single data points) and/or aggregations.",
"required": [
"metrics"
],
"properties": {
"metrics": {
"type": "array",
"description": "List of metrics. Only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.",
"items": {
"$ref": "#/definitions/DataPoint"
}
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
}
}
]
},
"PageViewData": {
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "An instance of PageView represents a generic action on a page like a button click. It is also the base type for PageView.",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"description": "Identifier of a page view instance. Used for correlation between page view and other telemetry items.",
"maxLength": 512
},
"name": {
"type": "string",
"description": "Event name. Keep it low cardinality to allow proper grouping and useful metrics.",
"maxLength": 1024
},
"url": {
"type": "string",
"description": "Request URL with all query string parameters",
"maxLength": 2048
},
"duration": {
"type": "string",
"description": "Request duration in format: DD.HH:MM:SS.MMMMMM. For a page view (PageViewData), this is the duration. For a page view with performance information (PageViewPerfData), this is the page load time. Must be less than 1000 days."
},
"referredUri": {
"type": "string",
"description": "Fully qualified page URI or URL of the referring page; if unknown, leave blank",
"maxLength": 2048
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
},
"measurements": {
"type": "object",
"description": "Collection of custom measurements.",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
}
]
},
"PageViewPerfData": {
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "An instance of PageViewPerf represents: a page view with no performance data, a page view with performance data, or just the performance data of an earlier page request.",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"description": "Identifier of a page view instance. Used for correlation between page view and other telemetry items.",
"maxLength": 512
},
"name": {
"type": "string",
"description": "Event name. Keep it low cardinality to allow proper grouping and useful metrics.",
"maxLength": 1024
},
"url": {
"type": "string",
"description": "Request URL with all query string parameters",
"maxLength": 2048
},
"duration": {
"type": "string",
"description": "Request duration in format: DD.HH:MM:SS.MMMMMM. For a page view (PageViewData), this is the duration. For a page view with performance information (PageViewPerfData), this is the page load time. Must be less than 1000 days."
},
"perfTotal": {
"type": "string",
"description": "Performance total in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff"
},
"networkConnect": {
"type": "string",
"description": "Network connection time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff"
},
"sentRequest": {
"type": "string",
"description": "Sent request time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff"
},
"receivedResponse": {
"type": "string",
"description": "Received response time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff"
},
"domProcessing": {
"type": "string",
"description": "DOM processing time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff"
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
},
"measurements": {
"type": "object",
"description": "Collection of custom measurements.",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
}
]
},
"RemoteDependencyData": {
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "An instance of Remote Dependency represents an interaction of the monitored component with a remote component/service like SQL or an HTTP endpoint.",
"required": [
"name",
"duration"
],
"properties": {
"id": {
"type": "string",
"description": "Identifier of a dependency call instance. Used for correlation with the request telemetry item corresponding to this dependency call.",
"maxLength": 512
},
"name": {
"type": "string",
"description": "Name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template.",
"maxLength": 1024
},
"resultCode": {
"type": "string",
"description": "Result code of a dependency call. Examples are SQL error code and HTTP status code.",
"maxLength": 1024
},
"data": {
"type": "string",
"description": "Command initiated by this dependency call. Examples are SQL statement and HTTP URL with all query parameters.",
"maxLength": 8192
},
"type": {
"type": "string",
"description": "Dependency type name. Very low cardinality value for logical grouping of dependencies and interpretation of other fields like commandName and resultCode. Examples are SQL, Azure table, and HTTP.",
"maxLength": 1024
},
"target": {
"type": "string",
"description": "Target site of a dependency call. Examples are server name, host address.",
"maxLength": 1024
},
"duration": {
"type": "string",
"description": "Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days."
},
"success": {
"type": "boolean",
"description": "Indication of successful or unsuccessful call.",
"default": true
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
},
"measurements": {
"type": "object",
"description": "Collection of custom measurements.",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
}
]
},
"RequestData": {
"allOf": [
{
"$ref": "#/definitions/Domain"
},
{
"type": "object",
"description": "An instance of Request represents completion of an external request to the application to do work and contains a summary of that request execution and the results.",
"required": [
"id",
"duration",
"responseCode",
"success"
],
"properties": {
"id": {
"type": "string",
"description": "Identifier of a request call instance. Used for correlation between request and other telemetry items.",
"maxLength": 512
},
"name": {
"type": "string",
"description": "Name of the request. Represents code path taken to process request. Low cardinality value to allow better grouping of requests. For HTTP requests it represents the HTTP method and URL path template like 'GET /values/{id}'.",
"maxLength": 1024
},
"duration": {
"type": "string",
"description": "Request duration in format: DD.HH:MM:SS.MMMMMM. Must be less than 1000 days."
},
"success": {
"type": "boolean",
"description": "Indication of successful or unsuccessful call.",
"default": true
},
"responseCode": {
"type": "string",
"description": "Result of a request execution. HTTP status code for HTTP requests.",
"maxLength": 1024
},
"source": {
"type": "string",
"description": "Source of the request. Examples are the instrumentation key of the caller or the ip address of the caller.",
"maxLength": 1024
},
"url": {
"type": "string",
"description": "Request URL with all query string parameters.",
"maxLength": 2048
},
"properties": {
"type": "object",
"description": "Collection of custom properties.",
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
},
"measurements": {
"type": "object",
"description": "Collection of custom measurements.",
"additionalProperties": {
"type": "number",
"format": "double"
}
}
}
}
]
},
"SeverityLevel": {
"type": "string",
"description": "Defines the level of severity for the event.",
"enum": [
"Verbose",
"Information",
"Warning",
"Error",
"Critical"
]
},
"StackFrame": {
"type": "object",
"description": "Stack frame information.",
"required": [
"level",
"method"
],
"properties": {
"level": {
"type": "number",
"format": "int32",
"description": ""
},
"method": {
"type": "string",
"description": "Method name.",
"maxLength": 1024
},
"assembly": {
"type": "string",
"description": "Name of the assembly (dll, jar, etc.) containing this function.",
"maxLength": 1024
},
"fileName": {
"type": "string",
"description": "File name or URL of the method implementation.",
"maxLength": 1024
},
"line": {
"type": "number",
"format": "int32",
"description": "Line number of the code implementation."
}
}
},
"TrackResponse": {
"description": "Response containing the status of each telemetry item.",
"type": "object",
"properties": {
"itemsReceived": {
"type": "number",
"format": "int32",
"description": "The number of items received."
},
"itemsAccepted": {
"type": "number",
"format": "int32",
"description": "The number of items accepted."
},
"errors": {
"type": "array",
"description": "An array of error detail objects.",
"items": {
"$ref": "#/definitions/ErrorDetails"
}
}
}
},
"ErrorDetails": {
"x-ms-client-name": "TelemetryErrorDetails",
"description": "The error details",
"type": "object",
"properties": {
"index": {
"type": "number",
"format": "int32",
"description": "The index in the original payload of the item."
},
"statusCode": {
"type": "number",
"format": "int32",
"description": "The item specific [HTTP Response status code](#Response Status Codes)."
},
"message": {
"type": "string",
"description": "The error message."
}
}
},
"TelemetryEnvelope": {
"x-ms-client-name": "TelemetryItem",
"description": "System variables for a telemetry item.",
"type": "object",
"required": [
"name",
"time"
],
"properties": {
"ver": {
"type": "number",
"x-ms-client-name": "version",
"format": "int32",
"default": 1,
"description": "Envelope version. For internal use only. By assigning this the default, it will not be serialized within the payload unless changed to a value other than #1."
},
"name": {
"type": "string",
"description": "Type name of telemetry data item."
},
"time": {
"type": "string",
"format": "date-time",
"description": "Event date time when telemetry item was created. This is the wall clock time on the client when the event was generated. There is no guarantee that the client's time is accurate. This field must be formatted in UTC ISO 8601 format, with a trailing 'Z' character, as described publicly on https://en.wikipedia.org/wiki/ISO_8601#UTC. Note: the number of decimal seconds digits provided are variable (and unspecified). Consumers should handle this, i.e. managed code consumers should not use format 'O' for parsing as it specifies a fixed length. Example: 2009-06-15T13:45:30.0000000Z."
},
"sampleRate": {
"type": "number",
"format": "float",
"default": 100.0,
"description": "Sampling rate used in application. This telemetry item represents 100 / sampleRate actual telemetry items."
},
"seq": {
"type": "string",
"x-ms-client-name": "sequence",
"maxLength": 64,
"description": "Sequence field used to track absolute order of uploaded events."
},
"iKey": {
"type": "string",
"x-ms-client-name": "instrumentationKey",
"description": "The instrumentation key of the Application Insights resource."
},
"tags": {
"type": "object",
"description": "Key/value collection of context properties. See ContextTagKeys for information on available properties.",
"additionalProperties": {
"type": "string"
}
},
"data": {
"$ref": "#/definitions/Base",
"description": "Telemetry data item."
}
}
},
"ContextTagKeys": {
"type": "string",
"description": "The context tag keys.",
"enum": [
"ApplicationVersion",
"DeviceId",
"DeviceLocale",
"DeviceModel",
"DeviceOEMName",
"DeviceOSVersion",
"DeviceType",
"LocationIp",
"LocationCountry",
"LocationProvince",
"LocationCity",
"OperationId",
"OperationName",
"OperationParentId",
"OperationSyntheticSource",
"OperationCorrelationVector",
"SessionId",
"SessionIsFirst",
"UserAccountId",
"UserId",
"UserAuthUserId",
"CloudRole",
"CloudRoleVer",
"CloudRoleInstance",
"CloudLocation",
"InternalSdkVersion",
"InternalAgentVersion",
"InternalNodeName "
],
"x-ms-enum": {
"name": "ContextTagKeys",
"modelAsString": true,
"values": [
{
"value": "ai.application.ver"
},
{
"value": "ai.device.id"
},
{
"value": "ai.device.locale"
},
{
"value": "ai.device.model"
},
{
"value": "ai.device.oemName"
},
{
"value": "ai.device.osVersion"
},
{
"value": "ai.device.type"
},
{
"value": "ai.location.ip"
},
{
"value": "ai.location.country"
},
{
"value": "ai.location.province"
},
{
"value": "ai.location.city"
},
{
"value": "ai.operation.id"
},
{
"value": "ai.operation.name"
},
{
"value": "ai.operation.parentId"
},
{
"value": "ai.operation.syntheticSource"
},
{
"value": "ai.operation.correlationVector"
},
{
"value": "ai.session.id"
},
{
"value": "ai.session.isFirst"
},
{
"value": "ai.user.accountId"
},
{
"value": "ai.user.id"
},
{
"value": "ai.user.authUserId"
},
{
"value": "ai.cloud.role"
},
{
"value": "ai.cloud.roleVer"
},
{
"value": "ai.cloud.roleInstance"
},
{
"value": "ai.cloud.location"
},
{
"value": "ai.internal.sdkVersion"
},
{