Language

AllocationsV2RequestBuilder.PutAsync Method

Definition

Set the allocations for the scope.

public System.Threading.Tasks.Task<Microsoft.PowerPlatform.Management.Models.NeptuneOperationResult?> PutAsync(Microsoft.PowerPlatform.Management.Models.AllocationPutRequestModel body, Action<Microsoft.Kiota.Abstractions.RequestConfiguration<Microsoft.PowerPlatform.Management.Licensing.AllocationsV2.AllocationsV2RequestBuilder.AllocationsV2RequestBuilderPutQueryParameters>>? requestConfiguration = default, System.Threading.CancellationToken cancellationToken = default);
member this.PutAsync : Microsoft.PowerPlatform.Management.Models.AllocationPutRequestModel * Action<Microsoft.Kiota.Abstractions.RequestConfiguration<Microsoft.PowerPlatform.Management.Licensing.AllocationsV2.AllocationsV2RequestBuilder.AllocationsV2RequestBuilderPutQueryParameters>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerPlatform.Management.Models.NeptuneOperationResult>
Public Function PutAsync (body As AllocationPutRequestModel, Optional requestConfiguration As Action(Of RequestConfiguration(Of AllocationsV2RequestBuilder.AllocationsV2RequestBuilderPutQueryParameters)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NeptuneOperationResult)

Parameters

body
AllocationPutRequestModel

Allocation put request model.

requestConfiguration
Action<RequestConfiguration<AllocationsV2RequestBuilder.AllocationsV2RequestBuilderPutQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken
CancellationToken

Cancellation token to use when cancelling requests

Returns

A NeptuneOperationResult

Applies to