共用方式為


KeyVaultNetworkRuleSet Class

Definition

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

public class KeyVaultNetworkRuleSet : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.KeyVault.Models.KeyVaultNetworkRuleSet>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.KeyVault.Models.KeyVaultNetworkRuleSet>
public class KeyVaultNetworkRuleSet
type KeyVaultNetworkRuleSet = class
    interface IJsonModel<KeyVaultNetworkRuleSet>
    interface IPersistableModel<KeyVaultNetworkRuleSet>
type KeyVaultNetworkRuleSet = class
Public Class KeyVaultNetworkRuleSet
Implements IJsonModel(Of KeyVaultNetworkRuleSet), IPersistableModel(Of KeyVaultNetworkRuleSet)
Public Class KeyVaultNetworkRuleSet
Inheritance
KeyVaultNetworkRuleSet
Implements

Constructors

KeyVaultNetworkRuleSet()

Initializes a new instance of KeyVaultNetworkRuleSet.

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.

IPRules

The list of IP address rules.

VirtualNetworkRules

The list of virtual network rules.

Explicit Interface Implementations

IJsonModel<KeyVaultNetworkRuleSet>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<KeyVaultNetworkRuleSet>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyVaultNetworkRuleSet>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultNetworkRuleSet>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<KeyVaultNetworkRuleSet>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to