AlertOperationsExtensions.ListRulesAsync Method (IAlertOperations, String, String)

 

List the alert rules within a resource group.

Namespace:   Microsoft.Azure.Management.Insights
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

public static Task<RuleListResponse> ListRulesAsync(
	this IAlertOperations operations,
	string resourceGroupName,
	string targetResourceUri
)

Parameters

operations
Type: Microsoft.Azure.Management.Insights.IAlertOperations

Reference to the Microsoft.Azure.Management.Insights.IAlertOperations.

resourceGroupName
Type: System.String

Required. The name of the resource group.

targetResourceUri
Type: System.String

Required. The resource identifier of the target of the alert rule.

Return Value

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

The List Rules operation response.

Return to top
Show: