Skip to content

Documentation on default values when adding resources - Bicep #4689

Answered by brwilkinson
thunem asked this question in General
Discussion options

You must be logged in to vote

There is an api for this which you can query, if you have a Server Farm

https://docs.microsoft.com/en-us/rest/api/appservice/app-service-plans/get-server-farm-skus#code-try-0

sample output, so that you don't have to spin up a Server Farm.

Your list may be different to mine. This may be different depending on which Cloud you are using and also which Region you are deploying, plus likely other things as well.

{
  "value": [
    {
      "resourceType": "Microsoft.Web/serverfarms",
      "sku": {
        "name": "F1",
        "tier": "Free"
      },
      "capacity": {
        "minimum": 0,
        "maximum": 0,
        "default": 0,
        "scaleType": "none",
        "elasticMaximum": null

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brwilkinson
Comment options

Answer selected by brwilkinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants