/// <summary> /// x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is required /// message header for all requests. Long running put request, service /// returns a 201 to the initial request, with an entity that contains /// ProvisioningState=’Creating’. 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='product'> /// Product to put /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async System.Threading.Tasks.Task<ProductInner> BeginPut201CreatingSucceeded200Async(this ILROsCustomHeaderOperations operations, ProductInner product = default(ProductInner), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.BeginPut201CreatingSucceeded200WithHttpMessagesAsync(product, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } }
/// <summary> /// Long running put request, service returns a 201 to the initial request, /// with an entity that contains ProvisioningState=’Creating’. 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='product'> /// Product to put /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task<Product> BeginPut201CreatingSucceeded200Async(this ILROsOperations operations, Product product = default(Product), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginPut201CreatingSucceeded200WithHttpMessagesAsync(product, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } }
/// <summary> /// x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is required /// message header for all requests. Long running put request, service /// returns a 201 to the initial request, with an entity that contains /// ProvisioningState=’Creating’. 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='product'> /// Product to put /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task<Product> BeginPut201CreatingSucceeded200Async( this ILROsCustomHeaderOperations operations, Product product = default(Product), CancellationToken cancellationToken = default(CancellationToken)) { AzureOperationResponse<Product> result = await operations.BeginPut201CreatingSucceeded200WithHttpMessagesAsync(product, null, cancellationToken).ConfigureAwait(false); return result.Body; }