Interface IWithVirtualNetworkRule
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
The stage of the cosmos db definition allowing the definition of a Virtual Network ACL Rule.
public interface IWithVirtualNetworkRule : IBeta
Methods
WithVirtualNetworkFilterEnabled(bool)
Specifies Virtual Network Fileter manually.
IWithCreate WithVirtualNetworkFilterEnabled(bool enable)
Parameters
enable
boolThe fileter is enabled or not.
Returns
- IWithCreate
The next stage.
WithVirtualNetworkRule(string, string, bool?)
Specifies a Virtual Network ACL Rule for the CosmosDB account.
IWithCreate WithVirtualNetworkRule(string virtualNetworkId, string subnetName, bool? ignoreMissingVNetServiceEndpoint = null)
Parameters
virtualNetworkId
stringThe ID of a virtual network.
subnetName
stringThe name of the subnet within the virtual network; the subnet must have the service endpoints enabled for 'Microsoft.AzureCosmosDB'.
ignoreMissingVNetServiceEndpoint
bool?The boolean decides to ignore missing endpoint or not.
Returns
WithVirtualNetworkRules(IList<VirtualNetworkRule>)
Specifies the list of Virtual Network ACL Rules for the CosmosDB account.
IWithCreate WithVirtualNetworkRules(IList<VirtualNetworkRule> virtualNetworkRules)
Parameters
virtualNetworkRules
IList<VirtualNetworkRule>The list of Virtual Network ACL Rules.