AlertRuleIncidentsOperations.Get Method

Definition

Gets an incident associated to an alert rule.

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

Parameters

resourceGroupName
System.String

The name of the resource group.

ruleName
System.String

The name of the rule.

incidentName
System.String

The name of the incident to retrieve.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response<Incident>

Applies to