c# - Azure management API: How to change web app pricing tier? -
i'm automating creation of azure web apps using management sdk (i.e. https://github.com/azure/azure-sdk-for-net) , it's not obvious how change web apps app service plan pricing tier using sdk. want change web apps i'm creating 'free' 'shared'.
how can this?
look @ webhostingplanoperations.updateasync()
(webhostingplanoperations.cs).
notice takes webhostingplanupdateparameters
object parameter (located in models, here). within that, can set:
workersize
(0, 1, or 2 small, medium or large)skuoptions
(which takesskuoptions
enum, in models, here).
skuoptions
values:
- free = 0
- shared = 1
- basic = 2
- standard = 3
- premium = 4
Comments
Post a Comment