다음을 통해 공유


VirtualNetworkRule Constructors

Definition

Overloads

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule(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, Nullable<Boolean>)

Initializes a new instance of the VirtualNetworkRule class.

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

Parameters

id
String

Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.

ignoreMissingVNetServiceEndpoint
Nullable<Boolean>

Create firewall rule before the virtual network has vnet service endpoint enabled.

Applies to