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.JobServiceBase
JobService

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
Optional[Literal["jupyter_lab", "ssh", "tensor_board", "vs_code"]]

The endpoint type. Accepted values are "jupyter_lab", "ssh", "tensor_board", and "vs_code".

port

The port for the endpoint.

nodes
Optional[Literal["all"]]

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