SparkBatch class

SparkBatch を表すクラス。

コンストラクター

SparkBatch(SynapseClientContext)

SparkBatch を作成します。

メソッド

create(string, string, ExtendedLivyBatchRequest, ServiceCallback<ExtendedLivyBatchResponse>)
create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams)

新しい Spark バッチ ジョブを作成します。

create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)
deleteMethod(string, string, number, RequestOptionsBase)

実行中の Spark バッチ ジョブを取り消します。

deleteMethod(string, string, number, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, number, ServiceCallback<void>)
get(string, string, number, ServiceCallback<ExtendedLivyBatchResponse>)
get(string, string, number, SparkBatchGetOptionalParams)

1 つの Spark バッチ ジョブを取得します。

get(string, string, number, SparkBatchGetOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)
list(string, string, ServiceCallback<ExtendedLivyListBatchResponse>)
list(string, string, SparkBatchListOptionalParams)

特定の Spark プールで実行されているすべての Spark バッチ ジョブを一覧表示します。

list(string, string, SparkBatchListOptionalParams, ServiceCallback<ExtendedLivyListBatchResponse>)

コンストラクターの詳細

SparkBatch(SynapseClientContext)

SparkBatch を作成します。

new SparkBatch(client: SynapseClientContext)

パラメーター

client
SynapseClientContext

サービス クライアントへの参照。

メソッドの詳細

create(string, string, ExtendedLivyBatchRequest, ServiceCallback<ExtendedLivyBatchResponse>)

function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, callback: ServiceCallback<ExtendedLivyBatchResponse>)

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

livyRequest
ExtendedLivyBatchRequest

Livy 互換のバッチ ジョブ要求ペイロード。

callback

ServiceCallback<ExtendedLivyBatchResponse>

コールバック

create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams)

新しい Spark バッチ ジョブを作成します。

function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, options?: SparkBatchCreateOptionalParams): Promise<SparkBatchCreateResponse>

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

livyRequest
ExtendedLivyBatchRequest

Livy 互換のバッチ ジョブ要求ペイロード。

options
SparkBatchCreateOptionalParams

省略可能なパラメーター

戻り値

Promise<Models.SparkBatchCreateResponseです>

create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)

function create(workspaceName: string, sparkPoolName: string, livyRequest: ExtendedLivyBatchRequest, options: SparkBatchCreateOptionalParams, callback: ServiceCallback<ExtendedLivyBatchResponse>)

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

livyRequest
ExtendedLivyBatchRequest

Livy 互換のバッチ ジョブ要求ペイロード。

options
SparkBatchCreateOptionalParams

省略可能なパラメーター

callback

ServiceCallback<ExtendedLivyBatchResponse>

コールバック

deleteMethod(string, string, number, RequestOptionsBase)

実行中の Spark バッチ ジョブを取り消します。

function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, options?: RequestOptionsBase): Promise<RestResponse>

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

batchId

number

バッチ ジョブの識別子。

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<RestResponse>

Promise<msRest.RestResponse応答>

deleteMethod(string, string, number, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, options: RequestOptionsBase, callback: ServiceCallback<void>)

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

batchId

number

バッチ ジョブの識別子。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<void>

コールバック

deleteMethod(string, string, number, ServiceCallback<void>)

function deleteMethod(workspaceName: string, sparkPoolName: string, batchId: number, callback: ServiceCallback<void>)

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

batchId

number

バッチ ジョブの識別子。

callback

ServiceCallback<void>

コールバック

get(string, string, number, ServiceCallback<ExtendedLivyBatchResponse>)

function get(workspaceName: string, sparkPoolName: string, batchId: number, callback: ServiceCallback<ExtendedLivyBatchResponse>)

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

batchId

number

バッチ ジョブの識別子。

callback

ServiceCallback<ExtendedLivyBatchResponse>

コールバック

get(string, string, number, SparkBatchGetOptionalParams)

1 つの Spark バッチ ジョブを取得します。

function get(workspaceName: string, sparkPoolName: string, batchId: number, options?: SparkBatchGetOptionalParams): Promise<SparkBatchGetResponse>

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

batchId

number

バッチ ジョブの識別子。

options
SparkBatchGetOptionalParams

省略可能なパラメーター

戻り値

Promise<Models.SparkBatchGetResponse>

get(string, string, number, SparkBatchGetOptionalParams, ServiceCallback<ExtendedLivyBatchResponse>)

function get(workspaceName: string, sparkPoolName: string, batchId: number, options: SparkBatchGetOptionalParams, callback: ServiceCallback<ExtendedLivyBatchResponse>)

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

batchId

number

バッチ ジョブの識別子。

options
SparkBatchGetOptionalParams

省略可能なパラメーター

callback

ServiceCallback<ExtendedLivyBatchResponse>

コールバック

list(string, string, ServiceCallback<ExtendedLivyListBatchResponse>)

function list(workspaceName: string, sparkPoolName: string, callback: ServiceCallback<ExtendedLivyListBatchResponse>)

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

callback

ServiceCallback<ExtendedLivyListBatchResponse>

コールバック

list(string, string, SparkBatchListOptionalParams)

特定の Spark プールで実行されているすべての Spark バッチ ジョブを一覧表示します。

function list(workspaceName: string, sparkPoolName: string, options?: SparkBatchListOptionalParams): Promise<SparkBatchListResponse>

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

options
SparkBatchListOptionalParams

省略可能なパラメーター

戻り値

Promise<Models.SparkBatchListResponse>

list(string, string, SparkBatchListOptionalParams, ServiceCallback<ExtendedLivyListBatchResponse>)

function list(workspaceName: string, sparkPoolName: string, options: SparkBatchListOptionalParams, callback: ServiceCallback<ExtendedLivyListBatchResponse>)

パラメーター

workspaceName

string

操作を実行するワークスペースの名前。

sparkPoolName

string

Spark プールの名前。 "ondemand" は ondemand プールを対象とします。

options
SparkBatchListOptionalParams

省略可能なパラメーター

callback

ServiceCallback<ExtendedLivyListBatchResponse>

コールバック