Microsoft.Automation automationAccounts/modules 2019-06-01

Template format

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

{
  "name": "string",
  "type": "Microsoft.Automation/automationAccounts/modules",
  "apiVersion": "2019-06-01",
  "properties": {
    "contentLink": {
      "uri": "string",
      "contentHash": {
        "algorithm": "string",
        "value": "string"
      },
      "version": "string"
    }
  },
  "location": "string",
  "tags": {}
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Automation/automationAccounts/modules object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of module.
type enum Yes For JSON -modules
-or-
Microsoft.Automation/automationAccounts/modules

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2019-06-01
properties object Yes Gets or sets the module create properties. - ModuleCreateOrUpdateProperties object
location string No Gets or sets the location of the resource.
tags object No Gets or sets the tags attached to the resource.

ModuleCreateOrUpdateProperties object

Name Type Required Value
contentLink object Yes Gets or sets the module content link. - ContentLink object

Name Type Required Value
uri string No Gets or sets the uri of the runbook content.
contentHash object No Gets or sets the hash. - ContentHash object
version string No Gets or sets the version of the content.

ContentHash object

Name Type Required Value
algorithm string Yes Gets or sets the content hash algorithm used to hash the content.
value string Yes Gets or sets expected hash value of the content.

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 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