Share via


KeyVaultVirtualNetworkRule Class

Definition

A rule governing the accessibility of a vault from a specific virtual network.

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

Constructors

KeyVaultVirtualNetworkRule(String)

Initializes a new instance of KeyVaultVirtualNetworkRule.

Properties

Id

Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.

IgnoreMissingVnetServiceEndpoint

Property to specify whether NRP will ignore the check if parent subnet has serviceEndpoints configured.

Explicit Interface Implementations

IJsonModel<KeyVaultVirtualNetworkRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyVaultVirtualNetworkRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyVaultVirtualNetworkRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultVirtualNetworkRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyVaultVirtualNetworkRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to