Compartir a través de


ActionGroupResource.EnableReceiver Método

Definición

Habilite un receptor en un grupo de acciones. Esto cambia el estado del receptor de Deshabilitado a Habilitado. Esta operación solo se admite para receptores de Email o SMS.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/actionGroups/{actionGroupName}/subscribe
  • IdActionGroups_EnableReceiver de operaciones
public virtual Azure.Response EnableReceiver (Azure.ResourceManager.Monitor.Models.ActionGroupEnableContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableReceiver : Azure.ResourceManager.Monitor.Models.ActionGroupEnableContent * System.Threading.CancellationToken -> Azure.Response
override this.EnableReceiver : Azure.ResourceManager.Monitor.Models.ActionGroupEnableContent * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function EnableReceiver (content As ActionGroupEnableContent, Optional cancellationToken As CancellationToken = Nothing) As Response

Parámetros

content
ActionGroupEnableContent

Receptor que se va a volver a habilitar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a