| Package | Description |
|---|---|
| com.microsoft.azure |
The package contains the runtime classes required for AutoRest generated
Azure clients to compile and function.
|
| Modifier and Type | Field and Description |
|---|---|
static LongRunningOperationOptions |
LongRunningOperationOptions.DEFAULT
Default instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
LongRunningOperationOptions |
LongRunningOperationOptions.withFinalStateVia(LongRunningFinalState finalStateVia)
Sets LongRunningFinalState value.
|
| Modifier and Type | Method and Description |
|---|---|
<T> rx.Single<PollingState<T>> |
AzureClient.beginPostOrDeleteAsync(rx.Observable<retrofit2.Response<okhttp3.ResponseBody>> observable,
LongRunningOperationOptions lroOptions,
Type resourceType)
Given an observable representing a deferred POST or DELETE action, this method returns
Single object,
when subscribed to it, the deferred action will be performed and emits the polling state containing information
to track the progress of the action. |
static <T> PollingState<T> |
PollingState.create(retrofit2.Response<okhttp3.ResponseBody> response,
LongRunningOperationOptions lroOptions,
int defaultRetryTimeout,
Type resourceType,
SerializerAdapter<?> serializerAdapter)
Creates a polling state.
|
<T> rx.Observable<ServiceResponse<T>> |
AzureClient.getPostOrDeleteResultAsync(rx.Observable<retrofit2.Response<okhttp3.ResponseBody>> observable,
LongRunningOperationOptions lroOptions,
Type resourceType)
Handles an initial response from a POST or DELETE operation response by polling
the status of the operation asynchronously, calling the user provided callback
when the operation terminates.
|
<T,THeader> |
AzureClient.getPostOrDeleteResultWithHeadersAsync(rx.Observable<retrofit2.Response<okhttp3.ResponseBody>> observable,
LongRunningOperationOptions lroOptions,
Type resourceType,
Class<THeader> headerType)
Handles an initial response from a POST or DELETE operation response by polling
the status of the operation asynchronously, calling the user provided callback
when the operation terminates.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/