Microsoft.Automation automationAccounts/runbooks/draft 'testJob' 2023-11-01
Bicep resource definition
The automationAccounts/runbooks/draft resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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@2023-11-01' = {
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:
- Resource groups - See resource group deployment commands
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": "2023-11-01",
"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 | '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 |
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@2023-11-01"
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@2023-11-01" |
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for