ActionGroupsOperationsExtensions.UpdateAsync Method

Definition

Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ActionGroupResource> UpdateAsync (this Microsoft.Azure.Management.Monitor.IActionGroupsOperations operations, string resourceGroupName, string actionGroupName, Microsoft.Azure.Management.Monitor.Models.ActionGroupPatchBody actionGroupPatch, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Monitor.IActionGroupsOperations * string * string * Microsoft.Azure.Management.Monitor.Models.ActionGroupPatchBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ActionGroupResource>
<Extension()>
Public Function UpdateAsync (operations As IActionGroupsOperations, resourceGroupName As String, actionGroupName As String, actionGroupPatch As ActionGroupPatchBody, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ActionGroupResource)

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.

actionGroupPatch
ActionGroupPatchBody

Parameters supplied to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to