AllocationsV2RequestBuilder.PutAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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