共用方式為


ImageTemplatePropertiesErrorHandling interface

建置失敗時的錯誤處理選項

屬性

onCustomizerError

如果自訂工具發生錯誤,且此欄位設定為 「清除」,則會清除組建 VM 和相關聯的網路資源。 這是預設行為。 如果自訂工具錯誤且此欄位設定為 「中止」,則會保留組建 VM。

onValidationError

如果發生驗證錯誤,且此欄位設定為 「清除」,則會清除組建 VM 和相關聯的網路資源。 這是預設行為。 如果發生驗證錯誤,且此欄位設定為 'abort',則會保留組建 VM。

屬性詳細資料

onCustomizerError

如果自訂工具發生錯誤,且此欄位設定為 「清除」,則會清除組建 VM 和相關聯的網路資源。 這是預設行為。 如果自訂工具錯誤且此欄位設定為 「中止」,則會保留組建 VM。

onCustomizerError?: string

屬性值

string

onValidationError

如果發生驗證錯誤,且此欄位設定為 「清除」,則會清除組建 VM 和相關聯的網路資源。 這是預設行為。 如果發生驗證錯誤,且此欄位設定為 'abort',則會保留組建 VM。

onValidationError?: string

屬性值

string