The automationAccounts/runbooks/draft resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
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:
To create a Microsoft.Automation/automationAccounts/runbooks/draft resource, add the following JSON to your template.
{
"type": "Microsoft.Automation/automationAccounts/runbooks/draft",
"apiVersion": "2023-11-01",
"name": "testJob",
"parameters": {
"{customized property}": "string"
},
"runOn": "string"
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Automation/automationAccounts/runbooks/draft' |
apiVersion | The resource api version | '2023-11-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
'testJob' |
parameters | Gets or sets the parameters of the test job. | TestJobCreateParameters |
runOn | Gets or sets the runOn which specifies the group name where the job is to be executed. | string |
Name | Description | Value |
---|---|---|
{customized property} | string |