Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkWatcher: Added new parameters to QueryConnectionMonitorResult and ConnectivityCheckRequest #2763

Merged
merged 8 commits into from
Mar 30, 2018
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"responses" : {
"200" : {
"body" : {
"sourceStatus": "Active",
"states" : [
{
"connectionState" : "Reachable",
Expand Down Expand Up @@ -41,6 +42,7 @@
},
"202" : {
"body" : {
"sourceStatus": "Active",
"states" : [
{
"connectionState" : "Reachable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@
"UDP"
],
"x-ms-enum": {
"name": "Protocol",
"name": "IpFlowProtocol",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking change 1

"modelAsString": true
},
"description": "Protocol to be verified on."
Expand Down Expand Up @@ -2307,6 +2307,23 @@
},
"destination": {
"$ref": "#/definitions/ConnectivityDestination"
},
"protocol": {
"type": "string",
"description": "Network protocol.",
"enum": [
"Tcp",
"Http",
"Https",
"Icmp"
],
"x-ms-enum": {
"name": "Protocol",
"modelAsString": true
}
},
"protocolConfiguration": {
"$ref": "#/definitions/ProtocolConfiguration"
}
}
},
Expand Down Expand Up @@ -2504,6 +2521,57 @@
"type": "string"
}
},
"ProtocolConfiguration": {
"description": "Configuration of the protocol.",
"properties": {
"HTTPConfiguration": {
"$ref": "#/definitions/HTTPConfiguration"
}
}
},
"HTTPConfiguration": {
"properties": {
"method": {
"type": "string",
"description": "HTTP method.",
"enum": [
"Get"
],
"x-ms-enum": {
"name": "HTTPMethod",
"modelAsString": true
}
},
"headers": {
"type": "array",
"description": "List of HTTP headers.",
"items": {
"$ref": "#/definitions/HTTPHeader"
}
},
"validStatusCodes": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Valid status codes."
}
},
"description": "HTTP configuration of the connectivity check."
},
"HTTPHeader": {
"properties": {
"name": {
"type": "string",
"description": "The name in HTTP header."
},
"value": {
"type": "string",
"description": "The value in HTTP header."
}
},
"description": "Describes the HTTP header."
},
"AzureReachabilityReportParameters": {
"properties": {
"providerLocation": {
Expand Down Expand Up @@ -2890,6 +2958,19 @@
},
"ConnectionMonitorQueryResult": {
"properties": {
"sourceStatus": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking change 2 (constructor signature)

"type": "string",
"enum": [
"Uknown",
"Active",
"Inactive"
],
"x-ms-enum": {
"name": "ConnectionMonitorSourceStatus",
"modelAsString": true
},
"description": "Status of connection monitor source."
},
"states": {
"type": "array",
"items": {
Expand Down