Need new cmdlet for NetworkWatcherNetworkConfigurationDiagnostic API
Is your feature request related to a problem? Please describe. We need a cmdlet for the new API. NetworkConfigurationDiagnostic API allows customer to get an information on if traffic is allowed or denied for configured filters. Each filter consists of direction, protocol, source, destination and sourcePort and destinationPort.
Here is rest API spec: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/networkWatcher.json (line 1781) Example of usage: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json
Describe the solution you'd like Our suggestion is to create 2 cmdlet. One is for creating traffic query. Another is for getting network configuration diagnostic.
az network watcher traffic query create --direction --protocol --source --destination --destinationPort
az network watcher network configuration diagnostic --location --targetResourceId --traficeQueries<List
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
//cc @tjprescott
PR merged. Will be in Ignite release.