We recommend using Azure Native.
published on Tuesday, Apr 21, 2026 by Pulumi
We recommend using Azure Native.
published on Tuesday, Apr 21, 2026 by Pulumi
Manages a Package within 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: "example-resource-group",
location: "westeurope",
});
const exampleAccount = new azure.automation.Account("example", {
name: "example-account",
location: example.location,
resourceGroupName: example.name,
skuName: "Basic",
});
const exampleRuntimeEnvironment = new azure.automation.RuntimeEnvironment("example", {
name: "example-runtime-env",
automationAccountId: exampleAccount.id,
runtimeLanguage: "PowerShell",
runtimeVersion: "7.2",
location: example.location,
});
const exampleRuntimeEnvironmentPackage = new azure.automation.RuntimeEnvironmentPackage("example", {
name: "example-package",
automationRuntimeEnvironmentId: exampleRuntimeEnvironment.id,
contentUri: "https://www.powershellgallery.com/api/v2/package/example-package/1.0.0",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resource-group",
location="westeurope")
example_account = azure.automation.Account("example",
name="example-account",
location=example.location,
resource_group_name=example.name,
sku_name="Basic")
example_runtime_environment = azure.automation.RuntimeEnvironment("example",
name="example-runtime-env",
automation_account_id=example_account.id,
runtime_language="PowerShell",
runtime_version="7.2",
location=example.location)
example_runtime_environment_package = azure.automation.RuntimeEnvironmentPackage("example",
name="example-package",
automation_runtime_environment_id=example_runtime_environment.id,
content_uri="https://www.powershellgallery.com/api/v2/package/example-package/1.0.0")
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("example-resource-group"),
Location: pulumi.String("westeurope"),
})
if err != nil {
return err
}
exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
Name: pulumi.String("example-account"),
Location: example.Location,
ResourceGroupName: example.Name,
SkuName: pulumi.String("Basic"),
})
if err != nil {
return err
}
exampleRuntimeEnvironment, err := automation.NewRuntimeEnvironment(ctx, "example", &automation.RuntimeEnvironmentArgs{
Name: pulumi.String("example-runtime-env"),
AutomationAccountId: exampleAccount.ID(),
RuntimeLanguage: pulumi.String("PowerShell"),
RuntimeVersion: pulumi.String("7.2"),
Location: example.Location,
})
if err != nil {
return err
}
_, err = automation.NewRuntimeEnvironmentPackage(ctx, "example", &automation.RuntimeEnvironmentPackageArgs{
Name: pulumi.String("example-package"),
AutomationRuntimeEnvironmentId: exampleRuntimeEnvironment.ID(),
ContentUri: pulumi.String("https://www.powershellgallery.com/api/v2/package/example-package/1.0.0"),
})
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 = "example-resource-group",
Location = "westeurope",
});
var exampleAccount = new Azure.Automation.Account("example", new()
{
Name = "example-account",
Location = example.Location,
ResourceGroupName = example.Name,
SkuName = "Basic",
});
var exampleRuntimeEnvironment = new Azure.Automation.RuntimeEnvironment("example", new()
{
Name = "example-runtime-env",
AutomationAccountId = exampleAccount.Id,
RuntimeLanguage = "PowerShell",
RuntimeVersion = "7.2",
Location = example.Location,
});
var exampleRuntimeEnvironmentPackage = new Azure.Automation.RuntimeEnvironmentPackage("example", new()
{
Name = "example-package",
AutomationRuntimeEnvironmentId = exampleRuntimeEnvironment.Id,
ContentUri = "https://www.powershellgallery.com/api/v2/package/example-package/1.0.0",
});
});
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 com.pulumi.azure.automation.RuntimeEnvironmentPackage;
import com.pulumi.azure.automation.RuntimeEnvironmentPackageArgs;
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("example-resource-group")
.location("westeurope")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.name("example-account")
.location(example.location())
.resourceGroupName(example.name())
.skuName("Basic")
.build());
var exampleRuntimeEnvironment = new RuntimeEnvironment("exampleRuntimeEnvironment", RuntimeEnvironmentArgs.builder()
.name("example-runtime-env")
.automationAccountId(exampleAccount.id())
.runtimeLanguage("PowerShell")
.runtimeVersion("7.2")
.location(example.location())
.build());
var exampleRuntimeEnvironmentPackage = new RuntimeEnvironmentPackage("exampleRuntimeEnvironmentPackage", RuntimeEnvironmentPackageArgs.builder()
.name("example-package")
.automationRuntimeEnvironmentId(exampleRuntimeEnvironment.id())
.contentUri("https://www.powershellgallery.com/api/v2/package/example-package/1.0.0")
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resource-group
location: westeurope
exampleAccount:
type: azure:automation:Account
name: example
properties:
name: example-account
location: ${example.location}
resourceGroupName: ${example.name}
skuName: Basic
exampleRuntimeEnvironment:
type: azure:automation:RuntimeEnvironment
name: example
properties:
name: example-runtime-env
automationAccountId: ${exampleAccount.id}
runtimeLanguage: PowerShell
runtimeVersion: '7.2'
location: ${example.location}
exampleRuntimeEnvironmentPackage:
type: azure:automation:RuntimeEnvironmentPackage
name: example
properties:
name: example-package
automationRuntimeEnvironmentId: ${exampleRuntimeEnvironment.id}
contentUri: https://www.powershellgallery.com/api/v2/package/example-package/1.0.0
API Providers
This resource uses the following Azure API Providers:
Microsoft.Automation- 2024-10-23
Create RuntimeEnvironmentPackage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RuntimeEnvironmentPackage(name: string, args: RuntimeEnvironmentPackageArgs, opts?: CustomResourceOptions);@overload
def RuntimeEnvironmentPackage(resource_name: str,
args: RuntimeEnvironmentPackageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RuntimeEnvironmentPackage(resource_name: str,
opts: Optional[ResourceOptions] = None,
automation_runtime_environment_id: Optional[str] = None,
content_uri: Optional[str] = None,
content_version: Optional[str] = None,
hash_algorithm: Optional[str] = None,
hash_value: Optional[str] = None,
name: Optional[str] = None)func NewRuntimeEnvironmentPackage(ctx *Context, name string, args RuntimeEnvironmentPackageArgs, opts ...ResourceOption) (*RuntimeEnvironmentPackage, error)public RuntimeEnvironmentPackage(string name, RuntimeEnvironmentPackageArgs args, CustomResourceOptions? opts = null)
public RuntimeEnvironmentPackage(String name, RuntimeEnvironmentPackageArgs args)
public RuntimeEnvironmentPackage(String name, RuntimeEnvironmentPackageArgs args, CustomResourceOptions options)
type: azure:automation:RuntimeEnvironmentPackage
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 RuntimeEnvironmentPackageArgs
- 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 RuntimeEnvironmentPackageArgs
- 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 RuntimeEnvironmentPackageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuntimeEnvironmentPackageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RuntimeEnvironmentPackageArgs
- 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 runtimeEnvironmentPackageResource = new Azure.Automation.RuntimeEnvironmentPackage("runtimeEnvironmentPackageResource", new()
{
AutomationRuntimeEnvironmentId = "string",
ContentUri = "string",
ContentVersion = "string",
HashAlgorithm = "string",
HashValue = "string",
Name = "string",
});
example, err := automation.NewRuntimeEnvironmentPackage(ctx, "runtimeEnvironmentPackageResource", &automation.RuntimeEnvironmentPackageArgs{
AutomationRuntimeEnvironmentId: pulumi.String("string"),
ContentUri: pulumi.String("string"),
ContentVersion: pulumi.String("string"),
HashAlgorithm: pulumi.String("string"),
HashValue: pulumi.String("string"),
Name: pulumi.String("string"),
})
var runtimeEnvironmentPackageResource = new RuntimeEnvironmentPackage("runtimeEnvironmentPackageResource", RuntimeEnvironmentPackageArgs.builder()
.automationRuntimeEnvironmentId("string")
.contentUri("string")
.contentVersion("string")
.hashAlgorithm("string")
.hashValue("string")
.name("string")
.build());
runtime_environment_package_resource = azure.automation.RuntimeEnvironmentPackage("runtimeEnvironmentPackageResource",
automation_runtime_environment_id="string",
content_uri="string",
content_version="string",
hash_algorithm="string",
hash_value="string",
name="string")
const runtimeEnvironmentPackageResource = new azure.automation.RuntimeEnvironmentPackage("runtimeEnvironmentPackageResource", {
automationRuntimeEnvironmentId: "string",
contentUri: "string",
contentVersion: "string",
hashAlgorithm: "string",
hashValue: "string",
name: "string",
});
type: azure:automation:RuntimeEnvironmentPackage
properties:
automationRuntimeEnvironmentId: string
contentUri: string
contentVersion: string
hashAlgorithm: string
hashValue: string
name: string
RuntimeEnvironmentPackage 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 RuntimeEnvironmentPackage resource accepts the following input properties:
- Automation
Runtime stringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- Content
Uri string - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- Content
Version string The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- Hash
Algorithm string The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- Hash
Value string The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- Name string
- The name of the package. Changing this forces a new resource to be created.
- Automation
Runtime stringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- Content
Uri string - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- Content
Version string The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- Hash
Algorithm string The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- Hash
Value string The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- Name string
- The name of the package. Changing this forces a new resource to be created.
- automation
Runtime StringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- content
Uri String - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- content
Version String The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- hash
Algorithm String The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- hash
Value String The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- name String
- The name of the package. Changing this forces a new resource to be created.
- automation
Runtime stringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- content
Uri string - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- content
Version string The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- hash
Algorithm string The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- hash
Value string The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- name string
- The name of the package. Changing this forces a new resource to be created.
- automation_
runtime_ strenvironment_ id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- content_
uri str - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- content_
version str The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- hash_
algorithm str The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- hash_
value str The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- name str
- The name of the package. Changing this forces a new resource to be created.
- automation
Runtime StringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- content
Uri String - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- content
Version String The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- hash
Algorithm String The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- hash
Value String The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- name String
- The name of the package. Changing this forces a new resource to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the RuntimeEnvironmentPackage resource produces the following output properties:
- Default bool
- Whether this is a default package.
- Id string
- The provider-assigned unique ID for this managed resource.
- Size
In intBytes - The size of the package in bytes.
- Version string
- The version of the package as reported by the platform.
- Default bool
- Whether this is a default package.
- Id string
- The provider-assigned unique ID for this managed resource.
- Size
In intBytes - The size of the package in bytes.
- Version string
- The version of the package as reported by the platform.
- default_ Boolean
- Whether this is a default package.
- id String
- The provider-assigned unique ID for this managed resource.
- size
In IntegerBytes - The size of the package in bytes.
- version String
- The version of the package as reported by the platform.
- default boolean
- Whether this is a default package.
- id string
- The provider-assigned unique ID for this managed resource.
- size
In numberBytes - The size of the package in bytes.
- version string
- The version of the package as reported by the platform.
- default bool
- Whether this is a default package.
- id str
- The provider-assigned unique ID for this managed resource.
- size_
in_ intbytes - The size of the package in bytes.
- version str
- The version of the package as reported by the platform.
- default Boolean
- Whether this is a default package.
- id String
- The provider-assigned unique ID for this managed resource.
- size
In NumberBytes - The size of the package in bytes.
- version String
- The version of the package as reported by the platform.
Look up Existing RuntimeEnvironmentPackage Resource
Get an existing RuntimeEnvironmentPackage 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?: RuntimeEnvironmentPackageState, opts?: CustomResourceOptions): RuntimeEnvironmentPackage@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
automation_runtime_environment_id: Optional[str] = None,
content_uri: Optional[str] = None,
content_version: Optional[str] = None,
default: Optional[bool] = None,
hash_algorithm: Optional[str] = None,
hash_value: Optional[str] = None,
name: Optional[str] = None,
size_in_bytes: Optional[int] = None,
version: Optional[str] = None) -> RuntimeEnvironmentPackagefunc GetRuntimeEnvironmentPackage(ctx *Context, name string, id IDInput, state *RuntimeEnvironmentPackageState, opts ...ResourceOption) (*RuntimeEnvironmentPackage, error)public static RuntimeEnvironmentPackage Get(string name, Input<string> id, RuntimeEnvironmentPackageState? state, CustomResourceOptions? opts = null)public static RuntimeEnvironmentPackage get(String name, Output<String> id, RuntimeEnvironmentPackageState state, CustomResourceOptions options)resources: _: type: azure:automation:RuntimeEnvironmentPackage 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
Runtime stringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- Content
Uri string - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- Content
Version string The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- Default bool
- Whether this is a default package.
- Hash
Algorithm string The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- Hash
Value string The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- Name string
- The name of the package. Changing this forces a new resource to be created.
- Size
In intBytes - The size of the package in bytes.
- Version string
- The version of the package as reported by the platform.
- Automation
Runtime stringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- Content
Uri string - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- Content
Version string The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- Default bool
- Whether this is a default package.
- Hash
Algorithm string The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- Hash
Value string The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- Name string
- The name of the package. Changing this forces a new resource to be created.
- Size
In intBytes - The size of the package in bytes.
- Version string
- The version of the package as reported by the platform.
- automation
Runtime StringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- content
Uri String - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- content
Version String The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- default_ Boolean
- Whether this is a default package.
- hash
Algorithm String The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- hash
Value String The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- name String
- The name of the package. Changing this forces a new resource to be created.
- size
In IntegerBytes - The size of the package in bytes.
- version String
- The version of the package as reported by the platform.
- automation
Runtime stringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- content
Uri string - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- content
Version string The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- default boolean
- Whether this is a default package.
- hash
Algorithm string The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- hash
Value string The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- name string
- The name of the package. Changing this forces a new resource to be created.
- size
In numberBytes - The size of the package in bytes.
- version string
- The version of the package as reported by the platform.
- automation_
runtime_ strenvironment_ id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- content_
uri str - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- content_
version str The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- default bool
- Whether this is a default package.
- hash_
algorithm str The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- hash_
value str The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- name str
- The name of the package. Changing this forces a new resource to be created.
- size_
in_ intbytes - The size of the package in bytes.
- version str
- The version of the package as reported by the platform.
- automation
Runtime StringEnvironment Id - The ID of the Automation Runtime Environment in which to create this package. Changing this forces a new resource to be created.
- content
Uri String - The HTTPS URI of the package content. Changing this forces a new resource to be created.
- content
Version String The version of the package content. Changing this forces a new resource to be created.
Note: The
contentVersionmust be a version string with 2 to 4 segments (e.g.1.0,1.0.0, or1.0.0.0).- default Boolean
- Whether this is a default package.
- hash
Algorithm String The hash algorithm used to hash the content. Changing this forces a new resource to be created.
Note: The argument
hashAlgorithmis required whenhashValueis specified.- hash
Value String The hash value of the content. Changing this forces a new resource to be created.
Note: The argument
hashValueis required whenhashAlgorithmis specified.- name String
- The name of the package. Changing this forces a new resource to be created.
- size
In NumberBytes - The size of the package in bytes.
- version String
- The version of the package as reported by the platform.
Import
An Automation Runtime Environment Package can be imported using the resource id, e.g.
$ pulumi import azure:automation/runtimeEnvironmentPackage:RuntimeEnvironmentPackage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Automation/automationAccounts/automationAccount1/runtimeEnvironments/runtimeEnvironment1/packages/package1
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.
We recommend using Azure Native.
published on Tuesday, Apr 21, 2026 by Pulumi
