IAlertOperations::ListRulesAsync Method (String^, String^, CancellationToken)
List the alert rules within a resource group.
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Task<RuleListResponse^>^ ListRulesAsync( String^ resourceGroupName, String^ targetResourceUri, CancellationToken cancellationToken )
Parameters
- resourceGroupName
-
Type:
System::String^
The name of the resource group.
- targetResourceUri
-
Type:
System::String^
The resource identifier of the target of the alert rule.
- cancellationToken
-
Type:
System.Threading::CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks::Task<RuleListResponse^>^The List Rules operation response.
Show: