Partager via


LabPlansOperationsExtensions.BeginCreateOrUpdateAsync Méthode

Définition

Mises à jour ou crée une ressource Lab Plan.

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)

Paramètres

operations
ILabPlansOperations

Groupe d’opérations pour cette méthode d’extension.

body
LabPlan

Corps de la demande.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

labPlanName
String

Nom du plan de laboratoire qui l’identifie de manière unique dans le groupe de ressources contenant. Utilisé dans les URI de ressource et dans l’interface utilisateur.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Opération de création ou de mise à jour d’une ressource Lab Plan.

S’applique à