ActionGroupsOperations.CreateOrUpdate Method

Definition

Create a new action group or update an existing one.

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

Parameters

resourceGroupName
System.String

The name of the resource group.

actionGroupName
System.String

The name of the action group.

actionGroup
ActionGroupResource

The action group to create or use for the update.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response<ActionGroupResource>

Applies to