/// <summary> /// x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is required /// message header for all requests. Long running post request, service /// returns a 202 to the initial request, with 'Location' and 'Retry-After' /// headers, Polls return a 200 with a response body after success /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='product'> /// Product to put /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task<LROsCustomHeaderPost202Retry200HeadersInner> BeginPost202Retry200Async(this ILROsCustomHeaderOperations operations, ProductInner product = default(ProductInner), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.BeginPost202Retry200WithHttpMessagesAsync(product, null, cancellationToken).ConfigureAwait(false)) { return _result.Headers; } }
/// <summary> /// Long running post request, service returns a 202 to the initial request, /// with 'Location' and 'Retry-After' headers, Polls return a 200 with a /// response body after success /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='product'> /// Product to put /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task<LROsPost202Retry200Headers> BeginPost202Retry200Async(this ILROsOperations operations, Product product = default(Product), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginPost202Retry200WithHttpMessagesAsync(product, null, cancellationToken).ConfigureAwait(false)) { return _result.Headers; } }
/// <summary> /// Long running post request, service returns a 500, then a 202 to the /// initial request, with 'Location' and 'Retry-After' headers, Polls return /// a 200 with a response body after success /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='product'> /// Product to put /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task BeginPost202Retry200Async( this ILRORetrysOperations operations, Product product = default(Product), CancellationToken cancellationToken = default(CancellationToken)) { await operations.BeginPost202Retry200WithHttpMessagesAsync(product, null, cancellationToken).ConfigureAwait(false); }