Compartilhar via


IRuleOperations.GetAsync(String, CancellationToken) Método

Definição

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)

Parâmetros

ruleId
String

A ID da regra a ser recuperada.

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

A resposta da operação Obter Regra.

Aplica-se a