ah, for "update" it seems I need to use the portal.
Still not sure how I would create a revision via pulumi. So far all my tests failed.
That said, a revision doesn't actually import the swagger again.
So any changes to the swagger only seem to be imported via the portal.