Microsoft.Automation automationAccounts/python2Packages 2023-11-01

Bicep resource definition

The automationAccounts/python2Packages resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Automation/automationAccounts/python2Packages resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Automation/automationAccounts/python2Packages@2023-11-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    contentLink: {
      contentHash: {
        algorithm: 'string'
        value: 'string'
      }
      uri: 'string'
      version: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.Automation/automationAccounts/python2Packages

Name Description Value
name The resource name string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: automationAccounts
properties Gets or sets the module create properties. PythonPackageCreatePropertiesOrModuleProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates

ContentHash

Name Description Value
algorithm Gets or sets the content hash algorithm used to hash the content. string (required)
value Gets or sets expected hash value of the content. string (required)
Name Description Value
contentHash Sets the hash. ContentHash
uri Sets the uri of the content. string
version Sets the version of the content. string

PythonPackageCreateParametersTags

Name Description Value

PythonPackageCreatePropertiesOrModuleProperties

Name Description Value
contentLink Gets or sets the module content link. ContentLink (required)

ARM template resource definition

The automationAccounts/python2Packages resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.Automation/automationAccounts/python2Packages resource, add the following JSON to your template.

{
  "type": "Microsoft.Automation/automationAccounts/python2Packages",
  "apiVersion": "2023-11-01",
  "name": "string",
  "properties": {
    "contentLink": {
      "contentHash": {
        "algorithm": "string",
        "value": "string"
      },
      "uri": "string",
      "version": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.Automation/automationAccounts/python2Packages

Name Description Value
apiVersion The api version '2023-11-01'
name The resource name string (required)
properties Gets or sets the module create properties. PythonPackageCreatePropertiesOrModuleProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Automation/automationAccounts/python2Packages'

ContentHash

Name Description Value
algorithm Gets or sets the content hash algorithm used to hash the content. string (required)
value Gets or sets expected hash value of the content. string (required)
Name Description Value
contentHash Sets the hash. ContentHash
uri Sets the uri of the content. string
version Sets the version of the content. string

PythonPackageCreateParametersTags

Name Description Value

PythonPackageCreatePropertiesOrModuleProperties

Name Description Value
contentLink Gets or sets the module content link. ContentLink (required)

Terraform (AzAPI provider) resource definition

The automationAccounts/python2Packages resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Automation/automationAccounts/python2Packages resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Automation/automationAccounts/python2Packages@2023-11-01"
  name = "string"
  parent_id = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      contentLink = {
        contentHash = {
          algorithm = "string"
          value = "string"
        }
        uri = "string"
        version = "string"
      }
    }
  }
}

Property Values

Microsoft.Automation/automationAccounts/python2Packages

Name Description Value
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: automationAccounts
properties Gets or sets the module create properties. PythonPackageCreatePropertiesOrModuleProperties (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Automation/automationAccounts/python2Packages@2023-11-01"

ContentHash

Name Description Value
algorithm Gets or sets the content hash algorithm used to hash the content. string (required)
value Gets or sets expected hash value of the content. string (required)
Name Description Value
contentHash Sets the hash. ContentHash
uri Sets the uri of the content. string
version Sets the version of the content. string

PythonPackageCreateParametersTags

Name Description Value

PythonPackageCreatePropertiesOrModuleProperties

Name Description Value
contentLink Gets or sets the module content link. ContentLink (required)