你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchEndpoint 类
Batch 终结点实体。
- 继承
-
azure.ai.ml.entities._endpoint.endpoint.EndpointBatchEndpoint
构造函数
BatchEndpoint(*, name: str | None = None, tags: Dict | None = None, properties: Dict | None = None, auth_mode: str = 'aad_token', description: str | None = None, location: str | None = None, defaults: Dict[str, str] | None = None, default_deployment_name: str | None = None, scoring_uri: str | None = None, openapi_uri: str | None = None, **kwargs: Any)
参数
名称 | 说明 |
---|---|
name
必需
|
资源的名称。 |
tags
必需
|
标记字典。 可以添加、删除和更新标记。 |
properties
必需
|
资产属性字典。 |
auth_mode
必需
|
可能的值包括:“AMLToken”、“Key”、“AADToken”,默认值为 None |
description
必需
|
推理终结点的说明,默认为 None |
location
必需
|
默认值为 None |
defaults
必需
|
有关如何在部署之间路由流量的流量规则,默认为 {} |
default_deployment_name
必需
|
等效于 defaults.default_deployment,如果存在默认值,则将忽略 。 |
scoring_uri
必需
|
用于执行预测的 URI,只读。 |
openapi_uri
必需
|
用于检查终结点的开放 API 定义的 URI。 |
仅限关键字的参数
名称 | 说明 |
---|---|
name
必需
|
|
tags
必需
|
|
properties
必需
|
|
auth_mode
|
默认值: aad_token
|
description
必需
|
|
location
必需
|
|
defaults
必需
|
|
default_deployment_name
必需
|
|
scoring_uri
必需
|
|
openapi_uri
必需
|
|
方法
dump |
dump
dump(dest: str | PathLike | IO | None = None, **kwargs: Any) -> Dict[str, Any]
参数
名称 | 说明 |
---|---|
dest
|
默认值: None
|
属性
base_path
creation_context
id
openapi_uri
provisioning_state
scoring_uri
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈