We recommend using Azure Native.
Manages an Automation Runtime Environment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "rg-example",
location: "westeurope",
});
const exampleAccount = new azure.automation.Account("example", {
name: "example",
location: example.location,
resourceGroupName: example.name,
skuName: "Basic",
});
const exampleRuntimeEnvironment = new azure.automation.RuntimeEnvironment("example", {
name: "powershell_environment_custom_config",
automationAccountId: exampleAccount.id,
runtimeLanguage: "PowerShell",
runtimeVersion: "7.2",
location: example.location,
description: "example description",
runtimeDefaultPackages: {
az: "11.2.0",
"azure cli": "2.56.0",
},
tags: {
key: "foo",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="rg-example",
location="westeurope")
example_account = azure.automation.Account("example",
name="example",
location=example.location,
resource_group_name=example.name,
sku_name="Basic")
example_runtime_environment = azure.automation.RuntimeEnvironment("example",
name="powershell_environment_custom_config",
automation_account_id=example_account.id,
runtime_language="PowerShell",
runtime_version="7.2",
location=example.location,
description="example description",
runtime_default_packages={
"az": "11.2.0",
"azure cli": "2.56.0",
},
tags={
"key": "foo",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automation"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("rg-example"),
Location: pulumi.String("westeurope"),
})
if err != nil {
return err
}
exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
Name: pulumi.String("example"),
Location: example.Location,
ResourceGroupName: example.Name,
SkuName: pulumi.String("Basic"),
})
if err != nil {
return err
}
_, err = automation.NewRuntimeEnvironment(ctx, "example", &automation.RuntimeEnvironmentArgs{
Name: pulumi.String("powershell_environment_custom_config"),
AutomationAccountId: exampleAccount.ID(),
RuntimeLanguage: pulumi.String("PowerShell"),
RuntimeVersion: pulumi.String("7.2"),
Location: example.Location,
Description: pulumi.String("example description"),
RuntimeDefaultPackages: pulumi.StringMap{
"az": pulumi.String("11.2.0"),
"azure cli": pulumi.String("2.56.0"),
},
Tags: pulumi.StringMap{
"key": pulumi.String("foo"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "rg-example",
Location = "westeurope",
});
var exampleAccount = new Azure.Automation.Account("example", new()
{
Name = "example",
Location = example.Location,
ResourceGroupName = example.Name,
SkuName = "Basic",
});
var exampleRuntimeEnvironment = new Azure.Automation.RuntimeEnvironment("example", new()
{
Name = "powershell_environment_custom_config",
AutomationAccountId = exampleAccount.Id,
RuntimeLanguage = "PowerShell",
RuntimeVersion = "7.2",
Location = example.Location,
Description = "example description",
RuntimeDefaultPackages =
{
{ "az", "11.2.0" },
{ "azure cli", "2.56.0" },
},
Tags =
{
{ "key", "foo" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.automation.Account;
import com.pulumi.azure.automation.AccountArgs;
import com.pulumi.azure.automation.RuntimeEnvironment;
import com.pulumi.azure.automation.RuntimeEnvironmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("rg-example")
.location("westeurope")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.name("example")
.location(example.location())
.resourceGroupName(example.name())
.skuName("Basic")
.build());
var exampleRuntimeEnvironment = new RuntimeEnvironment("exampleRuntimeEnvironment", RuntimeEnvironmentArgs.builder()
.name("powershell_environment_custom_config")
.automationAccountId(exampleAccount.id())
.runtimeLanguage("PowerShell")
.runtimeVersion("7.2")
.location(example.location())
.description("example description")
.runtimeDefaultPackages(Map.ofEntries(
Map.entry("az", "11.2.0"),
Map.entry("azure cli", "2.56.0")
))
.tags(Map.of("key", "foo"))
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: rg-example
location: westeurope
exampleAccount:
type: azure:automation:Account
name: example
properties:
name: example
location: ${example.location}
resourceGroupName: ${example.name}
skuName: Basic
exampleRuntimeEnvironment:
type: azure:automation:RuntimeEnvironment
name: example
properties:
name: powershell_environment_custom_config
automationAccountId: ${exampleAccount.id}
runtimeLanguage: PowerShell
runtimeVersion: '7.2'
location: ${example.location}
description: example description
runtimeDefaultPackages:
az: 11.2.0
azure cli: 2.56.0
tags:
key: foo
API Providers
This resource uses the following Azure API Providers:
Microsoft.Automation- 2024-10-23
Create RuntimeEnvironment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RuntimeEnvironment(name: string, args: RuntimeEnvironmentArgs, opts?: CustomResourceOptions);@overload
def RuntimeEnvironment(resource_name: str,
args: RuntimeEnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RuntimeEnvironment(resource_name: str,
opts: Optional[ResourceOptions] = None,
automation_account_id: Optional[str] = None,
runtime_language: Optional[str] = None,
runtime_version: Optional[str] = None,
description: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
runtime_default_packages: Optional[Mapping[str, str]] = None,
tags: Optional[Mapping[str, str]] = None)func NewRuntimeEnvironment(ctx *Context, name string, args RuntimeEnvironmentArgs, opts ...ResourceOption) (*RuntimeEnvironment, error)public RuntimeEnvironment(string name, RuntimeEnvironmentArgs args, CustomResourceOptions? opts = null)
public RuntimeEnvironment(String name, RuntimeEnvironmentArgs args)
public RuntimeEnvironment(String name, RuntimeEnvironmentArgs args, CustomResourceOptions options)
type: azure:automation:RuntimeEnvironment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RuntimeEnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RuntimeEnvironmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RuntimeEnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuntimeEnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RuntimeEnvironmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var runtimeEnvironmentResource = new Azure.Automation.RuntimeEnvironment("runtimeEnvironmentResource", new()
{
AutomationAccountId = "string",
RuntimeLanguage = "string",
RuntimeVersion = "string",
Description = "string",
Location = "string",
Name = "string",
RuntimeDefaultPackages =
{
{ "string", "string" },
},
Tags =
{
{ "string", "string" },
},
});
example, err := automation.NewRuntimeEnvironment(ctx, "runtimeEnvironmentResource", &automation.RuntimeEnvironmentArgs{
AutomationAccountId: pulumi.String("string"),
RuntimeLanguage: pulumi.String("string"),
RuntimeVersion: pulumi.String("string"),
Description: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
RuntimeDefaultPackages: pulumi.StringMap{
"string": pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var runtimeEnvironmentResource = new RuntimeEnvironment("runtimeEnvironmentResource", RuntimeEnvironmentArgs.builder()
.automationAccountId("string")
.runtimeLanguage("string")
.runtimeVersion("string")
.description("string")
.location("string")
.name("string")
.runtimeDefaultPackages(Map.of("string", "string"))
.tags(Map.of("string", "string"))
.build());
runtime_environment_resource = azure.automation.RuntimeEnvironment("runtimeEnvironmentResource",
automation_account_id="string",
runtime_language="string",
runtime_version="string",
description="string",
location="string",
name="string",
runtime_default_packages={
"string": "string",
},
tags={
"string": "string",
})
const runtimeEnvironmentResource = new azure.automation.RuntimeEnvironment("runtimeEnvironmentResource", {
automationAccountId: "string",
runtimeLanguage: "string",
runtimeVersion: "string",
description: "string",
location: "string",
name: "string",
runtimeDefaultPackages: {
string: "string",
},
tags: {
string: "string",
},
});
type: azure:automation:RuntimeEnvironment
properties:
automationAccountId: string
description: string
location: string
name: string
runtimeDefaultPackages:
string: string
runtimeLanguage: string
runtimeVersion: string
tags:
string: string
RuntimeEnvironment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RuntimeEnvironment resource accepts the following input properties:
- Automation
Account stringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- Runtime
Language string - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - Runtime
Version string - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- Description string
- A description of the Automation Runtime Environment.
- Location string
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- Name string
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- Runtime
Default Dictionary<string, string>Packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- Automation
Account stringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- Runtime
Language string - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - Runtime
Version string - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- Description string
- A description of the Automation Runtime Environment.
- Location string
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- Name string
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- Runtime
Default map[string]stringPackages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- map[string]string
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- automation
Account StringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- runtime
Language String - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - runtime
Version String - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- description String
- A description of the Automation Runtime Environment.
- location String
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- name String
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- runtime
Default Map<String,String>Packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- Map<String,String>
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- automation
Account stringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- runtime
Language string - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - runtime
Version string - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- description string
- A description of the Automation Runtime Environment.
- location string
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- name string
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- runtime
Default {[key: string]: string}Packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- automation_
account_ strid - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- runtime_
language str - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - runtime_
version str - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- description str
- A description of the Automation Runtime Environment.
- location str
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- name str
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- runtime_
default_ Mapping[str, str]packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- automation
Account StringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- runtime
Language String - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - runtime
Version String - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- description String
- A description of the Automation Runtime Environment.
- location String
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- name String
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- runtime
Default Map<String>Packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- Map<String>
- A mapping of tags which should be assigned to the Automation Runtime Environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the RuntimeEnvironment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RuntimeEnvironment Resource
Get an existing RuntimeEnvironment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RuntimeEnvironmentState, opts?: CustomResourceOptions): RuntimeEnvironment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
automation_account_id: Optional[str] = None,
description: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
runtime_default_packages: Optional[Mapping[str, str]] = None,
runtime_language: Optional[str] = None,
runtime_version: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> RuntimeEnvironmentfunc GetRuntimeEnvironment(ctx *Context, name string, id IDInput, state *RuntimeEnvironmentState, opts ...ResourceOption) (*RuntimeEnvironment, error)public static RuntimeEnvironment Get(string name, Input<string> id, RuntimeEnvironmentState? state, CustomResourceOptions? opts = null)public static RuntimeEnvironment get(String name, Output<String> id, RuntimeEnvironmentState state, CustomResourceOptions options)resources: _: type: azure:automation:RuntimeEnvironment get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Automation
Account stringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- Description string
- A description of the Automation Runtime Environment.
- Location string
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- Name string
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- Runtime
Default Dictionary<string, string>Packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- Runtime
Language string - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - Runtime
Version string - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- Automation
Account stringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- Description string
- A description of the Automation Runtime Environment.
- Location string
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- Name string
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- Runtime
Default map[string]stringPackages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- Runtime
Language string - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - Runtime
Version string - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- map[string]string
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- automation
Account StringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- description String
- A description of the Automation Runtime Environment.
- location String
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- name String
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- runtime
Default Map<String,String>Packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- runtime
Language String - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - runtime
Version String - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- automation
Account stringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- description string
- A description of the Automation Runtime Environment.
- location string
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- name string
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- runtime
Default {[key: string]: string}Packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- runtime
Language string - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - runtime
Version string - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- automation_
account_ strid - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- description str
- A description of the Automation Runtime Environment.
- location str
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- name str
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- runtime_
default_ Mapping[str, str]packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- runtime_
language str - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - runtime_
version str - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Automation Runtime Environment.
- automation
Account StringId - The ID of the automation account in which the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- description String
- A description of the Automation Runtime Environment.
- location String
- The location where the Automation Runtime Environment is created. Changing this forces a new resource to be created.
- name String
- The name for the Automation Runtime Environment. Changing this forces a new Automation Runtime Environment to be created.
- runtime
Default Map<String>Packages - A mapping of default packages to be installed in the Automation Runtime Environment. The default packages can only be used with PowerShell runtime environments. Removing packages will force a new Automation Runtime Environment, adding new packages will update the existing Automation Runtime Environment.
- runtime
Language String - The programming language used by the Automation Runtime Environment. Possible values are
PythonandPowerShell. Changing this forces a new Automation Runtime Environment to be created. - runtime
Version String - The version of the runtime environment. Changing this forces a new Automation Runtime Environment to be created.
- Map<String>
- A mapping of tags which should be assigned to the Automation Runtime Environment.
Import
Automation Runtime Environments can be imported using the resource id, e.g.
$ pulumi import azure:automation/runtimeEnvironment:RuntimeEnvironment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/runtimeEnvironments/env1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
