Partager via


InboundIPRule Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.InboundIPRuleTypeConverter))]
public class InboundIPRule : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IInboundIPRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.InboundIPRuleTypeConverter))>]
type InboundIPRule = class
    interface IInboundIPRule
    interface IJsonSerializable
Public Class InboundIPRule
Implements IInboundIPRule
Inheritance
InboundIPRule
Attributes
Implements

Constructors

InboundIPRule()

Creates an new InboundIPRule instance.

Properties

Action

Action to perform based on the match or no match of the IpMask.

IPMask

IP Address in CIDR notation e.g., 10.0.0.0/8.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of InboundIPRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of InboundIPRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IInboundIPRule.

FromJsonString(String)

Creates a new instance of InboundIPRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of InboundIPRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to