次の方法で共有


ActivityLogAlertsOperationsExtensions.CreateOrUpdate メソッド

定義

新しいアクティビティ ログ アラート ルールを作成するか、既存のルールを更新します。

public static Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource CreateOrUpdate(this Microsoft.Azure.Management.Monitor.IActivityLogAlertsOperations operations, string resourceGroupName, string activityLogAlertName, Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource activityLogAlertRule);
static member CreateOrUpdate : Microsoft.Azure.Management.Monitor.IActivityLogAlertsOperations * string * string * Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource -> Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource
<Extension()>
Public Function CreateOrUpdate (operations As IActivityLogAlertsOperations, resourceGroupName As String, activityLogAlertName As String, activityLogAlertRule As ActivityLogAlertResource) As ActivityLogAlertResource

パラメーター

operations
IActivityLogAlertsOperations

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

resourceGroupName
String

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

activityLogAlertName
String

アクティビティ ログ アラート ルールの名前。

activityLogAlertRule
ActivityLogAlertResource

更新プログラム用に作成または使用するアクティビティ ログ アラート ルール。

戻り値

適用対象