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

[Network] az network firewall policy rule-collection-group collection rule add: Add parameter 'web-categories' #2910

Merged
merged 18 commits into from
Jan 29, 2021
Prev Previous commit
Next Next commit
delete surplus line
  • Loading branch information
msyyc committed Jan 18, 2021
commit 9ba94150400b8011cf1ffb747e908ab683f40248
6 changes: 2 additions & 4 deletions src/azure-firewall/azext_firewall/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
list_network_resource_property, get_network_resource_property_entry, delete_network_resource_property_entry)

from ._validators import validate_af_network_rule, validate_af_nat_rule, validate_af_application_rule

from ._exception_handler import exception_handler

# pylint: disable=too-many-locals, too-many-statements
def load_command_table(self, _):

from ._exception_handler import exception_handler
network_util = CliCommandType(
operations_tmpl='azext_firewall._util#{}',
client_factory=None
Expand All @@ -43,8 +42,7 @@ def load_command_table(self, _):
operations_tmpl='azext_firewall.vendored_sdks.v2020_07_01.operations#FirewallPoliciesOperations.{}',
client_factory=cf_firewall_policies,
resource_type=CUSTOM_FIREWALL,
min_api='2019-07-01',
exception_handler=exception_handler
min_api='2019-07-01'
)

network_firewall_policy_rule_groups = CliCommandType(
Expand Down