ComputeTargetAttachConfiguration 類別

所有 ComputeTarget 附加組態物件的抽象父類別。

這個類別會定義附加計算物件的組態參數。 附加組態會因數計算物件而異。 使用 attach_configuration 子計算物件的 方法來指定附加組態。

初始化 AttachConfiguration 物件。

繼承
ComputeTargetAttachConfiguration

建構函式

ComputeTargetAttachConfiguration(type)

參數

type
ComputeTarget
必要

與這個物件相關聯的 ComputeTarget 類型。

type
ComputeTarget
必要

與這個物件相關聯的 ComputeTarget 類型。

方法

validate_configuration

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

如果驗證失敗,則引發 ComputeTargetException

validate_configuration

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

如果驗證失敗,則引發 ComputeTargetException

abstract validate_configuration()

例外狀況