Currently, I am utilizing the Azure JS SDK to interact with Postgres in Azure using various modules such as @azure/arm-postgresql, @azure/identity, and @azure/functions. My main goal is to access the underlying REST Api for debugging purposes.
For instance, I'm interested in knowing the corresponding Rest API calls that are made during runtime:
const postgresCli = new PostgreSQLManagementClient(new DefaultAzureCredential(), subscriptionId);
const fwRules = postgresCli.firewallRules.listByServer(azResourceGroup, azPostgresServerName);
Could you please confirm if this is feasible?
Thank you,
Blured.