IPPrefixRule Class
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.
IP Prefix Rule properties.
public class IPPrefixRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ManagedNetworkFabric.Models.IPPrefixRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ManagedNetworkFabric.Models.IPPrefixRule>
type IPPrefixRule = class
interface IJsonModel<IPPrefixRule>
interface IPersistableModel<IPPrefixRule>
Public Class IPPrefixRule
Implements IJsonModel(Of IPPrefixRule), IPersistableModel(Of IPPrefixRule)
- Inheritance
-
IPPrefixRule
- Implements
Constructors
IPPrefixRule(CommunityActionType, Int64, String) |
Initializes a new instance of IPPrefixRule. |
Properties
Action |
Action to be taken on the configuration. Example: Permit | Deny. |
Condition |
Specify prefix-list bounds. |
NetworkPrefix |
Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126. |
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. |
SubnetMaskLength |
SubnetMaskLength gives the minimum NetworkPrefix length to be matched. Possible values for IPv4 are 1 - 32 . Possible values of IPv6 are 1 - 128. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<IPPrefixRule>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<IPPrefixRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<IPPrefixRule>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<IPPrefixRule>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<IPPrefixRule>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |