ServiceInstance Class

Service Instance Result.

Inheritance
azure.ai.ml.entities._mixins.RestTranslatableMixin
ServiceInstance
azure.ai.ml.entities._mixins.DictMixin
ServiceInstance

Constructor

ServiceInstance(*, type: str | None = None, port: int | None = None, status: str | None = None, error: str | None = None, endpoint: str | None = None, properties: Dict[str, str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type

The type of service.

port

The port used by the service.

status

The status of the service.

error

The error message.

endpoint

The service endpoint.

properties

The service instance's properties.

Methods

get
has_key
items
keys
update
values

get

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

Parameters

Name Description
key
Required
default
Default value: None

has_key

has_key(k: Any) -> bool

Parameters

Name Description
k
Required

items

items() -> list

keys

keys() -> list

update

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

values

values() -> list