你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithVirtualNetworkRule.WithVirtualNetworkRules 方法

定义

CosmosDB 帐户的虚拟网络 ACL 规则。

public Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithOptionals WithVirtualNetworkRules (System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.VirtualNetworkRule> virtualNetworkRules);
abstract member WithVirtualNetworkRules : System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.VirtualNetworkRule> -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithOptionals
Public Function WithVirtualNetworkRules (virtualNetworkRules As IList(Of VirtualNetworkRule)) As IWithOptionals

参数

virtualNetworkRules
IList<VirtualNetworkRule>

虚拟网络 ACL 规则列表 (空列表值将删除所有规则) 。

返回

适用于