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
內容哈希
| 名字 |
描述 |
價值 |
| 演算法 |
取得或設定用來哈希內容的內容哈希演算法。 |
字串 (必要) |
| 價值 |
取得或設定內容的預期哈希值。 |
字串 (必要) |
內容連結
| 名字 |
描述 |
價值 |
| 內容哈希 |
取得或設定哈希。 |
內容哈希 |
| 統一資源識別碼 (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
內容哈希
| 名字 |
描述 |
價值 |
| 演算法 |
取得或設定用來哈希內容的內容哈希演算法。 |
字串 (必要) |
| 價值 |
取得或設定內容的預期哈希值。 |
字串 (必要) |
內容連結
| 名字 |
描述 |
價值 |
| 內容哈希 |
取得或設定哈希。 |
內容哈希 |
| 統一資源識別碼 (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
內容哈希
| 名字 |
描述 |
價值 |
| 演算法 |
取得或設定用來哈希內容的內容哈希演算法。 |
字串 (必要) |
| 價值 |
取得或設定內容的預期哈希值。 |
字串 (必要) |
內容連結
| 名字 |
描述 |
價值 |
| 內容哈希 |
取得或設定哈希。 |
內容哈希 |
| 統一資源識別碼 (URI) |
取得或設定內容的 URI。 |
字串 |
| 版本 |
取得或設定內容的版本。 |
字串 |
PythonPackageCreatePropertiesOrModuleProperties