共用方式為


ImageTemplateFileCustomizer interface

將檔案上傳至 VM(Linux、Windows)。 對應至 Packer 檔案布建工具

Extends

屬性

destination

檔案的絕對路徑(已建立巢狀目錄結構),其中檔案 (from sourceUri) 會在 VM 中上傳至

sha256Checksum

上述 sourceUri 字段中提供的檔案 SHA256 總和檢查碼

sourceUri

要上傳以自定義 VM 之檔案的 URI。 它可以是 Github 連結、Azure 記憶體的 SAS URI 等等

type

多型歧視性,指定這個物件可以是的不同類型

繼承的屬性

name

易記名稱,提供此自定義步驟的內容

屬性詳細資料

destination

檔案的絕對路徑(已建立巢狀目錄結構),其中檔案 (from sourceUri) 會在 VM 中上傳至

destination?: string

屬性值

string

sha256Checksum

上述 sourceUri 字段中提供的檔案 SHA256 總和檢查碼

sha256Checksum?: string

屬性值

string

sourceUri

要上傳以自定義 VM 之檔案的 URI。 它可以是 Github 連結、Azure 記憶體的 SAS URI 等等

sourceUri?: string

屬性值

string

type

多型歧視性,指定這個物件可以是的不同類型

type: "File"

屬性值

"File"

繼承的屬性詳細資料

name

易記名稱,提供此自定義步驟的內容

name?: string

屬性值

string

繼承自ImageTemplateCustomizer.name