Udostępnij za pośrednictwem


IWithVirtualNetworkRule.WithoutVirtualNetworkRule(String, String) Method

Definition

Removes a Virtual Network ACL Rule for the CosmosDB account.

public Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithOptionals WithoutVirtualNetworkRule (string virtualNetworkId, string subnetName);
abstract member WithoutVirtualNetworkRule : string * string -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithOptionals
Public Function WithoutVirtualNetworkRule (virtualNetworkId As String, subnetName As String) As IWithOptionals

Parameters

virtualNetworkId
String

The ID of a virtual network.

subnetName
String

The name of the subnet within the virtual network; the subnet must have the service endpoints enabled for 'Microsoft.AzureCosmosDB'.

Returns

Applies to