public static interface CosmosDBAccount.UpdateStages.WithVirtualNetworkRule
| Modifier and Type | Method and Description |
|---|---|
CosmosDBAccount.UpdateStages.WithOptionals |
withoutVirtualNetwork(String virtualNetworkId,
String subnetName)
Removes a Virtual Network ACL Rule for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
withVirtualNetwork(String virtualNetworkId,
String subnetName)
Specifies a new Virtual Network ACL Rule for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals |
withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
A Virtual Network ACL Rule for the CosmosDB account.
|
CosmosDBAccount.UpdateStages.WithOptionals withVirtualNetwork(String virtualNetworkId, String subnetName)
virtualNetworkId - the ID of a virtual networksubnetName - the name of the subnet within the virtual network; the subnet must have the service
endpoints enabled for 'Microsoft.AzureCosmosDB'.CosmosDBAccount.UpdateStages.WithOptionals withoutVirtualNetwork(String virtualNetworkId, String subnetName)
virtualNetworkId - the ID of a virtual networksubnetName - the name of the subnet within the virtual network; the subnet must have the service
endpoints enabled for 'Microsoft.AzureCosmosDB'.CosmosDBAccount.UpdateStages.WithOptionals withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
virtualNetworkRules - the list of Virtual Network ACL Rules (an empty list value will remove all the
rules)Copyright © 2020 Microsoft Corporation. All rights reserved.