AzureDeploymentManagerContext class

Extends
@azure/ms-rest-azure-js.AzureServiceClient

생성자

AzureDeploymentManagerContext(ServiceClientCredentials | TokenCredential, string, AzureDeploymentManagerOptions)

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

속성

apiVersion
credentials
subscriptionId

상속된 속성

acceptLanguage
longRunningOperationRetryTimeout

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

상속된 메서드

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를 보냅니다.

생성자 세부 정보

AzureDeploymentManagerContext(ServiceClientCredentials | TokenCredential, string, AzureDeploymentManagerOptions)

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

new AzureDeploymentManagerContext(credentials: ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: AzureDeploymentManagerOptions)

매개 변수

credentials

ServiceClientCredentials | TokenCredential

클라이언트가 Azure에 연결하는 데 필요한 자격 증명입니다. 패키지에서 TokenCredential 인터페이스를 구현하는 자격 증명을 @azure/identity 사용하는 것이 좋습니다. 이러한 자격 증명에 대한 자세한 내용은 을 참조하세요 https://www.npmjs.com/package/@azure/identity. 이전 패키지 @azure/ms-rest-nodeauth 에서 ServiceClientCredentials 인터페이스를 구현하는 자격 증명도 @azure/ms-rest-browserauth 지원됩니다.

subscriptionId

string

Microsoft Azure 구독을 고유하게 식별하는 구독 자격 증명 구독 ID는 모든 서비스 호출에 대한 URI의 파트를 형성합니다.

options
AzureDeploymentManagerOptions

매개 변수 옵션

속성 세부 정보

apiVersion

apiVersion?: string

속성 값

string

credentials

credentials: ServiceClientCredentials | TokenCredential

속성 값

subscriptionId

subscriptionId: string

속성 값

string

상속된 속성 세부 정보

acceptLanguage

acceptLanguage: string

속성 값

string

msRestAzure.AzureServiceClient.acceptLanguage에서 상속됨

longRunningOperationRetryTimeout

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

longRunningOperationRetryTimeout?: number

속성 값

number

msRestAzure.AzureServiceClient.longRunningOperationRetryTimeout에서 상속됨

상속된 메서드 세부 정보

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입니다.

msRestAzure.AzureServiceClient.beginLongRunningRequest에서 상속됨

restoreLROPoller(LROPollState)

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

function restoreLROPoller(lroPollState: LROPollState): LROPoller

매개 변수

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

반환

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

msRestAzure.AzureServiceClient.restoreLROPoller에서 상속됨

sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)

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

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

매개 변수

request

RequestPrepareOptions | WebResource

요청 개체

options
RequestOptionsBase

요청을 수행하는 동안 보낼 추가 옵션

반환

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

msRestAzure.AzureServiceClient.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 개체입니다.

msRestAzure.AzureServiceClient.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>

msRestAzure.AzureServiceClient.sendOperationRequest에서 상속됨

sendRequest(RequestPrepareOptions | WebResourceLike)

제공된 httpRequest를 보냅니다.

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

매개 변수

반환

msRestAzure.AzureServiceClient.sendRequest에서 상속됨