Partilhar via


AlertRuleResource.Get(CancellationToken) Método

Definição

Obtém uma regra de alerta de métrica clássica

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}
  • IdAlertRules_Get de operação
public virtual Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of AlertRuleResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a