teraslice-client-js / job / default
Class: default
Extends
Constructors
new default()
new default(
config
,jobId
):default
Parameters
Parameter | Type |
---|---|
config | ClientConfig |
jobId | string |
Returns
Overrides
Source
Properties
_config
protected
readonly
_config:ClientConfig
Inherited from
Source
Methods
changeWorkers()
changeWorkers(
action
,workerNum
,requestOptions
):Promise
<string
|ChangeWorkerResponse
>
Parameters
Parameter | Type |
---|---|
action | ChangeWorkerQueryParams |
workerNum | number |
requestOptions | Partial <default > |
Returns
Promise
<string
| ChangeWorkerResponse
>
Source
config()
config(
requestOptions
):Promise
<JobConfig
>
Parameters
Parameter | Type |
---|---|
requestOptions | Partial <default > |
Returns
Promise
<JobConfig
>
Source
controller()
controller(
requestOptions
):Promise
<ExecutionList
>
Parameters
Parameter | Type |
---|---|
requestOptions | Partial <default > |
Returns
Promise
<ExecutionList
>
Source
delete()
delete<
T
>(endpoint
,options
?):Promise
<T
>
Type parameters
Type parameter | Value |
---|---|
T | any |
Parameters
Parameter | Type |
---|---|
endpoint | string |
options ? | Partial <default > |
Returns
Promise
<T
>