BatchAttachConfiguration 类

表示用于附加 BatchCompute 目标的配置参数。

使用 BatchCompute 类的 attach_configuration 方法指定附加参数。

继承
BatchAttachConfiguration

构造函数

BatchAttachConfiguration(resource_group=None, account_name=None, resource_id=None)

参数

resource_group
str
默认值: None

Batch 帐户所在的资源组的名称。

account_name
str
默认值: None

Batch 帐户名称。

resource_id
str
默认值: None

要附加的计算资源的 Azure 资源 ID。

方法

validate_configuration

检查指定的配置值是否有效。

如果验证失败,则会引发 ComputeTargetException

validate_configuration

检查指定的配置值是否有效。

如果验证失败,则会引发 ComputeTargetException

validate_configuration()

例外