Thanks for posting your question in the Microsoft Q&A forum.
There is a query that can be used to fetch the disk space occupied:
SELECT
tablespace_name,
pg_size_pretty(pg_total_relation_size('your_table_name')) AS total_size,
pg_size_pretty(pg_total_relation_size('your_table_name') - pg_relation_size('your_table_name')) AS data_size,
pg_size_pretty(pg_relation_size('your_table_name')) AS index_size
FROM
pg_tables
WHERE
schemaname = 'public' -- or the schema where your table resides
AND tablename = 'your_table_name';
In addition, you can use the Azure portal to set up alerts on metrics for Azure Database for PostgreSQL - Flexible Server.
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **