Udostępnij za pośrednictwem


LabPlansOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Updates or creates a Lab Plan resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.LabPlan> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.LabServices.ILabPlansOperations operations, Microsoft.Azure.Management.LabServices.Models.LabPlan body, string resourceGroupName, string labPlanName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.LabServices.ILabPlansOperations * Microsoft.Azure.Management.LabServices.Models.LabPlan * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.LabPlan>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ILabPlansOperations, body As LabPlan, 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
LabPlan

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 create or update a Lab Plan resource.

Applies to