/// <summary> /// Long running delete request, service returns a 500, then a 202 to the /// initial request. Polls return this value until the last poll returns a /// ‘200’ with ProvisioningState=’Succeeded’ /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <LRORetrysDelete202Retry200Headers> Delete202Retry200Async(this ILRORetrysOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.Delete202Retry200WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return(_result.Headers); } }
/// <summary> /// Long running delete request, service returns a 500, then a 202 to the /// initial request. Polls return this value until the last poll returns a /// ‘200’ with ProvisioningState=’Succeeded’ /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task Delete202Retry200Async(this ILRORetrysOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { await operations.Delete202Retry200WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false); }