Dela via


IPRule Class

Definition

IP rule with specific IP or IP range in CIDR format.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IPRuleTypeConverter))]
public class IPRule : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IIPRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IPRuleTypeConverter))>]
type IPRule = class
    interface IIPRule
    interface IJsonSerializable
Public Class IPRule
Implements IIPRule
Inheritance
IPRule
Attributes
Implements

Constructors

IPRule()

Creates an new IPRule instance.

Properties

Action

The action of IP ACL rule.

IPAddressOrRange

Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IPRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IPRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IIPRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of IPRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to