StorageCacheManagementClient class
생성자
| Storage |
StorageCacheManagementClient 클래스의 새 인스턴스를 초기화합니다. |
속성
| accept |
|
| api |
|
| asc |
|
| caches | |
| credentials | |
| long |
장기 실행 작업의 재시도 시간 제한(초)입니다. 기본값은 30입니다. |
| operations | |
| skus | |
| storage |
|
| storage |
|
| subscription |
|
| usage |
메서드
| begin |
LRO의 초기 요청(장기 실행 작업)을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 HttpLongRunningOperationResponse를 다시 가져옵니다. |
| restore |
제공된 LROPollState에서 LROPoller를 복원합니다. 이 메서드는 다른 프로세스 또는 컴퓨터에서 LROPoller를 다시 만드는 데 사용할 수 있습니다. |
| send |
폴링하고 최종 결과를 제공하는 요청을 만드는 메커니즘을 제공합니다. |
| send |
LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 LROPoller를 다시 가져옵니다. |
| send |
제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다. |
| send |
제공된 httpRequest를 보냅니다. |
생성자 세부 정보
StorageCacheManagementClient(ServiceClientCredentials | TokenCredential, string, Models.StorageCacheManagementClientOptions)
StorageCacheManagementClient 클래스의 새 인스턴스를 초기화합니다.
new StorageCacheManagementClient(credentials: ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageCacheManagementClientOptions)
매개 변수
- credentials
-
ServiceClientCredentials | TokenCredential
클라이언트가 Azure에 연결하는 데 필요한 자격 증명입니다. @azure/identity 패키지에서 TokenCredential 인터페이스를 구현하는 자격 증명을 사용하는 것이 좋습니다. 이러한 자격 증명에 대한 자세한 내용은 <xref:https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40azure%2Fidentity>참조하세요. 이전 패키지에서 ServiceClientCredentials 인터페이스를 구현하는 자격 증명은 @azure/ms-rest-nodeauth 및
- subscriptionId
-
string
Microsoft Azure 구독을 고유하게 식별하는 구독 자격 증명입니다. 구독 ID는 모든 서비스 호출에 대한 URI의 일부를 형성합니다.
- options
- Models.StorageCacheManagementClientOptions
속성 세부 정보
acceptLanguage
acceptLanguage: string
속성 값
string
apiVersion
apiVersion?: undefined | string
속성 값
undefined | string
ascOperations
caches
credentials
credentials: ServiceClientCredentials | TokenCredential
속성 값
ServiceClientCredentials | TokenCredential
longRunningOperationRetryTimeout
장기 실행 작업의 재시도 시간 제한(초)입니다. 기본값은 30입니다.
longRunningOperationRetryTimeout?: undefined | number
속성 값
undefined | number
operations
skus
storageTarget
storageTargets
subscriptionId
subscriptionId: string
속성 값
string
usageModels
메서드 세부 정보
beginLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)
LRO의 초기 요청(장기 실행 작업)을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 HttpLongRunningOperationResponse를 다시 가져옵니다.
function beginLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase)
매개 변수
- request
-
RequestPrepareOptions | WebResource
요청 개체
- options
-
RequestOptionsBase
반환
Promise<LROPoller>
LRO와 상호 작용하기 위한 메서드를 제공하는 HttpLongRunningOperationResponse입니다.
restoreLROPoller(LROPollState)
제공된 LROPollState에서 LROPoller를 복원합니다. 이 메서드는 다른 프로세스 또는 컴퓨터에서 LROPoller를 다시 만드는 데 사용할 수 있습니다.
function restoreLROPoller(lroPollState: LROPollState)
매개 변수
- lroPollState
-
LROPollState
반환
LROPoller
sendLongRunningRequest(RequestPrepareOptions | WebResource, RequestOptionsBase)
폴링하고 최종 결과를 제공하는 요청을 만드는 메커니즘을 제공합니다.
function sendLongRunningRequest(request: RequestPrepareOptions | WebResource, options?: RequestOptionsBase)
매개 변수
- request
-
RequestPrepareOptions | WebResource
요청 개체
- options
-
RequestOptionsBase
반환
Promise<HttpOperationResponse>
최종 폴링 요청, 응답 및 responseBody를 포함하는 HttpOperationResponse입니다.
sendLRORequest(OperationArguments, OperationSpec, RequestOptionsBase)
LRO(장기 실행 작업)의 초기 요청을 보내고 LRO를 폴링하고 LRO가 완료되었는지 확인하는 메서드를 제공하는 LROPoller를 다시 가져옵니다.
function sendLRORequest(operationArguments: OperationArguments, operationSpec: OperationSpec, options?: RequestOptionsBase)
매개 변수
- operationArguments
-
OperationArguments
작업에 대한 인수입니다.
- operationSpec
-
OperationSpec
작업에 대한 사양입니다.
- options
-
RequestOptionsBase
요청을 수행하는 동안 전송할 추가 옵션입니다.
반환
Promise<LROPoller>
LRO와 상호 작용하는 메서드를 제공하는 LROPoller 개체입니다.
sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)
제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.
function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>)
매개 변수
- operationArguments
-
OperationArguments
HTTP 요청의 템플릿 값이 채워지는 인수입니다.
- operationSpec
-
OperationSpec
httpRequest를 채우는 데 사용할 OperationSpec입니다.
- callback
-
ServiceCallback<any>
응답을 받을 때 호출할 콜백입니다.
반환
Promise<RestResponse>
sendRequest(RequestPrepareOptions | WebResourceLike)
제공된 httpRequest를 보냅니다.
function sendRequest(options: RequestPrepareOptions | WebResourceLike)
매개 변수
- options
-
RequestPrepareOptions | WebResourceLike
반환
Promise<HttpOperationResponse>