Sdílet prostřednictvím


AlertsOperationsExtensions.ListByManagerAsync Method

Definition

Retrieves all the alerts in a manager.

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))

Parameters

operations
IAlertsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name

managerName
String

The manager name

odataQuery
ODataQuery<AlertFilter>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to