次の方法で共有


ExperimentsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

実験リソースを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Chaos.Models.Experiment> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (operations As IExperimentsOperations, resourceGroupName As String, experimentName As String, experiment As Experiment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Experiment)

パラメーター

operations
IExperimentsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

Azure リソース グループを表す文字列。

experimentName
String

実験リソース名を表す文字列。

experiment
Experiment

作成または更新する実験リソース。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象