Share via


IPRule Class

Definition

A rule governing the accessibility of a vault from a specific ip address or ip range.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IPRuleTypeConverter))]
public class IPRule : Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.IIPRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.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

Value

An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).

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.KeyVault.Models.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