/// <summary> /// Long running put request, service returns a 500, then a 200 to the initial /// request, with an entity that contains ProvisioningState=’Creating’. 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='product'> /// Product to put /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Product> BeginPutAsyncRelativeRetrySucceededAsync(this ILRORetrysOperations operations, Product product = default(Product), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginPutAsyncRelativeRetrySucceededWithHttpMessagesAsync(product, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }