Compartilhar via


CommitmentPlansOperationsExtensions.CreateOrUpdateAsync Método

Definição

Atualize o estado dos commitmentPlans especificados associados à conta dos Serviços Cognitivos.

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)

Parâmetros

operations
ICommitmentPlansOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

accountName
String

O nome da conta dos Serviços Cognitivos.

commitmentPlanName
String

O nome do commitmentPlan associado à conta dos Serviços Cognitivos

commitmentPlan
CommitmentPlan

As propriedades commitmentPlan.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a