Freigeben über


SmartGroupsOperationsExtensions.ChangeState Methode

Definition

Ändern sie den Status einer intelligenten Gruppe.

public static Microsoft.Azure.Management.AlertsManagement.Models.SmartGroup ChangeState (this Microsoft.Azure.Management.AlertsManagement.ISmartGroupsOperations operations, string smartGroupId, string newState);
static member ChangeState : Microsoft.Azure.Management.AlertsManagement.ISmartGroupsOperations * string * string -> Microsoft.Azure.Management.AlertsManagement.Models.SmartGroup
<Extension()>
Public Function ChangeState (operations As ISmartGroupsOperations, smartGroupId As String, newState As String) As SmartGroup

Parameter

operations
ISmartGroupsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

smartGroupId
String

Eindeutige ID der intelligenten Gruppe.

newState
String

Neuer Status der Warnung. Mögliche Werte: "New", "Acknowledged", "Closed"

Gibt zurück

Gilt für: