This issue is quite old: 2023. The API version has...
# azure
s
This issue is quite old: 2023. The API version has been bumped to 2025-10-15. Are you still seeing that issue in a current version of the Azure Native provider?
q
I guess so, I tried to update cosmosDB which already had EnableServerless with new DeleteByPartitionKey capability and I've seen that capabilities were updated but it wasn't present on account itself
s
So you can generate a local SDK for any API version that is present in the provider: https://www.pulumi.com/registry/packages/azure-native/version-guide/#accessing-any-api-version-via-local-packages The DatabaseAccount resource docs show that there is a newer SDK (2025-11-01-preview) than the default (2025-10-15): https://www.pulumi.com/registry/packages/azure-native/api-docs/cosmosdb/databaseaccount/ So might be worth trying the preview API.
q
I was able to update it using pwsh az cli and the cosmos config shows it's on 2023 API. But as said, I run az cli for all my cosmos accounts and then I rerun pulumi. I can see capability in state and new cosmoses are created with given capability so for me is close enough 🙂