The automationAccounts/powerShell72Modules 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/powerShell72Modules resource, add the following JSON to your template.
{
"type": "Microsoft.Automation/automationAccounts/powerShell72Modules",
"apiVersion": "2023-11-01",
"name": "string",
"location": "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/powerShell72Modules' |
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) |
location | Sets the location of the resource. | string |
tags | Sets the tags attached to the resource. | Dictionary of tag names and values. See Tags in templates |
properties | Sets the module create properties. | ModuleCreateOrUpdatePropertiesOrModuleProperties (required) |
Name | Description | Value |
---|---|---|
contentLink | Sets the hash. | 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) |