/// <summary> /// Long running delete request, service returns 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<Product> BeginDelete202Retry200Async(this ILROsOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginDelete202Retry200WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } }
/// <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 BeginDelete202Retry200Async( this ILRORetrysOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { await operations.BeginDelete202Retry200WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false); }
/// <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 System.Threading.Tasks.Task<LRORetrysDelete202Retry200Headers> BeginDelete202Retry200Async(this ILRORetrysOperations operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.BeginDelete202Retry200WithHttpMessagesAsync(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<LRORetrysDelete202Retry200Headers> BeginDelete202Retry200Async( this ILRORetrysOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { var _result = await operations.BeginDelete202Retry200WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false); return _result.Headers; }