fix failure got multiple values for keyword argument id
(#33624)
* fix failure `got multiple values for keyword argument id` * fix test case failure * fix pylint error * fix typo * use fixed version of azure mgmt network sdk * resolve code review feedbacks
This commit is contained in:
parent
d61742147f
commit
99551818a1
1 changed files with 5 additions and 5 deletions
|
@ -446,11 +446,11 @@ def create_rule_instance(rule):
|
|||
:return: SecurityRule
|
||||
'''
|
||||
return SecurityRule(
|
||||
rule['protocol'],
|
||||
rule['source_address_prefix'],
|
||||
rule['destination_address_prefix'],
|
||||
rule['access'],
|
||||
rule['direction'],
|
||||
protocol=rule['protocol'],
|
||||
source_address_prefix=rule['source_address_prefix'],
|
||||
destination_address_prefix=rule['destination_address_prefix'],
|
||||
access=rule['access'],
|
||||
direction=rule['direction'],
|
||||
id=rule.get('id', None),
|
||||
description=rule.get('description', None),
|
||||
source_port_range=rule.get('source_port_range', None),
|
||||
|
|
Loading…
Reference in a new issue