AlertsOperationsExtensions.ChangeState Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Modifier l’état d’une alerte.
public static Microsoft.Azure.Management.AlertsManagement.Models.Alert ChangeState (this Microsoft.Azure.Management.AlertsManagement.IAlertsOperations operations, string alertId, string newState);
static member ChangeState : Microsoft.Azure.Management.AlertsManagement.IAlertsOperations * string * string -> Microsoft.Azure.Management.AlertsManagement.Models.Alert
<Extension()>
Public Function ChangeState (operations As IAlertsOperations, alertId As String, newState As String) As Alert
Paramètres
- operations
- IAlertsOperations
Groupe d’opérations pour cette méthode d’extension.
- alertId
- String
ID unique d’une instance d’alerte.
- newState
- String
Nouvel état de l’alerte. Les valeurs possibles sont les suivantes : « Nouveau », « Reconnu », « Fermé »
Retours
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour