Partilhar via


SmartGroupResource.ChangeState(ServiceAlertState, CancellationToken) Método

Definição

Altere o estado de um Grupo Inteligente.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/changeState
  • Operação IdSmartGroups_ChangeState
public virtual Azure.Response<Azure.ResourceManager.AlertsManagement.SmartGroupResource> ChangeState (Azure.ResourceManager.AlertsManagement.Models.ServiceAlertState newState, System.Threading.CancellationToken cancellationToken = default);
abstract member ChangeState : Azure.ResourceManager.AlertsManagement.Models.ServiceAlertState * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AlertsManagement.SmartGroupResource>
override this.ChangeState : Azure.ResourceManager.AlertsManagement.Models.ServiceAlertState * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AlertsManagement.SmartGroupResource>
Public Overridable Function ChangeState (newState As ServiceAlertState, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SmartGroupResource)

Parâmetros

newState
ServiceAlertState

Novo estado do alerta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a