/// <summary> /// Long running delete request, service returns a 202 to the initial request. /// Poll the endpoint indicated in the Azure-AsyncOperation header for /// operation status /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task<LROsDeleteAsyncRetryFailedHeaders> BeginDeleteAsyncRetryFailedAsync(this ILROsOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginDeleteAsyncRetryFailedWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Headers; } }
/// <summary> /// Long running delete request, service returns a 202 to the initial request. /// Poll the endpoint indicated in the Azure-AsyncOperation header for /// operation status /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task BeginDeleteAsyncRetryFailedAsync( this ILROsOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { await operations.BeginDeleteAsyncRetryFailedWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false); }