ImageTemplateFileValidator interface
將驗證所需的檔案上傳至 VM(Linux、Windows)。 對應至 Packer 檔案布建工具
- Extends
屬性
destination | 檔案的絕對路徑(已建立巢狀目錄結構),其中檔案 (from sourceUri) 會在 VM 中上傳至 |
sha256Checksum | 上述 sourceUri 字段中提供的檔案 SHA256 總和檢查碼 |
source |
要上傳至 VM 以進行驗證之檔案的 URI。 它可以是 github 連結、Azure 記憶體 URI(已授權或 SAS),等等 |
type | 多型歧視性,指定這個物件可以是的不同類型 |
繼承的屬性
name | 易記名稱,提供此驗證步驟的內容 |
屬性詳細資料
destination
檔案的絕對路徑(已建立巢狀目錄結構),其中檔案 (from sourceUri) 會在 VM 中上傳至
destination?: string
屬性值
string
sha256Checksum
上述 sourceUri 字段中提供的檔案 SHA256 總和檢查碼
sha256Checksum?: string
屬性值
string
sourceUri
要上傳至 VM 以進行驗證之檔案的 URI。 它可以是 github 連結、Azure 記憶體 URI(已授權或 SAS),等等
sourceUri?: string
屬性值
string
type
多型歧視性,指定這個物件可以是的不同類型
type: "File"
屬性值
"File"