-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AccessControlListMatchConfiguration.cs
49 lines (43 loc) · 2.5 KB
/
AccessControlListMatchConfiguration.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.ManagedNetworkFabric.Models
{
/// <summary> Defines the match configuration that are supported to filter the traffic. </summary>
public partial class AccessControlListMatchConfiguration
{
/// <summary> Initializes a new instance of <see cref="AccessControlListMatchConfiguration"/>. </summary>
public AccessControlListMatchConfiguration()
{
MatchConditions = new ChangeTrackingList<AccessControlListMatchCondition>();
Actions = new ChangeTrackingList<AccessControlListAction>();
}
/// <summary> Initializes a new instance of <see cref="AccessControlListMatchConfiguration"/>. </summary>
/// <param name="matchConfigurationName"> The name of the match configuration. </param>
/// <param name="sequenceNumber"> Sequence Number of the match configuration. </param>
/// <param name="ipAddressType"> Type of IP Address. IPv4 or IPv6. </param>
/// <param name="matchConditions"> List of the match conditions. </param>
/// <param name="actions"> List of actions that need to be performed for the matched conditions. </param>
internal AccessControlListMatchConfiguration(string matchConfigurationName, long? sequenceNumber, NetworkFabricIPAddressType? ipAddressType, IList<AccessControlListMatchCondition> matchConditions, IList<AccessControlListAction> actions)
{
MatchConfigurationName = matchConfigurationName;
SequenceNumber = sequenceNumber;
IPAddressType = ipAddressType;
MatchConditions = matchConditions;
Actions = actions;
}
/// <summary> The name of the match configuration. </summary>
public string MatchConfigurationName { get; set; }
/// <summary> Sequence Number of the match configuration. </summary>
public long? SequenceNumber { get; set; }
/// <summary> Type of IP Address. IPv4 or IPv6. </summary>
public NetworkFabricIPAddressType? IPAddressType { get; set; }
/// <summary> List of the match conditions. </summary>
public IList<AccessControlListMatchCondition> MatchConditions { get; }
/// <summary> List of actions that need to be performed for the matched conditions. </summary>
public IList<AccessControlListAction> Actions { get; }
}
}