diff --git a/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep b/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep index 924cf646f9..236b91fcd9 100644 --- a/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep @@ -123,7 +123,7 @@ module testDeployment '../../deploy.bicep' = { { description: 'Test runbook' name: 'TestRunbook' - runbookType: 'PowerShell' + type: 'PowerShell' uri: 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.automation/101-automation/scripts/AzureAutomationTutorial.ps1' version: '1.0.0.0' } diff --git a/modules/Microsoft.Automation/automationAccounts/deploy.bicep b/modules/Microsoft.Automation/automationAccounts/deploy.bicep index d58653d64c..2122ff9e48 100644 --- a/modules/Microsoft.Automation/automationAccounts/deploy.bicep +++ b/modules/Microsoft.Automation/automationAccounts/deploy.bicep @@ -228,7 +228,7 @@ module automationAccount_schedules 'schedules/deploy.bicep' = [for (schedule, in name: schedule.name automationAccountName: automationAccount.name advancedSchedule: contains(schedule, 'advancedSchedule') ? schedule.advancedSchedule : null - scheduleDescription: contains(schedule, 'description') ? schedule.description : '' + description: contains(schedule, 'description') ? schedule.description : '' expiryTime: contains(schedule, 'expiryTime') ? schedule.expiryTime : '' frequency: contains(schedule, 'frequency') ? schedule.frequency : 'OneTime' interval: contains(schedule, 'interval') ? schedule.interval : 0 diff --git a/modules/Microsoft.Automation/automationAccounts/readme.md b/modules/Microsoft.Automation/automationAccounts/readme.md index 5115291041..4cf4fb5f8d 100644 --- a/modules/Microsoft.Automation/automationAccounts/readme.md +++ b/modules/Microsoft.Automation/automationAccounts/readme.md @@ -469,7 +469,7 @@ module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bice { description: 'Test runbook' name: 'TestRunbook' - runbookType: 'PowerShell' + type: 'PowerShell' uri: 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.automation/101-automation/scripts/AzureAutomationTutorial.ps1' version: '1.0.0.0' } @@ -686,7 +686,7 @@ module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bice { "description": "Test runbook", "name": "TestRunbook", - "runbookType": "PowerShell", + "type": "PowerShell", "uri": "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.automation/101-automation/scripts/AzureAutomationTutorial.ps1", "version": "1.0.0.0" }