你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AlertsOperationsExtensions.ListByManagerAsync 方法

定义

检索管理器中的所有警报。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.StorSimple8000Series.Models.Alert>> ListByManagerAsync (this Microsoft.Azure.Management.StorSimple8000Series.IAlertsOperations operations, string resourceGroupName, string managerName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.StorSimple8000Series.Models.AlertFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByManagerAsync : Microsoft.Azure.Management.StorSimple8000Series.IAlertsOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.StorSimple8000Series.Models.AlertFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.StorSimple8000Series.Models.Alert>>
<Extension()>
Public Function ListByManagerAsync (operations As IAlertsOperations, resourceGroupName As String, managerName As String, Optional odataQuery As ODataQuery(Of AlertFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Alert))

参数

operations
IAlertsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组名称

managerName
String

经理姓名

odataQuery
ODataQuery<AlertFilter>

要应用于操作的 OData 参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于