AlertRulesOperationsExtensions.GetAsync(IAlertRulesOperations, String, 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 static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.AlertRuleResource> GetAsync (this Microsoft.Azure.Management.Monitor.Version2018_09_01.IAlertRulesOperations operations, string resourceGroupName, string ruleName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Monitor.Version2018_09_01.IAlertRulesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.AlertRuleResource>
<Extension()>
Public Function GetAsync (operations As IAlertRulesOperations, resourceGroupName As String, ruleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AlertRuleResource)
Parameters
- operations
- IAlertRulesOperations
- resourceGroupName
- String
- ruleName
- String
- cancellationToken
- CancellationToken