def restart(self, session):
        body = {'restart': {}}
        url = utils.urljoin(self.base_path, self.id, 'action')
        session.post(url, endpoint_filter=self.service, json=body)
Restart the database instance
dataset/ETHPy150Open openstack/python-openstacksdk/openstack/database/v1/instance.py/Instance.restart