How to enable "Allow Azure services and resources to access this server" in SQL server?

Hi, I’m using azurerm_mssql_server resource, how can I enable option “Allow Azure services and resources to access this server”? thanks