Microsoft.Automation automationAccounts 2019-06-01

Bicep resource definition

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

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

Resource format

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

resource symbolicname 'Microsoft.Automation/automationAccounts@2019-06-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    sku: {
      capacity: int
      family: 'string'
      name: 'string'
    }
  }
}

Property values

automationAccounts

Name Description Value
name The resource name string (required)

Character limit: 6-50

Valid characters:
Alphanumerics and hyphens.

Start with letter and end with alphanumeric.
location Gets or sets the location of the resource. string
tags Gets or sets the tags attached to the resource. Dictionary of tag names and values. See Tags in templates
properties Gets or sets account create or update properties. AutomationAccountCreateOrUpdatePropertiesOrAutomatio...

AutomationAccountCreateOrUpdatePropertiesOrAutomatio...

Name Description Value
sku Gets or sets account SKU. Sku

Sku

Name Description Value
capacity Gets or sets the SKU capacity. int
family Gets or sets the SKU family. string
name Gets or sets the SKU name of the account. 'Basic'
'Free' (required)

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
ASR Runbooks

Deploy to Azure
Deploys Automation Runbooks for ASR Recovery Plans
OMS ASR Solution

Deploy to Azure
Enables the ASR (v2) Solution in OMS
Azure Resource Optimization (ARO) Toolkit

Deploy to Azure
The Azure Resource Optimization Toolkit is a decentralized, native Azure solution using serverless technologies to optimize Azure resources on your subscription. Optimization happens automatically on your subscription once you enable or create your own schedule, including on new resources. This is an Azure Automation account with preconfigured runbooks and schedules you can utilize on your subscription to start saving money.
OMS - Azure Resource Usage Solution

Deploy to Azure
Solution brings billing infortmation about Azure Resources into OMS. Cost of resources can be displayed in different currency and locale.
OMS - Azure VM Inventory Solution

Deploy to Azure
Enables Azure VM Inventory Solution in OMS. Solution collects Azure VM inventory along with disks, networking components, NSG rules and extensions into OMS workspace.
OMS Solution - Hyper-V Replica

Deploy to Azure
A template for creating an OMS solution to monitor Hyper-V replica.
OMS Service Bus Solution

Deploy to Azure
Monitors Azure Service Bus instances
OMS VMM Analytics

Deploy to Azure
Provides a single view of the jobs' status across multiple VMM instances that helps you gain insight about the health & performance of these jobs.
Create Azure Automation account

Deploy to Azure
This template provides an example of how create an Azure Automation account and links it to a new or existing Azure Monitor Log Analytics workspace.

ARM template resource definition

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

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

Resource format

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

{
  "type": "Microsoft.Automation/automationAccounts",
  "apiVersion": "2019-06-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "sku": {
      "capacity": "int",
      "family": "string",
      "name": "string"
    }
  }
}

Property values

automationAccounts

Name Description Value
type The resource type 'Microsoft.Automation/automationAccounts'
apiVersion The resource api version '2019-06-01'
name The resource name string (required)

Character limit: 6-50

Valid characters:
Alphanumerics and hyphens.

Start with letter and end with alphanumeric.
location Gets or sets the location of the resource. string
tags Gets or sets the tags attached to the resource. Dictionary of tag names and values. See Tags in templates
properties Gets or sets account create or update properties. AutomationAccountCreateOrUpdatePropertiesOrAutomatio...

AutomationAccountCreateOrUpdatePropertiesOrAutomatio...

Name Description Value
sku Gets or sets account SKU. Sku

Sku

Name Description Value
capacity Gets or sets the SKU capacity. int
family Gets or sets the SKU family. string
name Gets or sets the SKU name of the account. 'Basic'
'Free' (required)

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
ASR Runbooks

Deploy to Azure
Deploys Automation Runbooks for ASR Recovery Plans
OMS ASR Solution

Deploy to Azure
Enables the ASR (v2) Solution in OMS
Azure Resource Optimization (ARO) Toolkit

Deploy to Azure
The Azure Resource Optimization Toolkit is a decentralized, native Azure solution using serverless technologies to optimize Azure resources on your subscription. Optimization happens automatically on your subscription once you enable or create your own schedule, including on new resources. This is an Azure Automation account with preconfigured runbooks and schedules you can utilize on your subscription to start saving money.
OMS - Azure Resource Usage Solution

Deploy to Azure
Solution brings billing infortmation about Azure Resources into OMS. Cost of resources can be displayed in different currency and locale.
OMS - Azure VM Inventory Solution

Deploy to Azure
Enables Azure VM Inventory Solution in OMS. Solution collects Azure VM inventory along with disks, networking components, NSG rules and extensions into OMS workspace.
OMS Solution - Hyper-V Replica

Deploy to Azure
A template for creating an OMS solution to monitor Hyper-V replica.
OMS Service Bus Solution

Deploy to Azure
Monitors Azure Service Bus instances
OMS VMM Analytics

Deploy to Azure
Provides a single view of the jobs' status across multiple VMM instances that helps you gain insight about the health & performance of these jobs.
Create Azure Automation account

Deploy to Azure
This template provides an example of how create an Azure Automation account and links it to a new or existing Azure Monitor Log Analytics workspace.

Terraform (AzAPI provider) resource definition

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

  • Resource groups

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

Resource format

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Automation/automationAccounts@2019-06-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      sku = {
        capacity = int
        family = "string"
        name = "string"
      }
    }
  })
}

Property values

automationAccounts

Name Description Value
type The resource type "Microsoft.Automation/automationAccounts@2019-06-01"
name The resource name string (required)

Character limit: 6-50

Valid characters:
Alphanumerics and hyphens.

Start with letter and end with alphanumeric.
location Gets or sets the location of the resource. string
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Gets or sets the tags attached to the resource. Dictionary of tag names and values.
properties Gets or sets account create or update properties. AutomationAccountCreateOrUpdatePropertiesOrAutomatio...

AutomationAccountCreateOrUpdatePropertiesOrAutomatio...

Name Description Value
sku Gets or sets account SKU. Sku

Sku

Name Description Value
capacity Gets or sets the SKU capacity. int
family Gets or sets the SKU family. string
name Gets or sets the SKU name of the account. "Basic"
"Free" (required)