Jerald Baker
Jerald Baker

Reputation: 1359

Where to see all possible properties for the resources for Azure Resource Manager templates?

In ARM templates, we configure multiple properties for a resource. For example for AKS - (taken from AKS Quickstart template)

"resources": [
    {
      "type": "Microsoft.ContainerService/managedClusters",
      "apiVersion": "2020-03-01",
      "name": "[parameters('clusterName')]",
      "location": "[parameters('location')]",
      "properties": {
        "dnsPrefix": "[parameters('dnsPrefix')]",
        "agentPoolProfiles": [
          {
            "name": "agentpool",
            "osDiskSizeGB": "[parameters('osDiskSizeGB')]",
            "count": "[parameters('agentCount')]",
            "vmSize": "[parameters('agentVMSize')]",
            "osType": "[parameters('osType')]",
            "storageProfile": "ManagedDisks"
          }
        ],
        "linuxProfile": {
          "adminUsername": "[parameters('linuxAdminUsername')]",
          "ssh": {
            "publicKeys": [
              {
                "keyData": "[parameters('sshRSAPublicKey')]"
              }
            ]
          }
        }
      },
      "identity": {
          "type": "SystemAssigned"
      }
    }
  ]

As you can see, there are properties like dnsPrefix, agentPoolProfiles (and its sub properties like osDiskSizeGB), linuxProfile, etc

Where are these properties documented? Where can I find the list of all possible properties that I can configure for a resource?

Upvotes: 1

Views: 397

Answers (1)

Sajeetharan
Sajeetharan

Reputation: 222582

You can find the relevant documentation in the ManagedClusterProperties object

The trick here is to get the resource name and you can find the relevant documentation from the ARM documentation by mapping the reosurce

Upvotes: 1

Related Questions