projectkudu / slingshot

This project implements the Deploy To Azure button
http://azure.microsoft.com/blog/2014/11/13/deploy-to-azure-button-for-azure-websites-2/
51 stars 20 forks source link

Retrieve Subscriptions as parameter dropdown #90

Open MortenMeisler opened 5 years ago

MortenMeisler commented 5 years ago

Is there a way to somehow retrieve my Subscriptions as a dropdown the same way you do it in the default dropdown for subscriptions?

I have a scenario where I need to deploy to one subscription, but I'm using resources from another subscription that I want to specify as parameter:

Example / Suggestion:

"SubscriptionForSomethingElse": { "type": "string", "allowedValues": [http://deploy.azure.com/api/subscriptions] }

"AzureSettings:SubscriptionId": "[parameters('SubscriptionForSomethingElse')]"