Compartir a través de


MetricAlertResource.Get(CancellationToken) Método

Definición

Recupere una definición de regla de alerta.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}
  • IdMetricAlerts_Get de operaciones
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

Token de cancelación que se va a usar.

Devoluciones

Se aplica a