def do(self):
    if (self.instance == self.infra.instances.all()[0]):
        if (not self.provider.get_dbmonitor_databaseinfra(self.infra)):
            self.provider.create_dbmonitor_monitoring(self.infra)
def do(self):
    if (self.instance == self.infra.instances.all()[0]):
        if (not self.provider.get_dbmonitor_databaseinfra(self.infra)):
            self.provider.create_dbmonitor_monitoring(self.infra)