Sdílet prostřednictvím


VirtualNetworkRule Class

Definition

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

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

Constructors

VirtualNetworkRule()

Creates an new VirtualNetworkRule instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualNetworkRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualNetworkRule.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualNetworkRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to