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

 

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

语法

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

参数

  • isActive
    Type: System.Boolean

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

返回值

Type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.IncidentListResponse

列表事件操作响应。

请参阅

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

返回页首