IPExtendedCommunityRule 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 IPExtendedCommunityRule.
public IPExtendedCommunityRule (Azure.ResourceManager.ManagedNetworkFabric.Models.CommunityActionType action, long sequenceNumber, System.Collections.Generic.IEnumerable<string> routeTargets);
new Azure.ResourceManager.ManagedNetworkFabric.Models.IPExtendedCommunityRule : Azure.ResourceManager.ManagedNetworkFabric.Models.CommunityActionType * int64 * seq<string> -> Azure.ResourceManager.ManagedNetworkFabric.Models.IPExtendedCommunityRule
Public Sub New (action As CommunityActionType, sequenceNumber As Long, routeTargets As IEnumerable(Of 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.
- routeTargets
- IEnumerable<String>
Route Target List.The expected formats are ASN(plain):NN >> example 4294967294:50, ASN.ASN:NN >> example 65533.65333:40, IP-address:NN >> example 10.10.10.10:65535. The possible values of ASN,NN are in range of 0-65535, ASN(plain) is in range of 0-4294967295.
Exceptions
routeTargets
is null.
Applies to
Azure SDK for .NET