Share via


Microsoft.Automation automationAccounts/runtimeEnvironments 2023-05-15-preview

Bicep resource definition

The automationAccounts/runtimeEnvironments 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/runtimeEnvironments resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Automation/automationAccounts/runtimeEnvironments@2023-05-15-preview' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'string'
  properties: {
    defaultPackages: {
      {customized property}: 'string'
    }
    description: 'string'
    runtime: {
      language: 'string'
      version: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Automation/automationAccounts/runtimeEnvironments

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z][a-zA-Z-_0-9]*$ (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 Runtime Environment properties. RuntimeEnvironmentProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

DefaultPackages

Name Description Value

RuntimeEnvironmentProperties

Name Description Value
defaultPackages List of Default packages for Environment DefaultPackages
description Gets or sets the description. string
runtime Runtime properties. RuntimeProperties

RuntimeProperties

Name Description Value
language Language of Runtime Environment string
version Version of Language string

TrackedResourceTags

Name Description Value

ARM template resource definition

The automationAccounts/runtimeEnvironments 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/runtimeEnvironments resource, add the following JSON to your template.

{
  "type": "Microsoft.Automation/automationAccounts/runtimeEnvironments",
  "apiVersion": "2023-05-15-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "defaultPackages": {
      "{customized property}": "string"
    },
    "description": "string",
    "runtime": {
      "language": "string",
      "version": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Automation/automationAccounts/runtimeEnvironments

Name Description Value
apiVersion The api version '2023-05-15-preview'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z][a-zA-Z-_0-9]*$ (required)
properties Gets or sets the Runtime Environment properties. RuntimeEnvironmentProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Automation/automationAccounts/runtimeEnvironments'

DefaultPackages

Name Description Value

RuntimeEnvironmentProperties

Name Description Value
defaultPackages List of Default packages for Environment DefaultPackages
description Gets or sets the description. string
runtime Runtime properties. RuntimeProperties

RuntimeProperties

Name Description Value
language Language of Runtime Environment string
version Version of Language string

TrackedResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The automationAccounts/runtimeEnvironments 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/runtimeEnvironments resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Automation/automationAccounts/runtimeEnvironments@2023-05-15-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      defaultPackages = {
        {customized property} = "string"
      }
      description = "string"
      runtime = {
        language = "string"
        version = "string"
      }
    }
  }
}

Property Values

Microsoft.Automation/automationAccounts/runtimeEnvironments

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z][a-zA-Z-_0-9]*$ (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 Runtime Environment properties. RuntimeEnvironmentProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Automation/automationAccounts/runtimeEnvironments@2023-05-15-preview"

DefaultPackages

Name Description Value

RuntimeEnvironmentProperties

Name Description Value
defaultPackages List of Default packages for Environment DefaultPackages
description Gets or sets the description. string
runtime Runtime properties. RuntimeProperties

RuntimeProperties

Name Description Value
language Language of Runtime Environment string
version Version of Language string

TrackedResourceTags

Name Description Value