RuleOperationsExtensions.GetAsync(IRuleOperations, String) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations operations, string ruleId);
static member GetAsync : Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleGetResponse>
<Extension()>
Public Function GetAsync (operations As IRuleOperations, ruleId As String) As Task(Of RuleGetResponse)

Parameters

operations
IRuleOperations

Reference to the Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations.

ruleId
String

Required. The id of the rule to retrieve.

Returns

The Get Rule operation response.

Applies to