Microsoft.Automation automationAccounts/runbooks/draft 'testJob' 2019-06-01

The automationAccounts/runbooks/draft resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Options for name property

The automationAccounts/runbooks/draft resource accepts different properties based on the value of the name property. This article shows the properties that are available when you set name: 'testJob'.

For other options, see:

Template format

To create a Microsoft.Automation/automationAccounts/runbooks/draft resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Automation/automationAccounts/runbooks/draft@2019-06-01' = {
  name: 'testJob'
  parent: parentSymbolicName
  parameters: {}
  runOn: 'string'
}

Property values

automationAccounts/runbooks/draft-testJob

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Automation/automationAccounts/runbooks/draft'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2019-06-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
'testJob'
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
parentSymbolicName
parameters Gets or sets the parameters of the test job. object
runOn Gets or sets the runOn which specifies the group name where the job is to be executed. string