ServerlessEndpoint Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

Serverless Endpoint Definition.

Readonly variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

ivar name: The deployment name. Required.

vartype name: str

ivar auth_mode: Authentication mode of the endpoint.

vartype auth_mode: str

ivar model_id: The id of the model to deploy. Required.

vartype model_id: str

ivar location: Location in which to create endpoint.

vartype location: str

ivar provisioning_state: Provisioning state of the endpoint. Possible values are: "creating", "deleting", "succeeded", "failed", "updating", and "canceled".

vartype provisioning_state: str

ivar tags: Tags for the endpoint.

vartype tags: dict[str, str]

ivar properties: Properties of the endpoint.

vartype properties: dict[str, str]

ivar description: Descripton of the endpoint.

vartype description: str

ivar scoring_uri: Scoring uri of the endpoint.

vartype scoring_uri: str

ivar id: ARM resource id of the endpoint.

vartype id: str

ivar headers: Headers required to hit the endpoint.

vartype id: dict[str, str]

ivar system_data: System data of the endpoint.

vartype system_data: ~azure.ai.ml.entities.SystemData

Constructor

Python
ServerlessEndpoint(*args: Any, **kwargs: Any)

Methods

as_dict

Python
as_dict(*, exclude_readonly: bool = False) -> Dict[str, Any]

Keyword-Only Parameters

Name Description
exclude_readonly
Required

clear

Python
clear() -> None

copy

Python
copy() -> Model

get

Python
get(key: str, default: Any = None) -> Any

Parameters

Name Description
key
Required
default
Required
Default value: None

items

Python
items() -> ItemsView[str, Any]

keys

Python
keys() -> KeysView[str]

pop

Python
pop(key: str, default: ~typing.Any = <object object>) -> Any

Parameters

Name Description
key
Required
default
Required

popitem

Python
popitem() -> Tuple[str, Any]

setdefault

Python
setdefault(key: str, default: ~typing.Any = <object object>) -> Any

Parameters

Name Description
key
Required
default
Required

update

Python
update(*args: Any, **kwargs: Any) -> None

values

Python
values() -> ValuesView[Any]

Attributes

auth_mode

"key", "aad". Defaults to "key" if not given.

Python
auth_mode: str | None

description

Descripton of the endpoint.

Python
description: str | None

headers

Headers required to hit the endpoint.

Python
headers: Dict[str, str] | None

id

ARM resource id of the endpoint.

Python
id: str | None

location

Location in which to create endpoint.

Python
location: str | None

model_id

The id of the model to deploy. Required.

Python
model_id: str

name

The deployment name. Required.

Python
name: str

properties

Properties of the endpoint.

Python
properties: Dict[str, str] | None

provisioning_state

"creating", "deleting", "succeeded", "failed", "updating", and "canceled".

Python
provisioning_state: str | None

scoring_uri

Scoring uri of the endpoint.

Python
scoring_uri: str | None

system_data

System data of the endpoint.

Python
system_data: SystemData | None

tags

Tags for the endpoint.

Python
tags: Dict[str, str] | None