This message was deleted.
# azure
s
This message was deleted.
b
the SDK product comes from the APi using codegen we create. So we read the API and generate SDK calls. The thing that actually makes the calls themselves is the provider binary in
~/.pulumi/plugins
p
Ah perfect, thanks.
Is there any reason why things like restarting web apps (https://docs.microsoft.com/en-us/rest/api/appservice/web-apps/restart) isn't mapped to an invokable static class?
(just curious, since it's all generated from the schemas)
b
I'll have to defer to @tall-librarian-49374 or @sparse-park-68967 for that, but it's more than likely because it only has one operation and doesn't create a "resource" You can of course just use the azure SDK in your particular language
p
Ah ok, that makes sense
Yeah that's the direction I've gone in
Thanks very much
s
yes, we expose some of the get operations but most posts which may mutate state are not exposed. As @billowy-army-68599 mentioned, you could leverage the azure sdk in your language of choice. Its quite easy to initialize an SDK client from within a pulumi program. See https://github.com/pulumi/examples/blob/master/azure-ts-call-azure-sdk/index.ts#L11 for instance.
p
Legend, thanks