azure - 通过 Azure Runbook 部署 ARM 模板

标签 azure azure-runbook

我正在按照 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.

如果我们遵循docsImport and publish the runbook into your Azure Automation account当我们尝试运行 Runbook 时,我们需要输入所需的参数

enter image description here

测试结果: enter image description here

关于azure - 通过 Azure Runbook 部署 ARM 模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49258850/

相关文章:

C# Application Insights - TelemetryClient 的多个实例

Azure:具有唯一键的循环(环)队列

web-services - Azure:是否创建Web服务

c# - 向 Azure Web 应用程序上托管的 SOAP WCF 添加简单的安全性

azure - 使用 Azure Runbook 拉取并运行 Docker 容器

Azure 自动化 - 续订 RunAsAccount 证书

azure - Get-AzRoleAssignment 在 Azure Runbook 中引发 Microsoft.Rest.Azure.CloudException

Azure 自动化 Runbook 无法完成且没有错误

azure - 可以将本地 PowerShell 连接到 Azure Runbooks 吗?

azure - 如何使用Azure Cloud Functions将所有Azure存储队列消息批处理成Blob?