ActionGroupsOperationsExtensions.EnableReceiverAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 static System.Threading.Tasks.Task EnableReceiverAsync (this Microsoft.Azure.Management.Monitor.IActionGroupsOperations operations, string resourceGroupName, string actionGroupName, string receiverName, System.Threading.CancellationToken cancellationToken = default);
static member EnableReceiverAsync : Microsoft.Azure.Management.Monitor.IActionGroupsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function EnableReceiverAsync (operations As IActionGroupsOperations, resourceGroupName As String, actionGroupName As String, receiverName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IActionGroupsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- actionGroupName
- String
The name of the action group.
- receiverName
- String
The name of the receiver to resubscribe.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET