Compartir a través de


SmartGroupsOperationsExtensions.ChangeState Método

Definición

Cambie el estado de un grupo inteligente.

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

Parámetros

operations
ISmartGroupsOperations

El grupo de operaciones de este método de extensión.

smartGroupId
String

Identificador único del grupo inteligente.

newState
String

Nuevo estado de la alerta. Entre los valores posibles se incluyen: "New", "Acknowledged", "Closed"

Devoluciones

Se aplica a