RuleOperationsExtensions.GetAsync(IRuleOperations, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.