@Beta(value=V1_11_0)
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.
|
@Beta(value=V1_11_0) 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'.@Beta(value=V1_11_0) 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'.@Beta(value=V1_11_0) 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 © 2019. All rights reserved.