Bicep 资源定义
可以使用目标操作部署 automationAccounts/python2Packages 资源类型:
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
用法示例
Azure 验证模块
以下 Azure 验证模块 可用于部署此资源类型。
若要创建 Microsoft.Automation/automationAccounts/python2Packages 资源,请将以下 Bicep 添加到模板。
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'
}
}
属性值
Microsoft.Automation/automationAccounts/python2Packages
内容哈希
| 名字 |
描述 |
价值 |
| 算法 |
获取或设置用于对内容进行哈希处理的内容哈希算法。 |
string (必需) |
| 价值 |
获取或设置内容的预期哈希值。 |
string (必需) |
内容链接
| 名字 |
描述 |
价值 |
| 内容哈希 |
获取或设置哈希。 |
内容哈希 |
| URI |
获取或设置内容的 URI。 |
字符串 |
| 版本 |
获取或设置内容的版本。 |
字符串 |
PythonPackageCreatePropertiesOrModuleProperties
ARM 模板资源定义
可以使用目标操作部署 automationAccounts/python2Packages 资源类型:
用法示例
若要创建 Microsoft.Automation/automationAccounts/python2Packages 资源,请将以下 JSON 添加到模板。
{
"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"
}
}
属性值
Microsoft.Automation/automationAccounts/python2Packages
内容哈希
| 名字 |
描述 |
价值 |
| 算法 |
获取或设置用于对内容进行哈希处理的内容哈希算法。 |
string (必需) |
| 价值 |
获取或设置内容的预期哈希值。 |
string (必需) |
内容链接
| 名字 |
描述 |
价值 |
| 内容哈希 |
获取或设置哈希。 |
内容哈希 |
| URI |
获取或设置内容的 URI。 |
字符串 |
| 版本 |
获取或设置内容的版本。 |
字符串 |
PythonPackageCreatePropertiesOrModuleProperties
可以使用目标操作部署 automationAccounts/python2Packages 资源类型:
-
资源组 关于每个API版本中变更属性的列表,请参见 更改日志。
若要创建 Microsoft.Automation/automationAccounts/python2Packages 资源,请将以下 Terraform 添加到模板。
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"
}
}
}
}
属性值
Microsoft.Automation/automationAccounts/python2Packages
内容哈希
| 名字 |
描述 |
价值 |
| 算法 |
获取或设置用于对内容进行哈希处理的内容哈希算法。 |
string (必需) |
| 价值 |
获取或设置内容的预期哈希值。 |
string (必需) |
内容链接
| 名字 |
描述 |
价值 |
| 内容哈希 |
获取或设置哈希。 |
内容哈希 |
| URI |
获取或设置内容的 URI。 |
字符串 |
| 版本 |
获取或设置内容的版本。 |
字符串 |
PythonPackageCreatePropertiesOrModuleProperties