IAlertOperations.GetIncidentAsync Method (String, String, String, CancellationToken)
Namespace: Microsoft.Azure.Management.Insights
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Syntax
Task<IncidentGetResponse> GetIncidentAsync(
string resourceGroupName,
string ruleName,
string incidentName,
CancellationToken cancellationToken
)
Task<IncidentGetResponse^>^ GetIncidentAsync(
String^ resourceGroupName,
String^ ruleName,
String^ incidentName,
CancellationToken cancellationToken
)
abstract GetIncidentAsync :
resourceGroupName:string *
ruleName:string *
incidentName:string *
cancellationToken:CancellationToken -> Task<IncidentGetResponse>
Function GetIncidentAsync (
resourceGroupName As String,
ruleName As String,
incidentName As String,
cancellationToken As CancellationToken
) As Task(Of IncidentGetResponse)
Parameters
resourceGroupName
Type: System.StringThe name of the resource group.
ruleName
Type: System.StringThe name of the rule.
incidentName
Type: System.StringThe name of the incident to retrieve.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<IncidentGetResponse>
The Get Incident operation response.
See Also
IAlertOperations Interface
Microsoft.Azure.Management.Insights Namespace
Return to top