pulumi / pulumi-azure-native

Azure Native Provider
Apache License 2.0
126 stars 33 forks source link

How set Contact on Azure Keyvault (SetCertificateContacts) ? #2037

Open stanislas-draunet-maif opened 1 year ago

stanislas-draunet-maif commented 1 year ago

What happened?

When you create a keyvault, you can specify a contact list to be notified if certificates expire image

Azure have Rest API : https://learn.microsoft.com/en-us/rest/api/keyvault/certificates/set-certificate-contacts/set-certificate-contacts?tabs=HTTP#examples

But in pulumi Azure-Native, I can't find any way to specify it.

Steps to reproduce

In documentation, azure-native there isn't property Contact : https://www.pulumi.com/registry/packages/azure-native/api-docs/keyvault/vault/

BUT, with Azure provider, you have this property : https://www.pulumi.com/registry/packages/azure/api-docs/keyvault/keyvault/#contacts_nodejs

Expected Behavior

can you explain to me how I can set the contacts in azure-native for the keyvault certificates? thanks !

Actual Behavior

I can't set with this provider keyvault contact list

Output of pulumi about

No response

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

guineveresaenger commented 1 year ago

Hi @stanislas-draunet-maif - I do not believe the Azure Native provider has support for this field yet. While we are working on feature completeness, it is certainly possible to use both Classic and Native providers side by side.

stanislas-draunet-maif commented 1 year ago

thank you @guineveresaenger for your reply, I hope this dataplan management feature will arrive soon. In the meantime, I will use the azure classic provider

guineveresaenger commented 1 year ago

I'm going to go ahead and open this again, because it's a legitimate feature request and we would like to track it! :)

edited to add: we have a few data plane operations we'd like to add.