| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Network.Models |
| | 11 | | { |
| | 12 | | /// <summary> Allow to exclude some variable satisfy the condition for the WAF check. </summary> |
| | 13 | | public partial class ApplicationGatewayFirewallExclusion |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of ApplicationGatewayFirewallExclusion. </summary> |
| | 16 | | /// <param name="matchVariable"> The variable to be excluded. </param> |
| | 17 | | /// <param name="selectorMatchOperator"> When matchVariable is a collection, operate on the selector to specify |
| | 18 | | /// <param name="selector"> When matchVariable is a collection, operator used to specify which elements in the c |
| 0 | 19 | | public ApplicationGatewayFirewallExclusion(string matchVariable, string selectorMatchOperator, string selector) |
| | 20 | | { |
| 0 | 21 | | if (matchVariable == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(matchVariable)); |
| | 24 | | } |
| 0 | 25 | | if (selectorMatchOperator == null) |
| | 26 | | { |
| 0 | 27 | | throw new ArgumentNullException(nameof(selectorMatchOperator)); |
| | 28 | | } |
| 0 | 29 | | if (selector == null) |
| | 30 | | { |
| 0 | 31 | | throw new ArgumentNullException(nameof(selector)); |
| | 32 | | } |
| | 33 | |
|
| 0 | 34 | | MatchVariable = matchVariable; |
| 0 | 35 | | SelectorMatchOperator = selectorMatchOperator; |
| 0 | 36 | | Selector = selector; |
| 0 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> The variable to be excluded. </summary> |
| 0 | 40 | | public string MatchVariable { get; set; } |
| | 41 | | /// <summary> When matchVariable is a collection, operate on the selector to specify which elements in the colle |
| 0 | 42 | | public string SelectorMatchOperator { get; set; } |
| | 43 | | /// <summary> When matchVariable is a collection, operator used to specify which elements in the collection this |
| 0 | 44 | | public string Selector { get; set; } |
| | 45 | | } |
| | 46 | | } |