From a200c275d429b129649e906fde3365182963c3ca Mon Sep 17 00:00:00 2001 From: Hossein Rouhani <56231339+HRouhani@users.noreply.github.com> Date: Thu, 15 Aug 2024 11:14:36 +0200 Subject: [PATCH] Adding id function to postgresql flexible server (#4555) Signed-off-by: Hossein Rouhani --- providers/azure/resources/postgresql.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/providers/azure/resources/postgresql.go b/providers/azure/resources/postgresql.go index bc1cfbb7ba..ad56895998 100644 --- a/providers/azure/resources/postgresql.go +++ b/providers/azure/resources/postgresql.go @@ -97,6 +97,10 @@ func (a *mqlAzureSubscriptionPostgreSqlService) servers() ([]interface{}, error) return res, nil } +func (a *mqlAzureSubscriptionPostgreSqlServiceFlexibleServer) id() (string, error) { + return a.Id.Data, nil +} + func (a *mqlAzureSubscriptionPostgreSqlService) flexibleServers() ([]interface{}, error) { conn := a.MqlRuntime.Connection.(*connection.AzureConnection) ctx := context.Background()