IRuleOperations.GetAsync(String, CancellationToken) 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 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.