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
Required
|
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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python