IRuleOperations.GetAsync Method (String, CancellationToken)
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
Task<RuleGetResponse> GetAsync(
string ruleId,
CancellationToken cancellationToken
)
Task<RuleGetResponse^>^ GetAsync(
String^ ruleId,
CancellationToken cancellationToken
)
abstract GetAsync :
ruleId:string *
cancellationToken:CancellationToken -> Task<RuleGetResponse>
Function GetAsync (
ruleId As String,
cancellationToken As CancellationToken
) As Task(Of RuleGetResponse)
Parameters
ruleId
Type: System.StringThe id 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
IRuleOperations Interface
Microsoft.WindowsAzure.Management.Monitoring.Alerts Namespace
Return to top