IRuleOperations.GetAsync(String, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleGetResponse> GetAsync (string ruleId, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleGetResponse>
Public Function GetAsync (ruleId As String, cancellationToken As CancellationToken) As Task(Of RuleGetResponse)

Parameters

ruleId
String

The id of the rule to retrieve.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get Rule operation response.

Applies to