我正在按照 Microsoft 文档使用 Runbook 将模板部署到 azure 中,但是我看不到标题下脚本的参数来自哪里: 创建 PowerShell Runbook 脚本
完整指南在这里 https://learn.microsoft.com/en-us/azure/automation/automation-deploy-template-runbook
param (
[Parameter(Mandatory=$true)]
[string]
$ResourceGroupName,
[Parameter(Mandatory=$true)]
[string]
$StorageAccountName,
[Parameter(Mandatory=$true)]
[string]
$StorageAccountKey,
[Parameter(Mandatory=$true)]
[string]
$StorageFileName
)
最佳答案
however I cant see where the parameters come from for the script under the heading.
如果我们遵循docs和 Import and publish the runbook into your Azure Automation account ,当我们尝试运行 Runbook 时,我们需要输入所需的参数。
关于azure - 通过 Azure Runbook 部署 ARM 模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49258850/