1. Packages
  2. Azure Classic
  3. API Docs
  4. automation
  5. Python3Package

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.automation.Python3Package

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Manages a Automation Python3 Package.

    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: "%[2]s",
    });
    const exampleAccount = new azure.automation.Account("example", {
        name: "accexample",
        location: example.location,
        resourceGroupName: example.name,
        skuName: "Basic",
    });
    const examplePython3Package = new azure.automation.Python3Package("example", {
        name: "example",
        resourceGroupName: example.name,
        automationAccountName: exampleAccount.name,
        contentUri: "https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz",
        contentVersion: "2.31.0",
        hashAlgorithm: "sha256",
        hashValue: "942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1",
        tags: {
            key: "foo",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="rg-example",
        location="%[2]s")
    example_account = azure.automation.Account("example",
        name="accexample",
        location=example.location,
        resource_group_name=example.name,
        sku_name="Basic")
    example_python3_package = azure.automation.Python3Package("example",
        name="example",
        resource_group_name=example.name,
        automation_account_name=example_account.name,
        content_uri="https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz",
        content_version="2.31.0",
        hash_algorithm="sha256",
        hash_value="942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1",
        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("%[2]s"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
    			Name:              pulumi.String("accexample"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			SkuName:           pulumi.String("Basic"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = automation.NewPython3Package(ctx, "example", &automation.Python3PackageArgs{
    			Name:                  pulumi.String("example"),
    			ResourceGroupName:     example.Name,
    			AutomationAccountName: exampleAccount.Name,
    			ContentUri:            pulumi.String("https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz"),
    			ContentVersion:        pulumi.String("2.31.0"),
    			HashAlgorithm:         pulumi.String("sha256"),
    			HashValue:             pulumi.String("942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"),
    			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 = "%[2]s",
        });
    
        var exampleAccount = new Azure.Automation.Account("example", new()
        {
            Name = "accexample",
            Location = example.Location,
            ResourceGroupName = example.Name,
            SkuName = "Basic",
        });
    
        var examplePython3Package = new Azure.Automation.Python3Package("example", new()
        {
            Name = "example",
            ResourceGroupName = example.Name,
            AutomationAccountName = exampleAccount.Name,
            ContentUri = "https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz",
            ContentVersion = "2.31.0",
            HashAlgorithm = "sha256",
            HashValue = "942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1",
            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.Python3Package;
    import com.pulumi.azure.automation.Python3PackageArgs;
    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("%[2]s")
                .build());
    
            var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
                .name("accexample")
                .location(example.location())
                .resourceGroupName(example.name())
                .skuName("Basic")
                .build());
    
            var examplePython3Package = new Python3Package("examplePython3Package", Python3PackageArgs.builder()
                .name("example")
                .resourceGroupName(example.name())
                .automationAccountName(exampleAccount.name())
                .contentUri("https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz")
                .contentVersion("2.31.0")
                .hashAlgorithm("sha256")
                .hashValue("942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1")
                .tags(Map.of("key", "foo"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: rg-example
          location: '%[2]s'
      exampleAccount:
        type: azure:automation:Account
        name: example
        properties:
          name: accexample
          location: ${example.location}
          resourceGroupName: ${example.name}
          skuName: Basic
      examplePython3Package:
        type: azure:automation:Python3Package
        name: example
        properties:
          name: example
          resourceGroupName: ${example.name}
          automationAccountName: ${exampleAccount.name}
          contentUri: https://pypi.org/packages/source/r/requests/requests-2.31.0.tar.gz
          contentVersion: 2.31.0
          hashAlgorithm: sha256
          hashValue: 942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1
          tags:
            key: foo
    

    Create Python3Package Resource

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

    Constructor syntax

    new Python3Package(name: string, args: Python3PackageArgs, opts?: CustomResourceOptions);
    @overload
    def Python3Package(resource_name: str,
                       args: Python3PackageArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def Python3Package(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       automation_account_name: Optional[str] = None,
                       content_uri: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       content_version: Optional[str] = None,
                       hash_algorithm: Optional[str] = None,
                       hash_value: Optional[str] = None,
                       name: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None)
    func NewPython3Package(ctx *Context, name string, args Python3PackageArgs, opts ...ResourceOption) (*Python3Package, error)
    public Python3Package(string name, Python3PackageArgs args, CustomResourceOptions? opts = null)
    public Python3Package(String name, Python3PackageArgs args)
    public Python3Package(String name, Python3PackageArgs args, CustomResourceOptions options)
    
    type: azure:automation:Python3Package
    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 Python3PackageArgs
    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 Python3PackageArgs
    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 Python3PackageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Python3PackageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Python3PackageArgs
    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 python3PackageResource = new Azure.Automation.Python3Package("python3PackageResource", new()
    {
        AutomationAccountName = "string",
        ContentUri = "string",
        ResourceGroupName = "string",
        ContentVersion = "string",
        HashAlgorithm = "string",
        HashValue = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := automation.NewPython3Package(ctx, "python3PackageResource", &automation.Python3PackageArgs{
    	AutomationAccountName: pulumi.String("string"),
    	ContentUri:            pulumi.String("string"),
    	ResourceGroupName:     pulumi.String("string"),
    	ContentVersion:        pulumi.String("string"),
    	HashAlgorithm:         pulumi.String("string"),
    	HashValue:             pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var python3PackageResource = new Python3Package("python3PackageResource", Python3PackageArgs.builder()
        .automationAccountName("string")
        .contentUri("string")
        .resourceGroupName("string")
        .contentVersion("string")
        .hashAlgorithm("string")
        .hashValue("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    python3_package_resource = azure.automation.Python3Package("python3PackageResource",
        automation_account_name="string",
        content_uri="string",
        resource_group_name="string",
        content_version="string",
        hash_algorithm="string",
        hash_value="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const python3PackageResource = new azure.automation.Python3Package("python3PackageResource", {
        automationAccountName: "string",
        contentUri: "string",
        resourceGroupName: "string",
        contentVersion: "string",
        hashAlgorithm: "string",
        hashValue: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:automation:Python3Package
    properties:
        automationAccountName: string
        contentUri: string
        contentVersion: string
        hashAlgorithm: string
        hashValue: string
        name: string
        resourceGroupName: string
        tags:
            string: string
    

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

    AutomationAccountName string
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    ContentUri string
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    ResourceGroupName string
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    ContentVersion string
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    HashAlgorithm string
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    HashValue string
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    Name string
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Automation Python3 Package.
    AutomationAccountName string
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    ContentUri string
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    ResourceGroupName string
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    ContentVersion string
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    HashAlgorithm string
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    HashValue string
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    Name string
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Automation Python3 Package.
    automationAccountName String
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentUri String
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    resourceGroupName String
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentVersion String
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    hashAlgorithm String
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    hashValue String
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    name String
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Automation Python3 Package.
    automationAccountName string
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentUri string
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    resourceGroupName string
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentVersion string
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    hashAlgorithm string
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    hashValue string
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    name string
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Automation Python3 Package.
    automation_account_name str
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    content_uri str
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    resource_group_name str
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    content_version str
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    hash_algorithm str
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    hash_value str
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    name str
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Automation Python3 Package.
    automationAccountName String
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentUri String
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    resourceGroupName String
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentVersion String
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    hashAlgorithm String
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    hashValue String
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    name String
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Automation Python3 Package.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Python3Package 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 Python3Package Resource

    Get an existing Python3Package 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?: Python3PackageState, opts?: CustomResourceOptions): Python3Package
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            automation_account_name: 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,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> Python3Package
    func GetPython3Package(ctx *Context, name string, id IDInput, state *Python3PackageState, opts ...ResourceOption) (*Python3Package, error)
    public static Python3Package Get(string name, Input<string> id, Python3PackageState? state, CustomResourceOptions? opts = null)
    public static Python3Package get(String name, Output<String> id, Python3PackageState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AutomationAccountName string
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    ContentUri string
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    ContentVersion string
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    HashAlgorithm string
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    HashValue string
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    Name string
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    ResourceGroupName string
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Automation Python3 Package.
    AutomationAccountName string
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    ContentUri string
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    ContentVersion string
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    HashAlgorithm string
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    HashValue string
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    Name string
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    ResourceGroupName string
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Automation Python3 Package.
    automationAccountName String
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentUri String
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    contentVersion String
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    hashAlgorithm String
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    hashValue String
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    name String
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    resourceGroupName String
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Automation Python3 Package.
    automationAccountName string
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentUri string
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    contentVersion string
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    hashAlgorithm string
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    hashValue string
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    name string
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    resourceGroupName string
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Automation Python3 Package.
    automation_account_name str
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    content_uri str
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    content_version str
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    hash_algorithm str
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    hash_value str
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    name str
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    resource_group_name str
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Automation Python3 Package.
    automationAccountName String
    The name of the automation account in which the Python3 Package is created. Changing this forces a new resource to be created.
    contentUri String
    The URL of the python package. Changing this forces a new Automation Python3 Package to be created.
    contentVersion String
    Specify the version of the python3 package. The value should meet the system.version class format like 1.1.1. Changing this forces a new Automation Python3 Package to be created.
    hashAlgorithm String
    Specify the hash algorithm used to hash the content of the python3 package. Changing this forces a new Automation Python3 Package to be created.
    hashValue String
    Specity the hash value of the content. Changing this forces a new Automation Python3 Package to be created.
    name String
    The name which should be used for this Automation Python3 Package. Changing this forces a new Automation Python3 Package to be created.
    resourceGroupName String
    The name of the resource group in which the Python3 Package is created. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Automation Python3 Package.

    Import

    Automation Python3 Packages can be imported using the resource id, e.g.

    $ pulumi import azure:automation/python3Package:Python3Package example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/python3Packages/pkg
    

    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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi