1. Packages
  2. Azure Native v2
  3. API Docs
  4. automation
  5. Package
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.automation.Package

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Definition of the Package type. Azure REST API version: 2023-05-15-preview.

Other available API versions: 2024-10-23.

Example Usage

Create or update a package

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var package = new AzureNative.Automation.Package("package", new()
    {
        AutomationAccountName = "myAutomationAccount33",
        ContentLink = new AzureNative.Automation.Inputs.ContentLinkArgs
        {
            ContentHash = new AzureNative.Automation.Inputs.ContentHashArgs
            {
                Algorithm = "sha265",
                Value = "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A",
            },
            Uri = "https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip",
        },
        PackageName = "OmsCompositeResources",
        ResourceGroupName = "rg",
        RuntimeEnvironmentName = "runtimeEnvironmentName",
    });

});
Copy
package main

import (
	automation "github.com/pulumi/pulumi-azure-native-sdk/automation/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := automation.NewPackage(ctx, "package", &automation.PackageArgs{
			AutomationAccountName: pulumi.String("myAutomationAccount33"),
			ContentLink: &automation.ContentLinkArgs{
				ContentHash: &automation.ContentHashArgs{
					Algorithm: pulumi.String("sha265"),
					Value:     pulumi.String("07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A"),
				},
				Uri: pulumi.String("https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip"),
			},
			PackageName:            pulumi.String("OmsCompositeResources"),
			ResourceGroupName:      pulumi.String("rg"),
			RuntimeEnvironmentName: pulumi.String("runtimeEnvironmentName"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.automation.Package;
import com.pulumi.azurenative.automation.PackageArgs;
import com.pulumi.azurenative.automation.inputs.ContentLinkArgs;
import com.pulumi.azurenative.automation.inputs.ContentHashArgs;
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 package_ = new Package("package", PackageArgs.builder()
            .automationAccountName("myAutomationAccount33")
            .contentLink(ContentLinkArgs.builder()
                .contentHash(ContentHashArgs.builder()
                    .algorithm("sha265")
                    .value("07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A")
                    .build())
                .uri("https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip")
                .build())
            .packageName("OmsCompositeResources")
            .resourceGroupName("rg")
            .runtimeEnvironmentName("runtimeEnvironmentName")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const _package = new azure_native.automation.Package("package", {
    automationAccountName: "myAutomationAccount33",
    contentLink: {
        contentHash: {
            algorithm: "sha265",
            value: "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A",
        },
        uri: "https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip",
    },
    packageName: "OmsCompositeResources",
    resourceGroupName: "rg",
    runtimeEnvironmentName: "runtimeEnvironmentName",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

package = azure_native.automation.Package("package",
    automation_account_name="myAutomationAccount33",
    content_link={
        "content_hash": {
            "algorithm": "sha265",
            "value": "07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A",
        },
        "uri": "https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip",
    },
    package_name="OmsCompositeResources",
    resource_group_name="rg",
    runtime_environment_name="runtimeEnvironmentName")
Copy
resources:
  package:
    type: azure-native:automation:Package
    properties:
      automationAccountName: myAutomationAccount33
      contentLink:
        contentHash:
          algorithm: sha265
          value: 07E108A962B81DD9C9BAA89BB47C0F6EE52B29E83758B07795E408D258B2B87A
        uri: https://teststorage.blob.core.windows.net/dsccomposite/OmsCompositeResources.zip
      packageName: OmsCompositeResources
      resourceGroupName: rg
      runtimeEnvironmentName: runtimeEnvironmentName
Copy

Create Package Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Package(name: string, args: PackageArgs, opts?: CustomResourceOptions);
@overload
def Package(resource_name: str,
            args: PackageArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Package(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            automation_account_name: Optional[str] = None,
            content_link: Optional[ContentLinkArgs] = None,
            resource_group_name: Optional[str] = None,
            runtime_environment_name: Optional[str] = None,
            all_of: Optional[TrackedResourceArgs] = None,
            package_name: Optional[str] = None)
func NewPackage(ctx *Context, name string, args PackageArgs, opts ...ResourceOption) (*Package, error)
public Package(string name, PackageArgs args, CustomResourceOptions? opts = null)
public Package(String name, PackageArgs args)
public Package(String name, PackageArgs args, CustomResourceOptions options)
type: azure-native:automation:Package
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PackageArgs
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 packageResource = new AzureNative.Automation.Package("packageResource", new()
{
    AutomationAccountName = "string",
    ContentLink = 
    {
        { "contentHash", 
        {
            { "algorithm", "string" },
            { "value", "string" },
        } },
        { "uri", "string" },
        { "version", "string" },
    },
    ResourceGroupName = "string",
    RuntimeEnvironmentName = "string",
    AllOf = 
    {
        { "location", "string" },
        { "tags", 
        {
            { "string", "string" },
        } },
    },
    PackageName = "string",
});
Copy
example, err := automation.NewPackage(ctx, "packageResource", &automation.PackageArgs{
	AutomationAccountName: "string",
	ContentLink: map[string]interface{}{
		"contentHash": map[string]interface{}{
			"algorithm": "string",
			"value":     "string",
		},
		"uri":     "string",
		"version": "string",
	},
	ResourceGroupName:      "string",
	RuntimeEnvironmentName: "string",
	AllOf: map[string]interface{}{
		"location": "string",
		"tags": map[string]interface{}{
			"string": "string",
		},
	},
	PackageName: "string",
})
Copy
var packageResource = new com.pulumi.azurenative.automation.Package("packageResource", com.pulumi.azurenative.automation.PackageArgs.builder()
    .automationAccountName("string")
    .contentLink(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .runtimeEnvironmentName("string")
    .allOf(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .packageName("string")
    .build());
Copy
package_resource = azure_native.automation.Package("packageResource",
    automation_account_name=string,
    content_link={
        contentHash: {
            algorithm: string,
            value: string,
        },
        uri: string,
        version: string,
    },
    resource_group_name=string,
    runtime_environment_name=string,
    all_of={
        location: string,
        tags: {
            string: string,
        },
    },
    package_name=string)
Copy
const packageResource = new azure_native.automation.Package("packageResource", {
    automationAccountName: "string",
    contentLink: {
        contentHash: {
            algorithm: "string",
            value: "string",
        },
        uri: "string",
        version: "string",
    },
    resourceGroupName: "string",
    runtimeEnvironmentName: "string",
    allOf: {
        location: "string",
        tags: {
            string: "string",
        },
    },
    packageName: "string",
});
Copy
type: azure-native:automation:Package
properties:
    allOf:
        location: string
        tags:
            string: string
    automationAccountName: string
    contentLink:
        contentHash:
            algorithm: string
            value: string
        uri: string
        version: string
    packageName: string
    resourceGroupName: string
    runtimeEnvironmentName: string
Copy

Package 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 Package resource accepts the following input properties:

AutomationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
ContentLink This property is required. Pulumi.AzureNative.Automation.Inputs.ContentLink
Gets or sets the package content link.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
RuntimeEnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Runtime Environment.
AllOf Pulumi.AzureNative.Automation.Inputs.TrackedResource
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
PackageName Changes to this property will trigger replacement. string
The name of Package.
AutomationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
ContentLink This property is required. ContentLinkArgs
Gets or sets the package content link.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
RuntimeEnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Runtime Environment.
AllOf TrackedResourceArgs
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
PackageName Changes to this property will trigger replacement. string
The name of Package.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the automation account.
contentLink This property is required. ContentLink
Gets or sets the package content link.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.
runtimeEnvironmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Runtime Environment.
allOf TrackedResource
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
packageName Changes to this property will trigger replacement. String
The name of Package.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the automation account.
contentLink This property is required. ContentLink
Gets or sets the package content link.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure Resource group.
runtimeEnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Runtime Environment.
allOf TrackedResource
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
packageName Changes to this property will trigger replacement. string
The name of Package.
automation_account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the automation account.
content_link This property is required. ContentLinkArgs
Gets or sets the package content link.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of an Azure Resource group.
runtime_environment_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Runtime Environment.
all_of TrackedResourceArgs
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
package_name Changes to this property will trigger replacement. str
The name of Package.
automationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the automation account.
contentLink This property is required. Property Map
Gets or sets the package content link.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure Resource group.
runtimeEnvironmentName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Runtime Environment.
allOf Property Map
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
packageName Changes to this property will trigger replacement. String
The name of Package.

Outputs

All input properties are implicitly available as output properties. Additionally, the Package resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Location string
The geo-location where the resource lives
Name string
The name of the resource
ProvisioningState string
Gets or sets the provisioning state of the Package.
SystemData Pulumi.AzureNative.Automation.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Default bool
Gets or sets the isGlobal flag of the package.
Error Pulumi.AzureNative.Automation.Outputs.PackageErrorInfoResponse
Gets or sets the error info of the Package.
SizeInBytes double
Gets or sets the size in bytes of the Package.
Tags Dictionary<string, string>
Resource tags.
Version string
Gets or sets the version of the Package.
Id string
The provider-assigned unique ID for this managed resource.
Location string
The geo-location where the resource lives
Name string
The name of the resource
ProvisioningState string
Gets or sets the provisioning state of the Package.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Default bool
Gets or sets the isGlobal flag of the package.
Error PackageErrorInfoResponse
Gets or sets the error info of the Package.
SizeInBytes float64
Gets or sets the size in bytes of the Package.
Tags map[string]string
Resource tags.
Version string
Gets or sets the version of the Package.
id String
The provider-assigned unique ID for this managed resource.
location String
The geo-location where the resource lives
name String
The name of the resource
provisioningState String
Gets or sets the provisioning state of the Package.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
default_ Boolean
Gets or sets the isGlobal flag of the package.
error PackageErrorInfoResponse
Gets or sets the error info of the Package.
sizeInBytes Double
Gets or sets the size in bytes of the Package.
tags Map<String,String>
Resource tags.
version String
Gets or sets the version of the Package.
id string
The provider-assigned unique ID for this managed resource.
location string
The geo-location where the resource lives
name string
The name of the resource
provisioningState string
Gets or sets the provisioning state of the Package.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
default boolean
Gets or sets the isGlobal flag of the package.
error PackageErrorInfoResponse
Gets or sets the error info of the Package.
sizeInBytes number
Gets or sets the size in bytes of the Package.
tags {[key: string]: string}
Resource tags.
version string
Gets or sets the version of the Package.
id str
The provider-assigned unique ID for this managed resource.
location str
The geo-location where the resource lives
name str
The name of the resource
provisioning_state str
Gets or sets the provisioning state of the Package.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
default bool
Gets or sets the isGlobal flag of the package.
error PackageErrorInfoResponse
Gets or sets the error info of the Package.
size_in_bytes float
Gets or sets the size in bytes of the Package.
tags Mapping[str, str]
Resource tags.
version str
Gets or sets the version of the Package.
id String
The provider-assigned unique ID for this managed resource.
location String
The geo-location where the resource lives
name String
The name of the resource
provisioningState String
Gets or sets the provisioning state of the Package.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
default Boolean
Gets or sets the isGlobal flag of the package.
error Property Map
Gets or sets the error info of the Package.
sizeInBytes Number
Gets or sets the size in bytes of the Package.
tags Map<String>
Resource tags.
version String
Gets or sets the version of the Package.

Supporting Types

ContentHash
, ContentHashArgs

Algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
Value This property is required. string
Gets or sets expected hash value of the content.
Algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
Value This property is required. string
Gets or sets expected hash value of the content.
algorithm This property is required. String
Gets or sets the content hash algorithm used to hash the content.
value This property is required. String
Gets or sets expected hash value of the content.
algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
value This property is required. string
Gets or sets expected hash value of the content.
algorithm This property is required. str
Gets or sets the content hash algorithm used to hash the content.
value This property is required. str
Gets or sets expected hash value of the content.
algorithm This property is required. String
Gets or sets the content hash algorithm used to hash the content.
value This property is required. String
Gets or sets expected hash value of the content.

ContentHashResponse
, ContentHashResponseArgs

Algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
Value This property is required. string
Gets or sets expected hash value of the content.
Algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
Value This property is required. string
Gets or sets expected hash value of the content.
algorithm This property is required. String
Gets or sets the content hash algorithm used to hash the content.
value This property is required. String
Gets or sets expected hash value of the content.
algorithm This property is required. string
Gets or sets the content hash algorithm used to hash the content.
value This property is required. string
Gets or sets expected hash value of the content.
algorithm This property is required. str
Gets or sets the content hash algorithm used to hash the content.
value This property is required. str
Gets or sets expected hash value of the content.
algorithm This property is required. String
Gets or sets the content hash algorithm used to hash the content.
value This property is required. String
Gets or sets expected hash value of the content.
ContentHash Pulumi.AzureNative.Automation.Inputs.ContentHash
Gets or sets the hash.
Uri string
Gets or sets the uri of the runbook content.
Version string
Gets or sets the version of the content.
ContentHash ContentHash
Gets or sets the hash.
Uri string
Gets or sets the uri of the runbook content.
Version string
Gets or sets the version of the content.
contentHash ContentHash
Gets or sets the hash.
uri String
Gets or sets the uri of the runbook content.
version String
Gets or sets the version of the content.
contentHash ContentHash
Gets or sets the hash.
uri string
Gets or sets the uri of the runbook content.
version string
Gets or sets the version of the content.
content_hash ContentHash
Gets or sets the hash.
uri str
Gets or sets the uri of the runbook content.
version str
Gets or sets the version of the content.
contentHash Property Map
Gets or sets the hash.
uri String
Gets or sets the uri of the runbook content.
version String
Gets or sets the version of the content.

ContentLinkResponse
, ContentLinkResponseArgs

ContentHash Pulumi.AzureNative.Automation.Inputs.ContentHashResponse
Gets or sets the hash.
Uri string
Gets or sets the uri of the runbook content.
Version string
Gets or sets the version of the content.
ContentHash ContentHashResponse
Gets or sets the hash.
Uri string
Gets or sets the uri of the runbook content.
Version string
Gets or sets the version of the content.
contentHash ContentHashResponse
Gets or sets the hash.
uri String
Gets or sets the uri of the runbook content.
version String
Gets or sets the version of the content.
contentHash ContentHashResponse
Gets or sets the hash.
uri string
Gets or sets the uri of the runbook content.
version string
Gets or sets the version of the content.
content_hash ContentHashResponse
Gets or sets the hash.
uri str
Gets or sets the uri of the runbook content.
version str
Gets or sets the version of the content.
contentHash Property Map
Gets or sets the hash.
uri String
Gets or sets the uri of the runbook content.
version String
Gets or sets the version of the content.

PackageErrorInfoResponse
, PackageErrorInfoResponseArgs

Code string
Package import error code.
Message string
Package import error message.
Code string
Package import error code.
Message string
Package import error message.
code String
Package import error code.
message String
Package import error message.
code string
Package import error code.
message string
Package import error message.
code str
Package import error code.
message str
Package import error message.
code String
Package import error code.
message String
Package import error message.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

TrackedResource
, TrackedResourceArgs

Location This property is required. string
The geo-location where the resource lives
Tags Dictionary<string, string>
Resource tags.
Location This property is required. string
The geo-location where the resource lives
Tags map[string]string
Resource tags.
location This property is required. String
The geo-location where the resource lives
tags Map<String,String>
Resource tags.
location This property is required. string
The geo-location where the resource lives
tags {[key: string]: string}
Resource tags.
location This property is required. str
The geo-location where the resource lives
tags Mapping[str, str]
Resource tags.
location This property is required. String
The geo-location where the resource lives
tags Map<String>
Resource tags.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:automation:Package OmsCompositeResources /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments/{runtimeEnvironmentName}/packages/{packageName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi