Interface CosmosDBAccount.DefinitionStages.WithVirtualNetworkRule

    • Method Detail

      • withVirtualNetwork

        CosmosDBAccount.DefinitionStages.WithCreate withVirtualNetwork​(String virtualNetworkId,
                                                                       String subnetName)
        Specifies a Virtual Network ACL Rule for the CosmosDB account.
        Parameters:
        virtualNetworkId - the ID of a virtual network
        subnetName - the name of the subnet within the virtual network; the subnet must have the service endpoints enabled for 'Microsoft.AzureCosmosDB'.
        Returns:
        the next stage