Does anyone know if there is a provider for <https...
# azure
a
Does anyone know if there is a provider for https://learn.microsoft.com/en-us/rest/api/resources/providers/register in Azure Native?
m
I am not familiar with it but as you have access to all the APIs versions with azure native, I don't think you need it. What are you using it for?
f
That said, I'd agree with Alexandre that you should consider re-examining your current setup to determine if manually registering providers is necessary. I've provisioned resources using Pulumi that have never been used in a subscription, and I never needed to register their providers
a
Thank you @millions-journalist-34868 and @fast-vr-6049. I agree with you that normally, when a subscription is created within the Azure Portal most of the Subscriptions have these default providers already registered. But we are provisioning Subscriptions using the Azure API, and these subscriptions seem to not have the providers registered "out-of-the-box". Hence, we had to fallback on
Azure Classic
Resource Provider Registration
. Was curious to know a Resource Provider Registration isnt available in Azure Native. The one in Azure Nativev2 is a Provider Hub Registration, so I guess that does not help 😞
f
Sheesh! Sounds like a complex scenario. If it can be done via CLI, you could potentially try the Azure CLI or Azure Powershell resources? https://www.pulumi.com/registry/packages/azure-native-v2/api-docs/resources/azurecliscript/ https://www.pulumi.com/registry/packages/azure-native-v2/api-docs/resources/azurepowershellscript/
b
Just to add, v1 of the azure native provider also has the
providerregistration
resource: https://www.pulumi.com/registry/packages/azure-native/api-docs/providerhub/providerregistration/