Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The automationAccounts/variables 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.
To create a Microsoft.Automation/automationAccounts/variables resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Automation/automationAccounts/variables@2024-10-23' = {
parent: resourceSymbolicName
name: 'string'
properties: {
description: 'string'
isEncrypted: bool
value: 'string'
}
}
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
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: automationAccounts |
properties | Gets or sets the properties of the variable. | VariableCreateOrUpdatePropertiesOrVariableProperties (required) |
Name | Description | Value |
---|---|---|
description | Gets or sets the description of the variable. | string |
isEncrypted | Gets or sets the encrypted flag of the variable. | bool |
value | Gets or sets the value of the variable. | string |
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
ASR Runbooks | Deploys Automation Runbooks for ASR Recovery Plans |
The automationAccounts/variables 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.
To create a Microsoft.Automation/automationAccounts/variables resource, add the following JSON to your template.
{
"type": "Microsoft.Automation/automationAccounts/variables",
"apiVersion": "2024-10-23",
"name": "string",
"properties": {
"description": "string",
"isEncrypted": "bool",
"value": "string"
}
}
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2024-10-23' |
name | The resource name | string (required) |
properties | Gets or sets the properties of the variable. | VariableCreateOrUpdatePropertiesOrVariableProperties (required) |
type | The resource type | 'Microsoft.Automation/automationAccounts/variables' |
Name | Description | Value |
---|---|---|
description | Gets or sets the description of the variable. | string |
isEncrypted | Gets or sets the encrypted flag of the variable. | bool |
value | Gets or sets the value of the variable. | string |
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
ASR Runbooks |
Deploys Automation Runbooks for ASR Recovery Plans |
Azure Resource Optimization (ARO) Toolkit |
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. |
The automationAccounts/variables resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
To create a Microsoft.Automation/automationAccounts/variables resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Automation/automationAccounts/variables@2024-10-23"
name = "string"
body = {
properties = {
description = "string"
isEncrypted = bool
value = "string"
}
}
}
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: automationAccounts |
properties | Gets or sets the properties of the variable. | VariableCreateOrUpdatePropertiesOrVariableProperties (required) |
type | The resource type | "Microsoft.Automation/automationAccounts/variables@2024-10-23" |
Name | Description | Value |
---|---|---|
description | Gets or sets the description of the variable. | string |
isEncrypted | Gets or sets the encrypted flag of the variable. | bool |
value | Gets or sets the value of the variable. | string |