IPPrefixRule(CommunityActionType, Int64, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of IPPrefixRule.
public IPPrefixRule (Azure.ResourceManager.ManagedNetworkFabric.Models.CommunityActionType action, long sequenceNumber, string networkPrefix);
new Azure.ResourceManager.ManagedNetworkFabric.Models.IPPrefixRule : Azure.ResourceManager.ManagedNetworkFabric.Models.CommunityActionType * int64 * string -> Azure.ResourceManager.ManagedNetworkFabric.Models.IPPrefixRule
Public Sub New (action As CommunityActionType, sequenceNumber As Long, networkPrefix As String)
Parameters
- action
- CommunityActionType
Action to be taken on the configuration. Example: Permit | Deny.
- sequenceNumber
- Int64
Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.
- networkPrefix
- String
Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126.
Exceptions
networkPrefix
is null.
Applies to
Azure SDK for .NET