https://pulumi.com logo
Title
f

few-postman-20852

03/07/2023, 1:16 PM
is cosmos db for postgres supported by azure-native library?
m

melodic-tomato-39005

03/07/2023, 2:47 PM
Yes, it’s called DBforPostgreSQL. The confusing naming is straight from Microsoft:
specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/
. Note that our default API version is quite old at this point but you can import the latest stable as well.
f

few-postman-20852

03/08/2023, 6:57 AM
How do I import the latest stable?
m

melodic-tomato-39005

03/08/2023, 3:54 PM
which programming language are you using? In Typescript, for instance, it would be
import pulumi_azure_native.dbforpostgresql.v20221201
and similar in other languages
f

few-postman-20852

03/08/2023, 4:07 PM
this is in python 😂 . I figured out in typescript. Looks like it's still not possible, the latest api version I get in azure is not the same in the library. Library still need to catch up.
m

melodic-tomato-39005

03/08/2023, 4:59 PM
Where do you see a later one in Azure? Do you have a link?