-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from c90c5d14e7b0b169a8cde763860d15aa48a0d37c (#3395)
address the comments
- Loading branch information
1 parent
3be15a4
commit 1d27e71
Showing
5 changed files
with
132 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
...t-network/azure/mgmt/network/v2018_08_01/models/application_gateway_firewall_exclusion.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ApplicationGatewayFirewallExclusion(Model): | ||
"""Allow to exclude some variable satisfy the condition for the WAF check. | ||
All required parameters must be populated in order to send to Azure. | ||
:param match_variable: Required. The variable to be excluded. | ||
:type match_variable: str | ||
:param selector_match_operator: Required. When matchVariable is a | ||
collection, operate on the selector to specify which elements in the | ||
collection this exclusion applies to. | ||
:type selector_match_operator: str | ||
:param selector: Required. When matchVariable is a collection, operator | ||
used to specify which elements in the collection this exclusion applies | ||
to. | ||
:type selector: str | ||
""" | ||
|
||
_validation = { | ||
'match_variable': {'required': True}, | ||
'selector_match_operator': {'required': True}, | ||
'selector': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'match_variable': {'key': 'matchVariable', 'type': 'str'}, | ||
'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, | ||
'selector': {'key': 'selector', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ApplicationGatewayFirewallExclusion, self).__init__(**kwargs) | ||
self.match_variable = kwargs.get('match_variable', None) | ||
self.selector_match_operator = kwargs.get('selector_match_operator', None) | ||
self.selector = kwargs.get('selector', None) |
48 changes: 48 additions & 0 deletions
48
...twork/azure/mgmt/network/v2018_08_01/models/application_gateway_firewall_exclusion_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ApplicationGatewayFirewallExclusion(Model): | ||
"""Allow to exclude some variable satisfy the condition for the WAF check. | ||
All required parameters must be populated in order to send to Azure. | ||
:param match_variable: Required. The variable to be excluded. | ||
:type match_variable: str | ||
:param selector_match_operator: Required. When matchVariable is a | ||
collection, operate on the selector to specify which elements in the | ||
collection this exclusion applies to. | ||
:type selector_match_operator: str | ||
:param selector: Required. When matchVariable is a collection, operator | ||
used to specify which elements in the collection this exclusion applies | ||
to. | ||
:type selector: str | ||
""" | ||
|
||
_validation = { | ||
'match_variable': {'required': True}, | ||
'selector_match_operator': {'required': True}, | ||
'selector': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'match_variable': {'key': 'matchVariable', 'type': 'str'}, | ||
'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, | ||
'selector': {'key': 'selector', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, match_variable: str, selector_match_operator: str, selector: str, **kwargs) -> None: | ||
super(ApplicationGatewayFirewallExclusion, self).__init__(**kwargs) | ||
self.match_variable = match_variable | ||
self.selector_match_operator = selector_match_operator | ||
self.selector = selector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters