다음을 통해 공유


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)

단일 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"는 온디맨드 풀을 대상으로 합니다.

livyRequest
ExtendedLivyBatchRequest

Livy 호환 일괄 처리 작업 요청 페이로드.

create(string, string, ExtendedLivyBatchRequest, SparkBatchCreateOptionalParams)

새 Spark 일괄 처리 작업을 만듭니다.

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

매개 변수

workspaceName

string

작업을 실행할 작업 영역의 이름입니다.

sparkPoolName

string

Spark 풀의 이름입니다. "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"는 온디맨드 풀을 대상으로 합니다.

livyRequest
ExtendedLivyBatchRequest

Livy 호환 일괄 처리 작업 요청 페이로드.

options
SparkBatchCreateOptionalParams

선택적 매개 변수

deleteMethod(string, string, number, RequestOptionsBase)

실행 중인 Spark 일괄 처리 작업을 취소합니다.

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

매개 변수

workspaceName

string

작업을 실행할 작업 영역의 이름입니다.

sparkPoolName

string

Spark 풀의 이름입니다. "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"는 온디맨드 풀을 대상으로 합니다.

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"는 온디맨드 풀을 대상으로 합니다.

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"는 온디맨드 풀을 대상으로 합니다.

batchId

number

일괄 처리 작업의 식별자입니다.

get(string, string, number, SparkBatchGetOptionalParams)

단일 Spark 일괄 처리 작업을 가져옵니다.

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

매개 변수

workspaceName

string

작업을 실행할 작업 영역의 이름입니다.

sparkPoolName

string

Spark 풀의 이름입니다. "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"는 온디맨드 풀을 대상으로 합니다.

batchId

number

일괄 처리 작업의 식별자입니다.

options
SparkBatchGetOptionalParams

선택적 매개 변수

list(string, string, ServiceCallback<ExtendedLivyListBatchResponse>)

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

매개 변수

workspaceName

string

작업을 실행할 작업 영역의 이름입니다.

sparkPoolName

string

Spark 풀의 이름입니다. "ondemand"는 온디맨드 풀을 대상으로 합니다.

list(string, string, SparkBatchListOptionalParams)

특정 Spark 풀에서 실행되는 모든 Spark 일괄 처리 작업을 나열합니다.

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

매개 변수

workspaceName

string

작업을 실행할 작업 영역의 이름입니다.

sparkPoolName

string

Spark 풀의 이름입니다. "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"는 온디맨드 풀을 대상으로 합니다.

options
SparkBatchListOptionalParams

선택적 매개 변수