AlertOperationsExtensions.GetIncidentAsync Method (IAlertOperations, String, String, String)
Namespace: Microsoft.Azure.Management.Insights
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Syntax
public static Task<IncidentGetResponse> GetIncidentAsync(
this IAlertOperations operations,
string resourceGroupName,
string ruleName,
string incidentName
)
public:
[ExtensionAttribute]
static Task<IncidentGetResponse^>^ GetIncidentAsync(
IAlertOperations^ operations,
String^ resourceGroupName,
String^ ruleName,
String^ incidentName
)
static member GetIncidentAsync :
operations:IAlertOperations *
resourceGroupName:string *
ruleName:string *
incidentName:string -> Task<IncidentGetResponse>
<ExtensionAttribute>
Public Shared Function GetIncidentAsync (
operations As IAlertOperations,
resourceGroupName As String,
ruleName As String,
incidentName As String
) As Task(Of IncidentGetResponse)
Parameters
operations
Type: Microsoft.Azure.Management.Insights.IAlertOperationsReference to the Microsoft.Azure.Management.Insights.IAlertOperations.
resourceGroupName
Type: System.StringRequired. The name of the resource group.
ruleName
Type: System.StringRequired. The name of the rule.
incidentName
Type: System.StringRequired. The name of the incident to retrieve.
Return Value
Type: System.Threading.Tasks.Task<IncidentGetResponse>
The Get Incident operation response.
See Also
AlertOperationsExtensions Class
Microsoft.Azure.Management.Insights Namespace
Return to top