Compartilhar via


ExperimentsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Criar ou atualizar um recurso de Experimento.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.Experiment> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Chaos.IExperimentsOperations operations, string resourceGroupName, string experimentName, Microsoft.Azure.Management.Chaos.Models.Experiment experiment, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Chaos.IExperimentsOperations * string * string * Microsoft.Azure.Management.Chaos.Models.Experiment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.Experiment>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IExperimentsOperations, resourceGroupName As String, experimentName As String, experiment As Experiment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Experiment)

Parâmetros

operations
IExperimentsOperations

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

resourceGroupName
String

Cadeia de caracteres que representa um grupo de recursos do Azure.

experimentName
String

Cadeia de caracteres que representa um nome de recurso de experimento.

experiment
Experiment

Recurso de experimento a ser criado ou atualizado.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a