Partager via


CommitmentPlansOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Mettez à jour l’état des plans d’engagement spécifiés associés au compte Cognitive Services.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CognitiveServices.Models.CommitmentPlan> CreateOrUpdateAsync (this Microsoft.Azure.Management.CognitiveServices.ICommitmentPlansOperations operations, string resourceGroupName, string accountName, string commitmentPlanName, Microsoft.Azure.Management.CognitiveServices.Models.CommitmentPlan commitmentPlan, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.CognitiveServices.ICommitmentPlansOperations * string * string * string * Microsoft.Azure.Management.CognitiveServices.Models.CommitmentPlan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CognitiveServices.Models.CommitmentPlan>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ICommitmentPlansOperations, resourceGroupName As String, accountName As String, commitmentPlanName As String, commitmentPlan As CommitmentPlan, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CommitmentPlan)

Paramètres

operations
ICommitmentPlansOperations

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

resourceGroupName
String

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

accountName
String

Nom du compte Cognitive Services.

commitmentPlanName
String

Nom du plan d’engagement associé au compte Cognitive Services

commitmentPlan
CommitmentPlan

Propriétés commitmentPlan.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à