Azure Resource Manager: How to specify optional parameters in linked templates
问题 I'm making use of linked templates to deploy common resources. In this case I'm deploying a VM which has an optional parameter defined AdminPassword that is only required in certain scenarios (namely when the parameter PasswordAuthenticationDisabled is set to false ): "parameters": { "AdminPassword": { "type": "securestring", "defaultValue": null, "metadata": { "description": "Password when password-based authentication isn't disabled" } }, "PasswordAuthenticationDisabled": { "type": "bool",