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.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.
Azure SDK for Python