ServiceInstance Class
Service Instance Result.
- Inheritance
-
azure.ai.ml.entities._mixins.RestTranslatableMixinServiceInstanceazure.ai.ml.entities._mixins.DictMixinServiceInstance
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python