Introduce new parameters into az network watcher connection-monitor. Add new commands.
Resource Provider Az.Network
Description of Feature or Work Requested We are going to create a new version of connection monitor API. instead of single source/destination we are going to enable monitoring for multiple endpoints and configurations. Instead of current parameters, we will need to have a list of endpoints, testConfigurations, testGroups and outputs.
Looks like reasonable approach:
-
create a shallow connection monitor resource: az network watcher connection-monitor create --name --notes
-
add endpoint to connection monitor: az network watcher connection-monitor endpoint create --name --resourceId --address --filterType --filterAddresses
-
add testConfiguration to connection monitor: az network watcher connection-monitor testConfiguration create --name --testFrequencySec -- successThresholdChecksFailedPercent --successThresholdRoundTripTimeMs --preferredIPVersion --protocolConfiguration
-
add testGroup to connection monitor: az network watcher connection-monitor testGroup create --name --testConfigurations(list of test configuration names) --sources(list of source endpoint names) --destinations(list of destination endpoint names)
-
add output to connectionMonitor: az network watcher connection-monitor output create --outputType --workspaceResourceId
-
I'm not sure what's the best approach to set protocolConfiguration from item 3. For powershell we do it like this:
New-AzNetworkWatcherConnectionMonitorProtocolConfigurationObject -Protocol
[1st parameter set - if TCP protocol specified: [-Port
- We also need to have some way to update connection monitor. If there is an option to delete endpoint, testConfiguration, testGroup and output from connectionMonitor, it could work. The challenge is that if customer remove endpoint but forget to remove this endpoint name from a testGroup which was referenced it, customer will have validation exception on server side. Probably, it's fine...
Minimum API Version Required What is the minimum API version of your service required to implement your feature?
Swagger Link https://github.com/Azure/azure-rest-api-specs/pull/7821
it's not updated with new parameters yet
Target Date We are going to have private preview at the second half of June.
@irrogozh what is the min API version for these features and are there PRs that show the actual swagger changes?
Bumping to sprint 66 due to higher priority direction from NRP.
Travis, please, don't implement this please. The spec is not approved yet - there is ongoing changes in contract...
@irrgozh no worries. If the spec isn't approved for work in sprint 66 I'll just shuffle priorities accordingly.
@irrogozh Hello. Once are the spec PR ready, please modify the title and ping me. Thanks
@irrogozh Feel free to ping me when the service's ready.
@MyronFanQiu , can we discuss design? The public preview is going to be in January. So, we will need to have cmdlets by this time.
@irrogozh sure. Should we schedule a meeting?
@MyronFanQiu, yep, would be great. Could you send me your Msft alias so I could schedule a meeting? What time would be convenient for you? I'm working on PST time... Just in case, my alias - [email protected]
add to S164.