Unable to see Virtual Network rule for Azure PostgreSQL Flexible Server

Can we use the “azurerm_postgresql_virtual_network_rule” from Azure PostgreSQL Single Server for Azure PostgreSQL Flexible Server as I don’t see this resource block specifically for Flexible Server