Share via


IPExtendedCommunityRule Class

Definition

List of IP Extended Community Rules.

public class IPExtendedCommunityRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ManagedNetworkFabric.Models.IPExtendedCommunityRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ManagedNetworkFabric.Models.IPExtendedCommunityRule>
type IPExtendedCommunityRule = class
    interface IJsonModel<IPExtendedCommunityRule>
    interface IPersistableModel<IPExtendedCommunityRule>
Public Class IPExtendedCommunityRule
Implements IJsonModel(Of IPExtendedCommunityRule), IPersistableModel(Of IPExtendedCommunityRule)
Inheritance
IPExtendedCommunityRule
Implements

Constructors

IPExtendedCommunityRule(CommunityActionType, Int64, IEnumerable<String>)

Initializes a new instance of IPExtendedCommunityRule.

Properties

Action

Action to be taken on the configuration. Example: Permit | Deny.

RouteTargets

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.

SequenceNumber

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IPExtendedCommunityRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<IPExtendedCommunityRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IPExtendedCommunityRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IPExtendedCommunityRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<IPExtendedCommunityRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to