Microsoft.Automation automationAccounts/runbooks/draft 'testJob' 2015-10-31

Bicep resource definition

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.

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:

Resource format

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

resource symbolicname 'Microsoft.Automation/automationAccounts/runbooks/draft@2015-10-31' = {
  name: 'testJob'
  parent: resourceSymbolicName
  parameters: {
    {customized property}: 'string'
  }
  runOn: 'string'
}

Property values

automationAccounts/runbooks/draft-testJob

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
'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.
Symbolic name for resource of type: runbooks
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

TestJobCreateParameters

Name Description Value
{customized property} string

ARM template resource definition

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.

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:

Resource format

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

{
  "type": "Microsoft.Automation/automationAccounts/runbooks/draft",
  "apiVersion": "2015-10-31",
  "name": "testJob",
  "parameters": {
    "{customized property}": "string"
  },
  "runOn": "string"
}

Property values

automationAccounts/runbooks/draft-testJob

Name Description Value
type The resource type 'Microsoft.Automation/automationAccounts/runbooks/draft'
apiVersion The resource api version '2015-10-31'
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

TestJobCreateParameters

Name Description Value
{customized property} string

Terraform (AzAPI provider) resource definition

The automationAccounts/runbooks/draft resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

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:

Resource format

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Automation/automationAccounts/runbooks/draft@2015-10-31"
  name = "testJob"
  parent_id = "string"
  body = jsonencode({
    parameters = {
      {customized property} = "string"
    }
    runOn = "string"
  })
}

Property values

automationAccounts/runbooks/draft-testJob

Name Description Value
type The resource type "Microsoft.Automation/automationAccounts/runbooks/draft@2015-10-31"
name The resource name "testJob"
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: runbooks
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

TestJobCreateParameters

Name Description Value
{customized property} string