KubernetesComputeAttachConfiguration 类
表示用于附加 arc 计算目标的配置参数。
使用 KubernetesCompute 类的 attach_configuration 方法指定附加参数。
- 继承
-
KubernetesComputeAttachConfiguration
构造函数
KubernetesComputeAttachConfiguration(resource_id=None, namespace=None, identity_type=None, identity_ids=None)
参数
- resource_id
默认值: None
- namespace
默认值: None
- identity_type
默认值: None
- identity_ids
默认值: None
方法
| to_dict |
从 utils 返回 to_json_dict 函数。 |
| validate_configuration |
检查指定的配置值是否有效。 如果验证失败,则会引发 ComputeTargetException。 |
to_dict
从 utils 返回 to_json_dict 函数。
to_dict()
validate_configuration
反馈
提交和查看相关反馈