Share via


ManagedHsmVirtualNetworkRule Class

Definition

A rule governing the accessibility of a managed hsm pool from a specific virtual network.

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

Constructors

ManagedHsmVirtualNetworkRule(ResourceIdentifier)

Initializes a new instance of ManagedHsmVirtualNetworkRule.

Properties

SubnetId

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

Explicit Interface Implementations

IJsonModel<ManagedHsmVirtualNetworkRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedHsmVirtualNetworkRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedHsmVirtualNetworkRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedHsmVirtualNetworkRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedHsmVirtualNetworkRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to