Compartilhar via


ActivityLogAlertsOperationsExtensions.CreateOrUpdate Método

Definição

Crie uma nova regra de Alerta do Log de Atividades ou atualize uma existente.

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

Parâmetros

operations
IActivityLogAlertsOperations

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.

activityLogAlertName
String

O nome da regra de Alerta do Log de Atividades.

activityLogAlertRule
ActivityLogAlertResource

A regra de Alerta do Log de Atividades a ser criada ou usada para a atualização.

Retornos

Aplica-se a