Skip to content

Commit

Permalink
Added format to integers (#10912)
Browse files Browse the repository at this point in the history
* Added format to integers

* Updated 07-01 networkWatcher swagger with formats for integer properties

* Revert "Added format to integers"

This reverts commit 6588b61.
  • Loading branch information
irrogozh authored Sep 27, 2020
1 parent 3fec331 commit 8fb99ef
Showing 1 changed file with 78 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2722,16 +2722,25 @@
},
"bytesToCapturePerPacket": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295,
"default": 0,
"description": "Number of bytes captured per packet, the remaining bytes are truncated."
},
"totalBytesPerSession": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295,
"default": 1073741824,
"description": "Maximum size of the capture output."
},
"timeLimitInSeconds": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 18000,
"default": 18000,
"description": "Maximum duration of the capture session in seconds."
},
Expand Down Expand Up @@ -3157,6 +3166,7 @@
"days": {
"description": "Number of days to retain flow log records.",
"type": "integer",
"format": "int32",
"default": 0
},
"enabled": {
Expand All @@ -3183,6 +3193,7 @@
"version": {
"description": "The version (revision) of the flow log.",
"type": "integer",
"format": "int32",
"default": 0
}
}
Expand Down Expand Up @@ -3239,7 +3250,8 @@
},
"trafficAnalyticsInterval": {
"description": "The interval in minutes which would decide how frequently TA service should do flow analytics.",
"type": "integer"
"type": "integer",
"format": "int32"
}
}
},
Expand Down Expand Up @@ -3294,7 +3306,10 @@
},
"port": {
"description": "The source port from which a connectivity check will be performed.",
"type": "integer"
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 65535
}
}
},
Expand All @@ -3311,7 +3326,10 @@
},
"port": {
"description": "Port on which check connectivity will be performed.",
"type": "integer"
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 65535
}
}
},
Expand Down Expand Up @@ -3344,27 +3362,32 @@
"avgLatencyInMs": {
"description": "Average latency in milliseconds.",
"readOnly": true,
"type": "integer"
"type": "integer",
"format": "int32"
},
"minLatencyInMs": {
"description": "Minimum latency in milliseconds.",
"readOnly": true,
"type": "integer"
"type": "integer",
"format": "int32"
},
"maxLatencyInMs": {
"description": "Maximum latency in milliseconds.",
"readOnly": true,
"type": "integer"
"type": "integer",
"format": "int32"
},
"probesSent": {
"description": "Total number of probes sent.",
"readOnly": true,
"type": "integer"
"type": "integer",
"format": "int32"
},
"probesFailed": {
"description": "Number of failed probes.",
"readOnly": true,
"type": "integer"
"type": "integer",
"format": "int32"
}
}
},
Expand Down Expand Up @@ -3480,17 +3503,26 @@
"roundTripTimeMin": {
"description": "Minimum roundtrip time in milliseconds.",
"readOnly": true,
"type": "integer"
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295
},
"roundTripTimeAvg": {
"description": "Average roundtrip time in milliseconds.",
"readOnly": true,
"type": "integer"
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295
},
"roundTripTimeMax": {
"description": "Maximum roundtrip time in milliseconds.",
"readOnly": true,
"type": "integer"
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295
}
}
},
Expand Down Expand Up @@ -3593,7 +3625,8 @@
"validStatusCodes": {
"type": "array",
"items": {
"type": "integer"
"type": "integer",
"format": "int32"
},
"description": "Valid status codes."
}
Expand Down Expand Up @@ -3725,6 +3758,7 @@
},
"score": {
"type": "integer",
"format": "int32",
"description": "The relative latency score between 1 and 100, higher values indicating a faster connection.",
"minimum": 1,
"maximum": 100
Expand Down Expand Up @@ -4061,6 +4095,9 @@
},
"monitoringIntervalInSeconds": {
"type": "integer",
"format": "int32",
"minimum": 30,
"maximum": 1800,
"default": 60,
"description": "Monitoring interval in seconds."
},
Expand Down Expand Up @@ -4107,6 +4144,9 @@
},
"port": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 65535,
"description": "The source port used by connection monitor."
}
},
Expand All @@ -4127,6 +4167,9 @@
},
"port": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 65535,
"description": "The destination port used by connection monitor."
}
},
Expand Down Expand Up @@ -4311,6 +4354,7 @@
},
"testFrequencySec": {
"type": "integer",
"format": "int32",
"description": "The frequency of test evaluation, in seconds."
},
"protocol": {
Expand Down Expand Up @@ -4365,6 +4409,9 @@
"properties": {
"port": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 65535,
"description": "The port to connect to."
},
"method": {
Expand Down Expand Up @@ -4408,6 +4455,9 @@
"properties": {
"port": {
"type": "integer",
"format": "int32",
"minimum": 0,
"maximum": 65535,
"description": "The port to connect to."
},
"disableTraceRoute": {
Expand Down Expand Up @@ -4442,6 +4492,7 @@
"properties": {
"checksFailedPercent": {
"type": "integer",
"format": "int32",
"description": "The maximum percentage of failed checks permitted for a test to evaluate as successful."
},
"roundTripTimeMs": {
Expand Down Expand Up @@ -4520,22 +4571,37 @@
},
"avgLatencyInMs": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295,
"description": "Average latency in ms."
},
"minLatencyInMs": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295,
"description": "Minimum latency in ms."
},
"maxLatencyInMs": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295,
"description": "Maximum latency in ms."
},
"probesSent": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295,
"description": "The number of sent probes."
},
"probesFailed": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 4294967295,
"description": "The number of failed probes."
},
"hops": {
Expand Down

0 comments on commit 8fb99ef

Please sign in to comment.