/// <summary> /// Long running post request, service returns a 500, then a 202 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 <LRORetrysPostAsyncRelativeRetrySucceededHeaders> BeginPostAsyncRelativeRetrySucceededAsync(this ILRORetrysOperations operations, Product product = default(Product), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginPostAsyncRelativeRetrySucceededWithHttpMessagesAsync(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 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 BeginPostAsyncRelativeRetrySucceededAsync(this ILRORetrysOperations operations, Product product = default(Product), CancellationToken cancellationToken = default(CancellationToken)) { await operations.BeginPostAsyncRelativeRetrySucceededWithHttpMessagesAsync(product, null, cancellationToken).ConfigureAwait(false); }