KubernetesOnlineEndpoint Class

K8s Online endpoint entity.

K8s Online endpoint entity.

Constructor for K8s Online endpoint entity.

Inheritance
azure.ai.ml.entities._endpoint.online_endpoint.OnlineEndpoint
KubernetesOnlineEndpoint

Constructor

KubernetesOnlineEndpoint(*, name: str | None = None, tags: Dict[str, Any] | None = None, properties: Dict[str, Any] | None = None, auth_mode: str = 'key', description: str | None = None, location: str | None = None, traffic: Dict[str, int] | None = None, mirror_traffic: Dict[str, int] | None = None, compute: str | None = None, identity: IdentityConfiguration | None = None, kind: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name

Name of the resource, defaults to None

tags

Tag dictionary. Tags can be added, removed, and updated, defaults to None

properties

The asset property dictionary, defaults to None

auth_mode

Possible values include: "aml_token", "key", defaults to KEY

Default value: key
description

Description of the inference endpoint, defaults to None

location

Location of the resource, defaults to None

traffic

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

mirror_traffic

Duplicated live traffic used to inference a single deployment, defaults to None

compute

Compute cluster id, defaults to None

identity

Identity Configuration, defaults to SystemAssigned

kind

Kind of the resource, we have two kinds: K8s and Managed online endpoints, defaults to None

name

Name of the resource, defaults to None

tags

Tag dictionary. Tags can be added, removed, and updated, defaults to None

properties

The asset property dictionary, defaults to None

auth_mode

Possible values include: "aml_token", "key", defaults to KEY

description

Description of the inference endpoint, defaults to None

location

Location of the resource, defaults to None

traffic

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

mirror_traffic

Duplicated live traffic used to inference a single deployment, defaults to None

compute

Compute cluster id, defaults to None

identity

Identity Configuration, defaults to SystemAssigned

kind

Kind of the resource, we have two kinds: K8s and Managed online endpoints, defaults to 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