Skip to content

Commit 6588b61

Browse files
committed
Added format to integers
1 parent 3fec331 commit 6588b61

1 file changed

Lines changed: 78 additions & 12 deletions

File tree

specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/networkWatcher.json

Lines changed: 78 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2722,16 +2722,25 @@
27222722
},
27232723
"bytesToCapturePerPacket": {
27242724
"type": "integer",
2725+
"format": "int64",
2726+
"minimum": 0,
2727+
"maximum": 4294967295,
27252728
"default": 0,
27262729
"description": "Number of bytes captured per packet, the remaining bytes are truncated."
27272730
},
27282731
"totalBytesPerSession": {
27292732
"type": "integer",
2733+
"format": "int64",
2734+
"minimum": 0,
2735+
"maximum": 4294967295,
27302736
"default": 1073741824,
27312737
"description": "Maximum size of the capture output."
27322738
},
27332739
"timeLimitInSeconds": {
27342740
"type": "integer",
2741+
"format": "int32",
2742+
"minimum": 0,
2743+
"maximum": 18000,
27352744
"default": 18000,
27362745
"description": "Maximum duration of the capture session in seconds."
27372746
},
@@ -3157,6 +3166,7 @@
31573166
"days": {
31583167
"description": "Number of days to retain flow log records.",
31593168
"type": "integer",
3169+
"format": "int32",
31603170
"default": 0
31613171
},
31623172
"enabled": {
@@ -3183,6 +3193,7 @@
31833193
"version": {
31843194
"description": "The version (revision) of the flow log.",
31853195
"type": "integer",
3196+
"format": "int32",
31863197
"default": 0
31873198
}
31883199
}
@@ -3239,7 +3250,8 @@
32393250
},
32403251
"trafficAnalyticsInterval": {
32413252
"description": "The interval in minutes which would decide how frequently TA service should do flow analytics.",
3242-
"type": "integer"
3253+
"type": "integer",
3254+
"format": "int32"
32433255
}
32443256
}
32453257
},
@@ -3294,7 +3306,10 @@
32943306
},
32953307
"port": {
32963308
"description": "The source port from which a connectivity check will be performed.",
3297-
"type": "integer"
3309+
"type": "integer",
3310+
"format": "int32",
3311+
"minimum": 0,
3312+
"maximum": 65535
32983313
}
32993314
}
33003315
},
@@ -3311,7 +3326,10 @@
33113326
},
33123327
"port": {
33133328
"description": "Port on which check connectivity will be performed.",
3314-
"type": "integer"
3329+
"type": "integer",
3330+
"format": "int32",
3331+
"minimum": 0,
3332+
"maximum": 65535
33153333
}
33163334
}
33173335
},
@@ -3344,27 +3362,32 @@
33443362
"avgLatencyInMs": {
33453363
"description": "Average latency in milliseconds.",
33463364
"readOnly": true,
3347-
"type": "integer"
3365+
"type": "integer",
3366+
"format": "int32"
33483367
},
33493368
"minLatencyInMs": {
33503369
"description": "Minimum latency in milliseconds.",
33513370
"readOnly": true,
3352-
"type": "integer"
3371+
"type": "integer",
3372+
"format": "int32"
33533373
},
33543374
"maxLatencyInMs": {
33553375
"description": "Maximum latency in milliseconds.",
33563376
"readOnly": true,
3357-
"type": "integer"
3377+
"type": "integer",
3378+
"format": "int32"
33583379
},
33593380
"probesSent": {
33603381
"description": "Total number of probes sent.",
33613382
"readOnly": true,
3362-
"type": "integer"
3383+
"type": "integer",
3384+
"format": "int32"
33633385
},
33643386
"probesFailed": {
33653387
"description": "Number of failed probes.",
33663388
"readOnly": true,
3367-
"type": "integer"
3389+
"type": "integer",
3390+
"format": "int32"
33683391
}
33693392
}
33703393
},
@@ -3480,17 +3503,26 @@
34803503
"roundTripTimeMin": {
34813504
"description": "Minimum roundtrip time in milliseconds.",
34823505
"readOnly": true,
3483-
"type": "integer"
3506+
"type": "integer",
3507+
"format": "int64",
3508+
"minimum": 0,
3509+
"maximum": 4294967295
34843510
},
34853511
"roundTripTimeAvg": {
34863512
"description": "Average roundtrip time in milliseconds.",
34873513
"readOnly": true,
3488-
"type": "integer"
3514+
"type": "integer",
3515+
"format": "int64",
3516+
"minimum": 0,
3517+
"maximum": 4294967295
34893518
},
34903519
"roundTripTimeMax": {
34913520
"description": "Maximum roundtrip time in milliseconds.",
34923521
"readOnly": true,
3493-
"type": "integer"
3522+
"type": "integer",
3523+
"format": "int64",
3524+
"minimum": 0,
3525+
"maximum": 4294967295
34943526
}
34953527
}
34963528
},
@@ -3593,7 +3625,8 @@
35933625
"validStatusCodes": {
35943626
"type": "array",
35953627
"items": {
3596-
"type": "integer"
3628+
"type": "integer",
3629+
"format": "int32"
35973630
},
35983631
"description": "Valid status codes."
35993632
}
@@ -3725,6 +3758,7 @@
37253758
},
37263759
"score": {
37273760
"type": "integer",
3761+
"format": "int32",
37283762
"description": "The relative latency score between 1 and 100, higher values indicating a faster connection.",
37293763
"minimum": 1,
37303764
"maximum": 100
@@ -4061,6 +4095,9 @@
40614095
},
40624096
"monitoringIntervalInSeconds": {
40634097
"type": "integer",
4098+
"format": "int32",
4099+
"minimum": 30,
4100+
"maximum": 1800,
40644101
"default": 60,
40654102
"description": "Monitoring interval in seconds."
40664103
},
@@ -4107,6 +4144,9 @@
41074144
},
41084145
"port": {
41094146
"type": "integer",
4147+
"format": "int32",
4148+
"minimum": 0,
4149+
"maximum": 65535,
41104150
"description": "The source port used by connection monitor."
41114151
}
41124152
},
@@ -4127,6 +4167,9 @@
41274167
},
41284168
"port": {
41294169
"type": "integer",
4170+
"format": "int32",
4171+
"minimum": 0,
4172+
"maximum": 65535,
41304173
"description": "The destination port used by connection monitor."
41314174
}
41324175
},
@@ -4311,6 +4354,7 @@
43114354
},
43124355
"testFrequencySec": {
43134356
"type": "integer",
4357+
"format": "int32",
43144358
"description": "The frequency of test evaluation, in seconds."
43154359
},
43164360
"protocol": {
@@ -4365,6 +4409,9 @@
43654409
"properties": {
43664410
"port": {
43674411
"type": "integer",
4412+
"format": "int32",
4413+
"minimum": 0,
4414+
"maximum": 65535,
43684415
"description": "The port to connect to."
43694416
},
43704417
"method": {
@@ -4408,6 +4455,9 @@
44084455
"properties": {
44094456
"port": {
44104457
"type": "integer",
4458+
"format": "int32",
4459+
"minimum": 0,
4460+
"maximum": 65535,
44114461
"description": "The port to connect to."
44124462
},
44134463
"disableTraceRoute": {
@@ -4442,6 +4492,7 @@
44424492
"properties": {
44434493
"checksFailedPercent": {
44444494
"type": "integer",
4495+
"format": "int32",
44454496
"description": "The maximum percentage of failed checks permitted for a test to evaluate as successful."
44464497
},
44474498
"roundTripTimeMs": {
@@ -4520,22 +4571,37 @@
45204571
},
45214572
"avgLatencyInMs": {
45224573
"type": "integer",
4574+
"format": "int64",
4575+
"minimum": 0,
4576+
"maximum": 4294967295,
45234577
"description": "Average latency in ms."
45244578
},
45254579
"minLatencyInMs": {
45264580
"type": "integer",
4581+
"format": "int64",
4582+
"minimum": 0,
4583+
"maximum": 4294967295,
45274584
"description": "Minimum latency in ms."
45284585
},
45294586
"maxLatencyInMs": {
45304587
"type": "integer",
4588+
"format": "int64",
4589+
"minimum": 0,
4590+
"maximum": 4294967295,
45314591
"description": "Maximum latency in ms."
45324592
},
45334593
"probesSent": {
45344594
"type": "integer",
4595+
"format": "int64",
4596+
"minimum": 0,
4597+
"maximum": 4294967295,
45354598
"description": "The number of sent probes."
45364599
},
45374600
"probesFailed": {
45384601
"type": "integer",
4602+
"format": "int64",
4603+
"minimum": 0,
4604+
"maximum": 4294967295,
45394605
"description": "The number of failed probes."
45404606
},
45414607
"hops": {

0 commit comments

Comments
 (0)