Share via


MhsmNetworkRuleSet Class

Definition

A set of rules governing the network accessibility of a managed hsm pool.

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

Constructors

MhsmNetworkRuleSet()

Creates an new MhsmNetworkRuleSet 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 MhsmNetworkRuleSet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MhsmNetworkRuleSet.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MhsmNetworkRuleSet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to