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 JSON to your template.
{
"type": "Microsoft.Automation/automationAccounts/python2Packages",
"apiVersion": "2023-11-01",
"name": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"contentLink": {
"contentHash": {
"algorithm": "string",
"value": "string"
},
"uri": "string",
"version": "string"
}
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Automation/automationAccounts/python2Packages' |
apiVersion | The resource api version | '2023-11-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
tags | Gets or sets the tags attached to the resource. | Dictionary of tag names and values. See Tags in templates |
properties | Gets or sets the module create properties. | PythonPackageCreatePropertiesOrModuleProperties (required) |
Name | Description | Value |
---|---|---|
contentLink | Gets or sets the module content link. | ContentLink (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 |
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) |