Share via


VirtualNetworkRule Constructors

Definition

Overloads

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule(String, String, Nullable<Boolean>)

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

public VirtualNetworkRule ();
Public Sub New ()

Applies to

VirtualNetworkRule(String, String, Nullable<Boolean>)

Initializes a new instance of the VirtualNetworkRule class.

public VirtualNetworkRule (string id, string state = default, bool? ignoreMissingVnetServiceEndpoint = default);
new Microsoft.Azure.Management.CognitiveServices.Models.VirtualNetworkRule : string * string * Nullable<bool> -> Microsoft.Azure.Management.CognitiveServices.Models.VirtualNetworkRule
Public Sub New (id As String, Optional state As String = Nothing, Optional ignoreMissingVnetServiceEndpoint As Nullable(Of Boolean) = Nothing)

Parameters

id
String

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

state
String

Gets the state of virtual network rule.

ignoreMissingVnetServiceEndpoint
Nullable<Boolean>

Ignore missing vnet service endpoint or not.

Applies to