BatchEndpoint Class

Batch endpoint entity.

Constructor

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)

Keyword-Only Parameters

Name Description
name
str

Name of the resource.

Default value: None
tags

Tag dictionary. Tags can be added, removed, and updated.

Default value: None
properties

The asset property dictionary.

Default value: None
auth_mode
str

Possible values include: "AMLToken", "Key", "AADToken", defaults to None

Default value: aad_token
description
str

Description of the inference endpoint, defaults to None

Default value: None
location
str

defaults to None

Default value: None
defaults

Traffic rules on how the traffic will be routed across deployments, defaults to {}

Default value: None
default_deployment_name
str

Equivalent to defaults.default_deployment, will be ignored if defaults is present.

Default value: None
scoring_uri
str

URI to use to perform a prediction, readonly.

Default value: None
openapi_uri
str

URI to check the open API definition of the endpoint.

Default value: None

Methods

dump

dump

dump(dest: str | PathLike | IO | None = None, **kwargs: Any) -> Dict[str, Any]

Parameters

Name Description
dest
Default value: None

Attributes

base_path

The base path of the resource.

Returns

Type Description
str

The base path of the resource.

creation_context

The creation context of the resource.

Returns

Type Description

The creation metadata for the resource.

id

The resource ID.

Returns

Type Description

The global ID of the resource, an Azure Resource Manager (ARM) ID.

openapi_uri

URI to check the open api definition of the endpoint.

Returns

Type Description

The open API URI

provisioning_state

Endpoint provisioning state, readonly.

Returns

Type Description

Endpoint provisioning state.

scoring_uri

URI to use to perform a prediction, readonly.

Returns

Type Description

The scoring URI