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
|
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Python