Compartilhar via


IPSecurityRestrictionRule Class

Definition

Rule to restrict incoming IP address.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.IPSecurityRestrictionRuleTypeConverter))]
public class IPSecurityRestrictionRule : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIPSecurityRestrictionRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.IPSecurityRestrictionRuleTypeConverter))>]
type IPSecurityRestrictionRule = class
    interface IIPSecurityRestrictionRule
    interface IJsonSerializable
Public Class IPSecurityRestrictionRule
Implements IIPSecurityRestrictionRule
Inheritance
IPSecurityRestrictionRule
Attributes
Implements

Constructors

IPSecurityRestrictionRule()

Creates an new IPSecurityRestrictionRule instance.

Properties

Action

Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny

Description

Describe the IP restriction rule that is being sent to the container-app. This is an optional field.

IPAddressRange

CIDR notation to match incoming IP address

Name

Name for the IP restriction rule.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IPSecurityRestrictionRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IPSecurityRestrictionRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IIPSecurityRestrictionRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of IPSecurityRestrictionRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to