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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.IPPrefixRuleTypeConverter))]
public class IPPrefixRule : Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.IIPPrefixRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.IPPrefixRuleTypeConverter))>]
type IPPrefixRule = class
interface IIPPrefixRule
interface IJsonSerializable
Public Class IPPrefixRule
Implements IIPPrefixRule
- Inheritance
-
IPPrefixRule
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| IPPrefixRule() |
Creates an new IPPrefixRule instance. |
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of IPPrefixRule. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of IPPrefixRule. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ManagedNetworkFabric.Models.IIPPrefixRule. |
| FromJsonString(String) |
Creates a new instance of IPPrefixRule, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of IPPrefixRule into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |