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

Added new properties to connection monitor endpoint #10197

Merged
merged 2 commits into from
Jul 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4141,6 +4141,22 @@
"type": "string",
"description": "The name of the connection monitor endpoint."
},
"type": {
"type": "string",
"enum": [
"AzureVM",
"AzureVNet",
"AzureSubnet",
"ExternalAddress",
"MMAWorkspaceMachine",
"MMAWorkspaceNetwork"
],
"x-ms-enum": {
"name": "EndpointType",
"modelAsString": true
},
"description": "The endpoint type."
},
"resourceId": {
"type": "string",
"description": "Resource ID of the connection monitor endpoint."
Expand All @@ -4152,13 +4168,61 @@
"filter": {
"$ref": "#/definitions/ConnectionMonitorEndpointFilter",
"description": "Filter for sub-items within the endpoint."
},
"scope": {
"$ref": "#/definitions/ConnectionMonitorEndpointScope",
"description": "Endpoint scope."
},
"coverageLevel": {
"type": "string",
"enum": [
"Default",
"Low",
"BelowAverage",
"Average",
"AboveAverage",
"Full"
],
"x-ms-enum": {
"name": "CoverageLevel",
"modelAsString": true
},
"description": "Test coverage for the endpoint."
}
},
"required": [
"name"
],
"description": "Describes the connection monitor endpoint."
},
"ConnectionMonitorEndpointScope": {
"properties": {
"include": {
"type": "array",
"description": "List of items which needs to be included to the endpoint scope.",
"items": {
"$ref": "#/definitions/ConnectionMonitorEndpointScopeItem"
}
},
"exclude": {
"type": "array",
"description": "List of items which needs to be excluded from the endpoint scope.",
"items": {
"$ref": "#/definitions/ConnectionMonitorEndpointScopeItem"
}
}
},
"description": "Describes the connection monitor endpoint scope."
},
"ConnectionMonitorEndpointScopeItem": {
"properties": {
"address": {
"type": "string",
"description": "The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address."
}
},
"description": "Describes the connection monitor endpoint scope item."
},
"ConnectionMonitorEndpointFilter": {
"properties": {
"type": {
Expand Down