다음을 통해 공유


SynapseClient class

Extends

생성자

SynapseClient(ServiceClientCredentials, SynapseClientOptions)

SynapseClient 클래스의 새 인스턴스를 초기화합니다.

속성

monitoring
sparkBatch
sparkSession
workspaceAcl

상속된 속성

acceptLanguage
apiVersion
credentials
livyApiVersion
longRunningOperationRetryTimeout

장기 실행 작업의 재시도 시간 제한(초)입니다. 기본값은 30입니다.

synapseDnsSuffix

상속된 메서드

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

LRO의 초기 요청(장기 실행 작업)을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 HttpLongRunningOperationResponse를 다시 가져옵니다.

restoreLROPoller(LROPollState)

제공된 LROPollState에서 LROPoller를 복원합니다. 이 메서드는 다른 프로세스 또는 컴퓨터에서 LROPoller를 다시 만드는 데 사용할 수 있습니다.

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

폴링하고 최종 결과를 제공하는 요청을 만드는 메커니즘을 제공합니다.

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 LROPoller를 다시 가져옵니다.

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

생성자 세부 정보

SynapseClient(ServiceClientCredentials, SynapseClientOptions)

SynapseClient 클래스의 새 인스턴스를 초기화합니다.

new SynapseClient(credentials: ServiceClientCredentials, options?: SynapseClientOptions)

매개 변수

credentials
ServiceClientCredentials

클라이언트가 Azure에 연결하는 데 필요한 자격 증명입니다.

options
SynapseClientOptions

매개 변수 옵션

속성 세부 정보

monitoring

monitoring: Monitoring

속성 값

sparkBatch

sparkBatch: SparkBatch

속성 값

sparkSession

sparkSession: SparkSession

속성 값

workspaceAcl

workspaceAcl: WorkspaceAcl

속성 값

상속된 속성 세부 정보

acceptLanguage

acceptLanguage: string

속성 값

string

SynapseClientContext.acceptLanguage 상속된

apiVersion

apiVersion?: string

속성 값

string

SynapseClientContext.apiVersion 상속된

credentials

credentials: ServiceClientCredentials

속성 값

SynapseClientContext.credentials 상속된

livyApiVersion

livyApiVersion?: string

속성 값

string

SynapseClientContext.livyApiVersion 상속된

longRunningOperationRetryTimeout

장기 실행 작업의 재시도 시간 제한(초)입니다. 기본값은 30입니다.

longRunningOperationRetryTimeout?: number

속성 값

number

SynapseClientContext.longRunningOperationRetryTimeout 상속된

synapseDnsSuffix

synapseDnsSuffix?: string

속성 값

string

SynapseClientContext.synapseDnsSuffix 상속된

상속된 메서드 세부 정보

beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

LRO의 초기 요청(장기 실행 작업)을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 HttpLongRunningOperationResponse를 다시 가져옵니다.

function beginLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase): Promise<LROPoller>

매개 변수

request

RequestPrepareOptions | WebResource

요청 개체

options
RequestOptionsBase

요청을 수행하는 동안 전송할 추가 옵션

반환

Promise<@azure/ms-rest-azure-js.LROPoller>

LRO와 상호 작용하기 위한 메서드를 제공하는 HttpLongRunningOperationResponse입니다.

SynapseClientContext.beginLongRunningRequest 상속된

restoreLROPoller(LROPollState)

제공된 LROPollState에서 LROPoller를 복원합니다. 이 메서드는 다른 프로세스 또는 컴퓨터에서 LROPoller를 다시 만드는 데 사용할 수 있습니다.

function restoreLROPoller(lroPollState: LROPollState): LROPoller

매개 변수

lroPollState
@azure/ms-rest-azure-js.LROPollState

반환

@azure/ms-rest-azure-js.LROPoller

SynapseClientContext.restoreLROPoller 상속된

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

폴링하고 최종 결과를 제공하는 요청을 만드는 메커니즘을 제공합니다.

function sendLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase): Promise<HttpOperationResponse>

매개 변수

request

RequestPrepareOptions | WebResource

요청 개체

options
RequestOptionsBase

요청을 수행하는 동안 전송할 추가 옵션

반환

최종 폴링 요청, 응답 및 responseBody를 포함하는 HttpOperationResponse입니다.

SynapseClientContext.sendLongRunningRequest 상속된

sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)

LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 LROPoller를 다시 가져옵니다.

function sendLRORequest(operationArguments: OperationArguments, operationSpec: OperationSpec, options?: RequestOptionsBase): Promise<LROPoller>

매개 변수

operationArguments
OperationArguments

작업에 대한 인수입니다.

operationSpec
OperationSpec

작업에 대한 사양입니다.

options
RequestOptionsBase

요청을 수행하는 동안 전송할 추가 옵션입니다.

반환

Promise<@azure/ms-rest-azure-js.LROPoller>

LRO와 상호 작용하는 메서드를 제공하는 LROPoller 개체입니다.

SynapseClientContext.sendLRORequest 상속된

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

매개 변수

operationArguments
OperationArguments

HTTP 요청의 템플릿 값이 채워지는 인수입니다.

operationSpec
OperationSpec

httpRequest를 채우는 데 사용할 OperationSpec입니다.

callback

ServiceCallback<any>

응답을 받을 때 호출할 콜백입니다.

반환

Promise<RestResponse>

SynapseClientContext.sendOperationRequest 상속된

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

매개 변수

반환

SynapseClientContext.sendRequest 상속된