Sdílet prostřednictvím


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

  • resourceGroupName
    Type: System.String

    Required. The name of the resource group.

  • incidentName
    Type: System.String

    Required. 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