ComputeTargetUpdateConfiguration 類別

所有 ComputeTarget 更新組態物件的抽象父類別。

這個類別會定義更新計算物件的組態參數。 更新組態會因數計算物件而異。 使用 update 支援更新之子計算物件的 方法來指定更新組態。

初始化 UpdateConfiguration 物件。

繼承
ComputeTargetUpdateConfiguration

建構函式

ComputeTargetUpdateConfiguration(type)

參數

compute
ComputeTarget
必要

應該更新的 ComputeTarget 類型。

type

方法

validate_configuration

檢查指定的組態值是否有效。

如果驗證失敗,則引發 ComputeTargetException

validate_configuration

檢查指定的組態值是否有效。

如果驗證失敗,則引發 ComputeTargetException

abstract validate_configuration()

例外狀況