ActionGroupsOperations.GetAsync(String, String, CancellationToken) Method

Definition

Get an action group.

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

Parameters

resourceGroupName
System.String

The name of the resource group.

actionGroupName
System.String

The name of the action group.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<ActionGroupResource>>

Applies to