ServiceInstance クラス

サービス インスタンスの結果。

継承
azure.ai.ml.entities._mixins.RestTranslatableMixin
ServiceInstance
azure.ai.ml.entities._mixins.DictMixin
ServiceInstance

コンストラクター

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 パラメータ

名前 説明
type

サービスの種類。

port

サービスによって使用されるポート。

status

サービスの状態。

error

エラー メッセージ。

endpoint

サービス エンドポイント。

properties

サービス インスタンスのプロパティ。

メソッド

get
has_key
items
keys
update
values

get

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

パラメーター

名前 説明
key
必須
default
既定値: None

has_key

has_key(k: Any) -> bool

パラメーター

名前 説明
k
必須

items

items() -> list

keys

keys() -> list

update

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

values

values() -> list