JobService Class
Basic job service configuration for backward compatibility.
This class is not intended to be used directly. Instead, use one of its subclasses specific to your job type.
- Inheritance
-
azure.ai.ml.entities._job.job_service.JobServiceBaseJobService
Constructor
JobService(*, endpoint: str | None = None, type: Literal['jupyter_lab', 'ssh', 'tensor_board', 'vs_code'] | None = None, nodes: Literal['all'] | None = None, status: str | None = None, port: int | None = None, properties: Dict[str, str] | None = None, **kwargs: Dict)
Keyword-Only Parameters
Name | Description |
---|---|
endpoint
|
The endpoint URL. |
type
|
The endpoint type. Accepted values are "jupyter_lab", "ssh", "tensor_board", and "vs_code". |
port
|
The port for the endpoint. |
nodes
|
Indicates whether the service has to run in all nodes. |
properties
|
Additional properties to set on the endpoint. |
status
|
The status of the endpoint. |
kwargs
|
A dictionary of additional configuration parameters. |
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python