Partager via


NetworkRuleSet Class

Definition

A set of rules governing the network accessibility of a vault.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.NetworkRuleSetTypeConverter))]
public class NetworkRuleSet : Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.INetworkRuleSet
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.NetworkRuleSetTypeConverter))>]
type NetworkRuleSet = class
    interface INetworkRuleSet
    interface IJsonSerializable
Public Class NetworkRuleSet
Implements INetworkRuleSet
Inheritance
NetworkRuleSet
Attributes
Implements

Constructors

NetworkRuleSet()

Creates an new NetworkRuleSet instance.

Properties

Bypass

Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'.

DefaultAction

The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated.

IPRule

The list of IP address rules.

VirtualNetworkRule

The list of virtual network rules.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NetworkRuleSet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NetworkRuleSet.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.INetworkRuleSet.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NetworkRuleSet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to