IAlertOperations.GetRuleAsync Method (String, String, CancellationToken)
Namespace: Microsoft.Azure.Management.Insights
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Syntax
Task<RuleGetResponse> GetRuleAsync(
string resourceGroupName,
string ruleName,
CancellationToken cancellationToken
)
Task<RuleGetResponse^>^ GetRuleAsync(
String^ resourceGroupName,
String^ ruleName,
CancellationToken cancellationToken
)
abstract GetRuleAsync :
resourceGroupName:string *
ruleName:string *
cancellationToken:CancellationToken -> Task<RuleGetResponse>
Function GetRuleAsync (
resourceGroupName As String,
ruleName As String,
cancellationToken As CancellationToken
) As Task(Of RuleGetResponse)
Parameters
resourceGroupName
Type: System.StringThe name of the resource group.
ruleName
Type: System.StringThe name of the rule to retrieve.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<RuleGetResponse>
The Get Rule operation response.
See Also
IAlertOperations Interface
Microsoft.Azure.Management.Insights Namespace
Return to top