This message was deleted.
# azure
s
This message was deleted.
t
Copy code
contentFormat - (Required) The format of the content from which the API Definition should be imported. Possible values are: swagger-json, swagger-link-json, wadl-link-json, wadl-xml, wsdl and wsdl-link.

contentValue - (Required) The Content from which the API Definition should be imported. When a content_format of *-link-* is specified this must be a URL, otherwise this must be defined inline.
h
Thank you very much 😄
I haven't managed to figure out how to do this, the issue is that the swagger file is exposed by an app service that is registered to the api management service, so I need to have the api management load the swagger after the app service is deployed, is this possible? Can I run pulumi scripts post deploy?
And where did you find that text?
And the point of the swagger was too not have to define operations myself but have the api management service register them from a swagger file.
t
If you could get the swagger file from the app service inside the Pulumi program, you could pass it to API Management and Pulumi would do those in the right sequence.
Honestly, I haven’t done much with API Management, so all this is theory.
h
Ok thank you