BatchEndpoint 類別

Batch 端點實體。

繼承
azure.ai.ml.entities._endpoint.endpoint.Endpoint
BatchEndpoint

建構函式

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)

參數

名稱 Description
name
必要
str

資源名稱。

tags
必要

標記字典。 標記可以新增、移除和更新。

properties
必要

資產屬性字典。

auth_mode
必要
str

可能的值包括:「AMLToken」、「Key」、「AADToken」,預設值為 None

description
必要
str

推斷端點的描述,預設為 None

location
必要
str

預設值為 None

defaults
必要

流量規則,說明流量在部署間路由傳送的方式,預設為 {}

default_deployment_name
必要
str

相當於defaults.default_deployment,如果存在預設值,將會忽略。

scoring_uri
必要
str

用來執行預測、唯讀的 URI。

openapi_uri
必要
str

用來檢查端點開啟 API 定義的 URI。

僅限關鍵字參數

名稱 Description
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]

參數

名稱 Description
dest
預設值: None

屬性

base_path

資源的基底路徑。

傳回

類型 Description
str

資源的基底路徑。

creation_context

資源的建立內容。

傳回

類型 Description

資源的建立中繼資料。

id

資源識別碼。

傳回

類型 Description

資源的全域識別碼,Azure Resource Manager (ARM) 識別碼。

openapi_uri

用來檢查端點開啟 API 定義的 URI。

傳回

類型 Description

開啟的 API URI

provisioning_state

端點布建狀態,唯讀。

傳回

類型 Description

端點布建狀態。

scoring_uri

用來執行預測、唯讀的 URI。

傳回

類型 Description

評分 URI