Compartilhar via


MetricAlertResource.Get(CancellationToken) Método

Definição

Recupere uma definição de regra de alerta.

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a