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.
To create a Microsoft.Automation/automationAccounts/python2Packages resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Automation/automationAccounts/python2Packages@2024-10-23' = {
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
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) |
ContentLink
| Name |
Description |
Value |
| contentHash |
Gets or sets the hash. |
ContentHash |
| uri |
Gets or sets the uri of content. |
string |
| version |
Gets or sets the version of the content. |
string |
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
To create a Microsoft.Automation/automationAccounts/python2Packages resource, add the following JSON to your template.
{
"type": "Microsoft.Automation/automationAccounts/python2Packages",
"apiVersion": "2024-10-23",
"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 |
'2024-10-23' |
| 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) |
ContentLink
| Name |
Description |
Value |
| contentHash |
Gets or sets the hash. |
ContentHash |
| uri |
Gets or sets the uri of content. |
string |
| version |
Gets or sets the version of the content. |
string |
PythonPackageCreatePropertiesOrModuleProperties
| Name |
Description |
Value |
| contentLink |
Gets or sets the module content link. |
ContentLink (required) |
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.
To create a Microsoft.Automation/automationAccounts/python2Packages resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Automation/automationAccounts/python2Packages@2024-10-23"
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@2024-10-23" |
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) |
ContentLink
| Name |
Description |
Value |
| contentHash |
Gets or sets the hash. |
ContentHash |
| uri |
Gets or sets the uri of content. |
string |
| version |
Gets or sets the version of the content. |
string |
PythonPackageCreatePropertiesOrModuleProperties
| Name |
Description |
Value |
| contentLink |
Gets or sets the module content link. |
ContentLink (required) |