azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Need new cmdlet for NetworkWatcherNetworkConfigurationDiagnostic API

Open irrogozh opened this issue 8 years ago • 2 comments

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.

irrogozh avatar Aug 16 '18 17:08 irrogozh

//cc @tjprescott

yugangw-msft avatar Aug 16 '18 21:08 yugangw-msft

PR merged. Will be in Ignite release.

tjprescott avatar Aug 31 '18 16:08 tjprescott