Share via


LabPlansOperationsExtensions.UpdateAsync Method

Definition

Updates a Lab Plan resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.LabPlan> UpdateAsync (this Microsoft.Azure.Management.LabServices.ILabPlansOperations operations, Microsoft.Azure.Management.LabServices.Models.LabPlanUpdate body, string resourceGroupName, string labPlanName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.LabServices.ILabPlansOperations * Microsoft.Azure.Management.LabServices.Models.LabPlanUpdate * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.LabPlan>
<Extension()>
Public Function UpdateAsync (operations As ILabPlansOperations, body As LabPlanUpdate, resourceGroupName As String, labPlanName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LabPlan)

Parameters

operations
ILabPlansOperations

The operations group for this extension method.

body
LabPlanUpdate

The request body.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labPlanName
String

The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Operation to update a Lab Plan resource.

Applies to