AzureStackManagementClient class
생성자
| Azure |
AzureStackManagementClient 클래스의 새 인스턴스를 초기화합니다. |
상속된 속성
| accept |
|
| api |
|
| credentials | |
| long |
장기 실행 작업의 재시도 시간 제한(초)입니다. 기본값은 30입니다. |
| subscription |
상속된 메서드
| begin |
LRO의 초기 요청(장기 실행 작업)을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 HttpLongRunningOperationResponse를 다시 가져옵니다. |
| restore |
제공된 LROPollState에서 LROPoller를 복원합니다. 이 메서드는 다른 프로세스 또는 컴퓨터에서 LROPoller를 다시 만드는 데 사용할 수 있습니다. |
| send |
폴링하고 최종 결과를 제공하는 요청을 만드는 메커니즘을 제공합니다. |
| send |
LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 LROPoller를 다시 가져옵니다. |
| send |
제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다. |
| send |
제공된 httpRequest를 보냅니다. |
생성자 세부 정보
AzureStackManagementClient(ServiceClientCredentials | TokenCredential, string, AzureStackManagementClientOptions)
AzureStackManagementClient 클래스의 새 인스턴스를 초기화합니다.
new AzureStackManagementClient(credentials: ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: AzureStackManagementClientOptions)
매개 변수
- credentials
클라이언트가 Azure에 연결하는 데 필요한 자격 증명입니다. @azure/identity 패키지에서 TokenCredential 인터페이스를 구현하는 자격 증명을 사용하는 것이 좋습니다. 이러한 자격 증명에 대한 자세한 내용은 https://www.npmjs.com/package/@azure/identity참조하세요. 이전 패키지 @azure/ms-rest-nodeauth 및 @azure/ms-rest-browserauth ServiceClientCredentials 인터페이스를 구현하는 자격 증명도 지원됩니다.
- subscriptionId
-
string
Microsoft Azure 구독을 고유하게 식별하는 구독 자격 증명입니다. 구독 ID는 모든 서비스 호출에 대한 URI의 일부를 형성합니다.
매개 변수 옵션
속성 세부 정보
customerSubscriptions
operations
products
registrations
상속된 속성 세부 정보
acceptLanguage
apiVersion
credentials
credentials: ServiceClientCredentials | TokenCredential
속성 값
longRunningOperationRetryTimeout
장기 실행 작업의 재시도 시간 제한(초)입니다. 기본값은 30입니다.
longRunningOperationRetryTimeout?: number
속성 값
number
AzureStackManagementClientContext.longRunningOperationRetryTimeout 상속된
subscriptionId
상속된 메서드 세부 정보
beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)
LRO의 초기 요청(장기 실행 작업)을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 HttpLongRunningOperationResponse를 다시 가져옵니다.
function beginLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase): Promise<LROPoller>
매개 변수
- request
요청 개체
- options
- RequestOptionsBase
요청을 수행하는 동안 전송할 추가 옵션
반환
Promise<@azure/ms-rest-azure-js.LROPoller>
LRO와 상호 작용하기 위한 메서드를 제공하는 HttpLongRunningOperationResponse입니다.
AzureStackManagementClientContext.beginLongRunningRequest 상속된
restoreLROPoller(LROPollState)
제공된 LROPollState에서 LROPoller를 복원합니다. 이 메서드는 다른 프로세스 또는 컴퓨터에서 LROPoller를 다시 만드는 데 사용할 수 있습니다.
function restoreLROPoller(lroPollState: LROPollState): LROPoller
매개 변수
- lroPollState
- @azure/ms-rest-azure-js.LROPollState
반환
sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)
폴링하고 최종 결과를 제공하는 요청을 만드는 메커니즘을 제공합니다.
function sendLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase): Promise<HttpOperationResponse>
매개 변수
- request
요청 개체
- options
- RequestOptionsBase
요청을 수행하는 동안 전송할 추가 옵션
반환
Promise<HttpOperationResponse>
최종 폴링 요청, 응답 및 responseBody를 포함하는 HttpOperationResponse입니다.
AzureStackManagementClientContext.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 개체입니다.
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>
sendRequest(RequestPrepareOptions | WebResourceLike)
제공된 httpRequest를 보냅니다.
function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>
매개 변수
- options
반환
Promise<HttpOperationResponse>