Description of the new feature
From @dcaro
When you add a firewall rule for a specific IP address (the add current client IP Address button) , the portal generates a rule with the name “ClientIPAddress_YYYYY-MM-DD_HH-MM-SS”.
It doe the same with the name “AllowAll_YYYYY-MM-DD_HH-MM-SS” when the range is 0.0.0.0 – 255.255.255.255 as you can see in the screenshot below.

The suggestion was to get to a similar behavior so here is my proposal:
-
Add a ‘-ClientIpAddress’ parameter and when used we create a rule with the characteristics as above: ClientIPAddress_YYYYY-MM-DD_HH-MM-SS
Ideally when startIP = endIP and no names are passed we should do the same but I am not sure this worth the effort.
-
Similarly we can add a -AllowAll parameter that would create a rule name “AllowAll_YYYYY-MM-DD_HH-MM-SS” with a startIP of 0.0.0.0 and endIp of 255.255.255.255
-
When no name is defined for the rules we pass “undefined” as does the portal.
Proposed implementation details (optional)