次の方法で共有


ActionGroupsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

新しいアクション グループを作成するか、既存のアクション グループを更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ActionGroupResource> CreateOrUpdateAsync(this Microsoft.Azure.Management.Monitor.IActionGroupsOperations operations, string resourceGroupName, string actionGroupName, Microsoft.Azure.Management.Monitor.Models.ActionGroupResource actionGroup, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Monitor.IActionGroupsOperations * string * string * Microsoft.Azure.Management.Monitor.Models.ActionGroupResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ActionGroupResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IActionGroupsOperations, resourceGroupName As String, actionGroupName As String, actionGroup As ActionGroupResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ActionGroupResource)

パラメーター

operations
IActionGroupsOperations

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

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

actionGroupName
String

アクション グループの名前。

actionGroup
ActionGroupResource

更新プログラムに作成または使用するアクション グループ。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象