Share via


ManagedHsmVirtualNetworkRule(ResourceIdentifier) Constructor

Definition

Initializes a new instance of ManagedHsmVirtualNetworkRule.

public ManagedHsmVirtualNetworkRule (Azure.Core.ResourceIdentifier subnetId);
new Azure.ResourceManager.KeyVault.Models.ManagedHsmVirtualNetworkRule : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.KeyVault.Models.ManagedHsmVirtualNetworkRule
Public Sub New (subnetId As ResourceIdentifier)

Parameters

subnetId
ResourceIdentifier

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

Exceptions

subnetId is null.

Applies to