Share via


RuleOperationsExtensions.ListAsync Method

List the alert rules within a subscription.

Namespace: Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)

Usage

'Usage
Dim operations As IRuleOperations
Dim returnValue As Task(Of RuleListResponse)

returnValue = RuleOperationsExtensions.ListAsync(operations)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As IRuleOperations _
) As Task(Of RuleListResponse)
[ExtensionAttribute] 
public static Task<RuleListResponse> ListAsync (
    IRuleOperations operations
)
[ExtensionAttribute] 
public:
static Task<RuleListResponse^>^ ListAsync (
    IRuleOperations^ operations
)
/** @attribute ExtensionAttribute() */ 
public static Task<RuleListResponse> ListAsync (
    IRuleOperations operations
)
ExtensionAttribute 
public static function ListAsync (
    operations : IRuleOperations
) : Task<RuleListResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations.

Return Value

The List Rules operation response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

RuleOperationsExtensions Class
RuleOperationsExtensions Members
Microsoft.WindowsAzure.Management.Monitoring.Alerts Namespace