ActionGroupsOperations.EnableReceiver Method

Definition

Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.

public virtual Azure.Response EnableReceiver (string resourceGroupName, string actionGroupName, Azure.ResourceManager.Insights.Models.EnableRequest enableRequest, System.Threading.CancellationToken cancellationToken = default);
abstract member EnableReceiver : string * string * Azure.ResourceManager.Insights.Models.EnableRequest * System.Threading.CancellationToken -> Azure.Response
override this.EnableReceiver : string * string * Azure.ResourceManager.Insights.Models.EnableRequest * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function EnableReceiver (resourceGroupName As String, actionGroupName As String, enableRequest As EnableRequest, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

resourceGroupName
System.String

The name of the resource group.

actionGroupName
System.String

The name of the action group.

enableRequest
EnableRequest

The receiver to re-enable.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response

Applies to