IncidentOperationsExtensions.ListForRuleAsync 方法 (IIncidentOperations, String, Boolean)

 

命名空间:   Microsoft.WindowsAzure.Management.Monitoring.Alerts
程序集:  Microsoft.WindowsAzure.Management.Monitoring(Microsoft.WindowsAzure.Management.Monitoring.dll 中)

语法

public static Task<IncidentListResponse> ListForRuleAsync(
    this IIncidentOperations operations,
    string ruleId,
    bool isActive
)
public:
[ExtensionAttribute]
static Task<IncidentListResponse^>^ ListForRuleAsync(
    IIncidentOperations^ operations,
    String^ ruleId,
    bool isActive
)
static member ListForRuleAsync : 
        operations:IIncidentOperations *
        ruleId:string *
        isActive:bool -> Task<IncidentListResponse>
<ExtensionAttribute>
Public Shared Function ListForRuleAsync (
    operations As IIncidentOperations,
    ruleId As String,
    isActive As Boolean
) As Task(Of IncidentListResponse)

参数

  • isActive
    Type: System.Boolean

    必需。 若要仅活动或已解决事件中检索一个布尔值。

返回值

Type: System.Threading.Tasks.Task<IncidentListResponse>

列表事件操作响应。

请参阅

IncidentOperationsExtensions 类
Microsoft.WindowsAzure.Management.Monitoring.Alerts 命名空间

返回页首