Microsoft。自動化自動化帳戶/python2套件

Bicep 資源定義

automationAccounts/python2Packages 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。

使用範例

Azure 已驗證的模組

下列 Azure 驗證模組 可用來部署此資源類型。

Module 描述
自動化帳號 - Python2 套件 AVM 自動化帳戶子模組 - Python2 套件

資源格式

若要建立 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

名字 描述 價值
名字 資源名稱 字串 (必要)
父代 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源。
類型資源的符號名稱:automationAccounts
性能 取得或設定模組建立屬性。 PythonPackageCreatePropertiesOrModuleProperties (必要)
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

內容哈希

名字 描述 價值
演算法 取得或設定用來哈希內容的內容哈希演算法。 字串 (必要)
價值 取得或設定內容的預期哈希值。 字串 (必要)
名字 描述 價值
內容哈希 取得或設定哈希。 內容哈希
統一資源識別碼 (URI) 取得或設定內容的 URI。 字串
版本 取得或設定內容的版本。 字串

PythonPackageCreateParameters標籤

名字 描述 價值

PythonPackageCreatePropertiesOrModuleProperties

名字 描述 價值
內容連結 取得或設定模組內容連結。 ContentLink (必要)

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

名字 描述 價值
apiVersion API 版本 '2024-10-23'
名字 資源名稱 字串 (必要)
性能 取得或設定模組建立屬性。 PythonPackageCreatePropertiesOrModuleProperties (必要)
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 “Microsoft.Automation/automationAccounts/python2Packages”

內容哈希

名字 描述 價值
演算法 取得或設定用來哈希內容的內容哈希演算法。 字串 (必要)
價值 取得或設定內容的預期哈希值。 字串 (必要)
名字 描述 價值
內容哈希 取得或設定哈希。 內容哈希
統一資源識別碼 (URI) 取得或設定內容的 URI。 字串
版本 取得或設定內容的版本。 字串

PythonPackageCreateParameters標籤

名字 描述 價值

PythonPackageCreatePropertiesOrModuleProperties

名字 描述 價值
內容連結 取得或設定模組內容連結。 ContentLink (必要)

Terraform (AzAPI 提供者) 資源定義

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

名字 描述 價值
名字 資源名稱 字串 (必要)
父項識別碼 此資源為父系之資源的標識碼。 類型資源的標識碼:automationAccounts
性能 取得或設定模組建立屬性。 PythonPackageCreatePropertiesOrModuleProperties (必要)
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 “Microsoft.Automation/automationAccounts/python2Packages@2024-10-23”

內容哈希

名字 描述 價值
演算法 取得或設定用來哈希內容的內容哈希演算法。 字串 (必要)
價值 取得或設定內容的預期哈希值。 字串 (必要)
名字 描述 價值
內容哈希 取得或設定哈希。 內容哈希
統一資源識別碼 (URI) 取得或設定內容的 URI。 字串
版本 取得或設定內容的版本。 字串

PythonPackageCreateParameters標籤

名字 描述 價值

PythonPackageCreatePropertiesOrModuleProperties

名字 描述 價值
內容連結 取得或設定模組內容連結。 ContentLink (必要)